From d05f91113f25ed837f505a647bca2b594b1dc67e Mon Sep 17 00:00:00 2001 From: Tyler Vigario Date: Tue, 22 Oct 2019 01:11:03 -0700 Subject: [PATCH] Bumped version to 1.0.1 Updated documentation --- README.md | 8 +- dist/Mass_SI.js | 10 +- dist/Mass_SI.min.js | 11 +- dist/Mass_UK.js | 10 +- dist/Mass_UK.min.js | 11 +- dist/Mass_US.js | 10 +- dist/Mass_US.min.js | 11 +- docs/ast/source/MassJS.js.json | 10184 ++++++++++++------------- docs/ast/source/Mass_SI.js.json | 1556 ++-- docs/ast/source/Mass_UK.js.json | 2854 +++---- docs/ast/source/Mass_US.js.json | 2540 +++--- docs/class/src/MassJS.js~MassJS.html | 14 +- docs/coverage.json | 2 +- docs/file/src/MassJS.js.html | 5 +- docs/file/src/Mass_SI.js.html | 11 +- docs/file/src/Mass_UK.js.html | 11 +- docs/file/src/Mass_US.js.html | 11 +- docs/index.html | 9 +- docs/index.json | 24 +- docs/source.html | 26 +- package.json | 2 +- src/MassJS.js | 3 +- src/Mass_SI.js | 9 +- src/Mass_UK.js | 9 +- src/Mass_US.js | 9 +- 25 files changed, 8717 insertions(+), 8633 deletions(-) diff --git a/README.md b/README.md index 6cc8c46..012d280 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,12 @@ var Mass = require('mass.js'); System of Units -------------- -Default system for units of mass is *US* but can be changed by requiring an alternative entry point (Mass_US, Mass_UK, Mass_SI). +Default system for units of mass is **U.S. customary** but can be changed by requiring an alternative entry point (*Mass_US*, *Mass_UK*, or *Mass_SI*). ```javascript -var Mass = require('mass.js/dist/Mass_US'); -var Mass = require('mass.js/dist/Mass_UK'); -var Mass = require('mass.js/dist/Mass_SI'); +var Mass = require('mass.js/dist/Mass_US'); // U.S. customary +var Mass = require('mass.js/dist/Mass_UK'); // Imperial +var Mass = require('mass.js/dist/Mass_SI'); // International System of Units (unfinished) ``` Example diff --git a/dist/Mass_SI.js b/dist/Mass_SI.js index 63bc255..d091191 100644 --- a/dist/Mass_SI.js +++ b/dist/Mass_SI.js @@ -113,7 +113,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d * * @author Tyler Vigario (MeekLogic) * @license GPL-3.0-only - * @version 1.0.0 + * @version 1.0.1 */ /** @@ -381,7 +381,13 @@ function () { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _MassJS__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); - // US Mass units +/** + * Entry-point containing International System of Units units of mass. + * + * @author Tyler Vigario (MeekLogic) + * @license GPL-3.0-only + * @version 1.0.0 + */ var Mass = new _MassJS__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]([{ name: 'ton', diff --git a/dist/Mass_SI.min.js b/dist/Mass_SI.min.js index 16bad3e..9b866ac 100644 --- a/dist/Mass_SI.min.js +++ b/dist/Mass_SI.min.js @@ -4,6 +4,13 @@ * * @author Tyler Vigario (MeekLogic) * @license GPL-3.0-only - * @version 1.0.0 + * @version 1.0.1 */ -var o=function(){function t(e){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==y(e))throw new Error('Parameter "units" must be of type "object".');this.Units=e}return function(e,t,r){t&&n(e.prototype,t),r&&n(e,r)}(t,[{key:"parse",value:function(e){if("string"!=typeof e)throw new Error('Parameter "text" must be of type "string".');if(0===(e=(e=e.toLowerCase()).replace(/[^0-9a-z.-]/g,"")).length)return!1;for(var t,r="",n="",o=0,i=0;i=c.value){var p=e/c.value;if(c.display.exclusive||(e-=(p=Math.floor(p))*c.value),0=c.value){var p=e/c.value;if(c.display.exclusive||(e-=(p=Math.floor(p))*c.value),0=c.value){var p=e/c.value;if(c.display.exclusive||(e-=(p=Math.floor(p))*c.value),0=c.value){var p=e/c.value;if(c.display.exclusive||(e-=(p=Math.floor(p))*c.value),0=c.value){var p=e/c.value;if(c.display.exclusive||(e-=(p=Math.floor(p))*c.value),0=c.value){var p=e/c.value;if(c.display.exclusive||(e-=(p=Math.floor(p))*c.value),0", "right": { "type": "NumericLiteral", - "start": 2176, - "end": 2177, + "start": 2172, + "end": 2173, "loc": { "start": { - "line": 74, + "line": 73, "column": 39 }, "end": { - "line": 74, + "line": 73, "column": 40 } }, @@ -2470,59 +2470,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2179, - "end": 3023, + "start": 2175, + "end": 3019, "loc": { "start": { - "line": 74, + "line": 73, "column": 42 }, "end": { - "line": 98, + "line": 97, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 2254, - "end": 2280, + "start": 2250, + "end": 2276, "loc": { "start": { - "line": 76, + "line": 75, "column": 20 }, "end": { - "line": 76, + "line": 75, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2258, - "end": 2279, + "start": 2254, + "end": 2275, "loc": { "start": { - "line": 76, + "line": 75, "column": 24 }, "end": { - "line": 76, + "line": 75, "column": 45 } }, "id": { "type": "Identifier", - "start": 2258, - "end": 2259, + "start": 2254, + "end": 2255, "loc": { "start": { - "line": 76, + "line": 75, "column": 24 }, "end": { - "line": 76, + "line": 75, "column": 25 }, "identifierName": "v" @@ -2532,29 +2532,29 @@ }, "init": { "type": "CallExpression", - "start": 2262, - "end": 2279, + "start": 2258, + "end": 2275, "loc": { "start": { - "line": 76, + "line": 75, "column": 28 }, "end": { - "line": 76, + "line": 75, "column": 45 } }, "callee": { "type": "Identifier", - "start": 2262, - "end": 2272, + "start": 2258, + "end": 2268, "loc": { "start": { - "line": 76, + "line": 75, "column": 28 }, "end": { - "line": 76, + "line": 75, "column": 38 }, "identifierName": "parseFloat" @@ -2564,15 +2564,15 @@ "arguments": [ { "type": "Identifier", - "start": 2273, - "end": 2278, + "start": 2269, + "end": 2274, "loc": { "start": { - "line": 76, + "line": 75, "column": 39 }, "end": { - "line": 76, + "line": 75, "column": 44 }, "identifierName": "value" @@ -2589,15 +2589,15 @@ { "type": "CommentLine", "value": " Convert to string to number", - "start": 2202, - "end": 2232, + "start": 2198, + "end": 2228, "loc": { "start": { - "line": 75, + "line": 74, "column": 20 }, "end": { - "line": 75, + "line": 74, "column": 50 } } @@ -2607,15 +2607,15 @@ { "type": "CommentLine", "value": " Mass cannot be negative", - "start": 2304, - "end": 2330, + "start": 2300, + "end": 2326, "loc": { "start": { - "line": 78, + "line": 77, "column": 20 }, "end": { - "line": 78, + "line": 77, "column": 46 } } @@ -2624,43 +2624,43 @@ }, { "type": "IfStatement", - "start": 2352, - "end": 2426, + "start": 2348, + "end": 2422, "loc": { "start": { - "line": 79, + "line": 78, "column": 20 }, "end": { - "line": 81, + "line": 80, "column": 21 } }, "test": { "type": "BinaryExpression", - "start": 2356, - "end": 2361, + "start": 2352, + "end": 2357, "loc": { "start": { - "line": 79, + "line": 78, "column": 24 }, "end": { - "line": 79, + "line": 78, "column": 29 } }, "left": { "type": "Identifier", - "start": 2356, - "end": 2357, + "start": 2352, + "end": 2353, "loc": { "start": { - "line": 79, + "line": 78, "column": 24 }, "end": { - "line": 79, + "line": 78, "column": 25 }, "identifierName": "v" @@ -2671,15 +2671,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 2360, - "end": 2361, + "start": 2356, + "end": 2357, "loc": { "start": { - "line": 79, + "line": 78, "column": 28 }, "end": { - "line": 79, + "line": 78, "column": 29 } }, @@ -2693,44 +2693,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 2363, - "end": 2426, + "start": 2359, + "end": 2422, "loc": { "start": { - "line": 79, + "line": 78, "column": 31 }, "end": { - "line": 81, + "line": 80, "column": 21 } }, "body": [ { "type": "ReturnStatement", - "start": 2390, - "end": 2403, + "start": 2386, + "end": 2399, "loc": { "start": { - "line": 80, + "line": 79, "column": 24 }, "end": { - "line": 80, + "line": 79, "column": 37 } }, "argument": { "type": "BooleanLiteral", - "start": 2397, - "end": 2402, + "start": 2393, + "end": 2398, "loc": { "start": { - "line": 80, + "line": 79, "column": 31 }, "end": { - "line": 80, + "line": 79, "column": 36 } }, @@ -2746,15 +2746,15 @@ { "type": "CommentLine", "value": " Mass cannot be negative", - "start": 2304, - "end": 2330, + "start": 2300, + "end": 2326, "loc": { "start": { - "line": 78, + "line": 77, "column": 20 }, "end": { - "line": 78, + "line": 77, "column": 46 } } @@ -2764,15 +2764,15 @@ { "type": "CommentLine", "value": " Lookup unit signifier", - "start": 2450, - "end": 2474, + "start": 2446, + "end": 2470, "loc": { "start": { - "line": 83, + "line": 82, "column": 20 }, "end": { - "line": 83, + "line": 82, "column": 44 } } @@ -2781,44 +2781,44 @@ }, { "type": "ExpressionStatement", - "start": 2496, - "end": 2526, + "start": 2492, + "end": 2522, "loc": { "start": { - "line": 84, + "line": 83, "column": 20 }, "end": { - "line": 84, + "line": 83, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 2496, - "end": 2525, + "start": 2492, + "end": 2521, "loc": { "start": { - "line": 84, + "line": 83, "column": 20 }, "end": { - "line": 84, + "line": 83, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2496, - "end": 2500, + "start": 2492, + "end": 2496, "loc": { "start": { - "line": 84, + "line": 83, "column": 20 }, "end": { - "line": 84, + "line": 83, "column": 24 }, "identifierName": "unit" @@ -2828,58 +2828,58 @@ }, "right": { "type": "CallExpression", - "start": 2503, - "end": 2525, + "start": 2499, + "end": 2521, "loc": { "start": { - "line": 84, + "line": 83, "column": 27 }, "end": { - "line": 84, + "line": 83, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 2503, - "end": 2514, + "start": 2499, + "end": 2510, "loc": { "start": { - "line": 84, + "line": 83, "column": 27 }, "end": { - "line": 84, + "line": 83, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 2503, - "end": 2507, + "start": 2499, + "end": 2503, "loc": { "start": { - "line": 84, + "line": 83, "column": 27 }, "end": { - "line": 84, + "line": 83, "column": 31 } } }, "property": { "type": "Identifier", - "start": 2508, - "end": 2514, + "start": 2504, + "end": 2510, "loc": { "start": { - "line": 84, + "line": 83, "column": 32 }, "end": { - "line": 84, + "line": 83, "column": 38 }, "identifierName": "lookup" @@ -2891,15 +2891,15 @@ "arguments": [ { "type": "Identifier", - "start": 2515, - "end": 2524, + "start": 2511, + "end": 2520, "loc": { "start": { - "line": 84, + "line": 83, "column": 39 }, "end": { - "line": 84, + "line": 83, "column": 48 }, "identifierName": "signifier" @@ -2914,15 +2914,15 @@ { "type": "CommentLine", "value": " Lookup unit signifier", - "start": 2450, - "end": 2474, + "start": 2446, + "end": 2470, "loc": { "start": { - "line": 83, + "line": 82, "column": 20 }, "end": { - "line": 83, + "line": 82, "column": 44 } } @@ -2932,15 +2932,15 @@ { "type": "CommentLine", "value": " Does signifier not match?", - "start": 2550, - "end": 2578, + "start": 2546, + "end": 2574, "loc": { "start": { - "line": 86, + "line": 85, "column": 20 }, "end": { - "line": 86, + "line": 85, "column": 48 } } @@ -2949,43 +2949,43 @@ }, { "type": "IfStatement", - "start": 2600, - "end": 2768, + "start": 2596, + "end": 2764, "loc": { "start": { - "line": 87, + "line": 86, "column": 20 }, "end": { - "line": 90, + "line": 89, "column": 21 } }, "test": { "type": "BinaryExpression", - "start": 2604, - "end": 2622, + "start": 2600, + "end": 2618, "loc": { "start": { - "line": 87, + "line": 86, "column": 24 }, "end": { - "line": 87, + "line": 86, "column": 42 } }, "left": { "type": "Identifier", - "start": 2604, - "end": 2608, + "start": 2600, + "end": 2604, "loc": { "start": { - "line": 87, + "line": 86, "column": 24 }, "end": { - "line": 87, + "line": 86, "column": 28 }, "identifierName": "unit" @@ -2996,15 +2996,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2613, - "end": 2622, + "start": 2609, + "end": 2618, "loc": { "start": { - "line": 87, + "line": 86, "column": 33 }, "end": { - "line": 87, + "line": 86, "column": 42 }, "identifierName": "undefined" @@ -3015,44 +3015,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 2624, - "end": 2768, + "start": 2620, + "end": 2764, "loc": { "start": { - "line": 87, + "line": 86, "column": 44 }, "end": { - "line": 90, + "line": 89, "column": 21 } }, "body": [ { "type": "ReturnStatement", - "start": 2732, - "end": 2745, + "start": 2728, + "end": 2741, "loc": { "start": { - "line": 89, + "line": 88, "column": 24 }, "end": { - "line": 89, + "line": 88, "column": 37 } }, "argument": { "type": "BooleanLiteral", - "start": 2739, - "end": 2744, + "start": 2735, + "end": 2740, "loc": { "start": { - "line": 89, + "line": 88, "column": 31 }, "end": { - "line": 89, + "line": 88, "column": 36 } }, @@ -3063,15 +3063,15 @@ { "type": "CommentLine", "value": " If we cannot reliably match this signifier to a unit", - "start": 2651, - "end": 2706, + "start": 2647, + "end": 2702, "loc": { "start": { - "line": 88, + "line": 87, "column": 24 }, "end": { - "line": 88, + "line": 87, "column": 79 } } @@ -3087,15 +3087,15 @@ { "type": "CommentLine", "value": " Does signifier not match?", - "start": 2550, - "end": 2578, + "start": 2546, + "end": 2574, "loc": { "start": { - "line": 86, + "line": 85, "column": 20 }, "end": { - "line": 86, + "line": 85, "column": 48 } } @@ -3105,15 +3105,15 @@ { "type": "CommentLine", "value": " Convert to base unit value and add to total", - "start": 2792, - "end": 2838, + "start": 2788, + "end": 2834, "loc": { "start": { - "line": 92, + "line": 91, "column": 20 }, "end": { - "line": 92, + "line": 91, "column": 66 } } @@ -3122,44 +3122,44 @@ }, { "type": "ExpressionStatement", - "start": 2860, - "end": 2884, + "start": 2856, + "end": 2880, "loc": { "start": { - "line": 93, + "line": 92, "column": 20 }, "end": { - "line": 93, + "line": 92, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 2860, - "end": 2883, + "start": 2856, + "end": 2879, "loc": { "start": { - "line": 93, + "line": 92, "column": 20 }, "end": { - "line": 93, + "line": 92, "column": 43 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 2860, - "end": 2865, + "start": 2856, + "end": 2861, "loc": { "start": { - "line": 93, + "line": 92, "column": 20 }, "end": { - "line": 93, + "line": 92, "column": 25 }, "identifierName": "total" @@ -3169,29 +3169,29 @@ }, "right": { "type": "BinaryExpression", - "start": 2869, - "end": 2883, + "start": 2865, + "end": 2879, "loc": { "start": { - "line": 93, + "line": 92, "column": 29 }, "end": { - "line": 93, + "line": 92, "column": 43 } }, "left": { "type": "Identifier", - "start": 2869, - "end": 2870, + "start": 2865, + "end": 2866, "loc": { "start": { - "line": 93, + "line": 92, "column": 29 }, "end": { - "line": 93, + "line": 92, "column": 30 }, "identifierName": "v" @@ -3201,29 +3201,29 @@ "operator": "*", "right": { "type": "MemberExpression", - "start": 2873, - "end": 2883, + "start": 2869, + "end": 2879, "loc": { "start": { - "line": 93, + "line": 92, "column": 33 }, "end": { - "line": 93, + "line": 92, "column": 43 } }, "object": { "type": "Identifier", - "start": 2873, - "end": 2877, + "start": 2869, + "end": 2873, "loc": { "start": { - "line": 93, + "line": 92, "column": 33 }, "end": { - "line": 93, + "line": 92, "column": 37 }, "identifierName": "unit" @@ -3232,15 +3232,15 @@ }, "property": { "type": "Identifier", - "start": 2878, - "end": 2883, + "start": 2874, + "end": 2879, "loc": { "start": { - "line": 93, + "line": 92, "column": 38 }, "end": { - "line": 93, + "line": 92, "column": 43 }, "identifierName": "value" @@ -3256,15 +3256,15 @@ { "type": "CommentLine", "value": " Convert to base unit value and add to total", - "start": 2792, - "end": 2838, + "start": 2788, + "end": 2834, "loc": { "start": { - "line": 92, + "line": 91, "column": 20 }, "end": { - "line": 92, + "line": 91, "column": 66 } } @@ -3274,15 +3274,15 @@ { "type": "CommentLine", "value": " Reset storage variables", - "start": 2908, - "end": 2934, + "start": 2904, + "end": 2930, "loc": { "start": { - "line": 95, + "line": 94, "column": 20 }, "end": { - "line": 95, + "line": 94, "column": 46 } } @@ -3291,44 +3291,44 @@ }, { "type": "ExpressionStatement", - "start": 2956, - "end": 2967, + "start": 2952, + "end": 2963, "loc": { "start": { - "line": 96, + "line": 95, "column": 20 }, "end": { - "line": 96, + "line": 95, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 2956, - "end": 2966, + "start": 2952, + "end": 2962, "loc": { "start": { - "line": 96, + "line": 95, "column": 20 }, "end": { - "line": 96, + "line": 95, "column": 30 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2956, - "end": 2961, + "start": 2952, + "end": 2957, "loc": { "start": { - "line": 96, + "line": 95, "column": 20 }, "end": { - "line": 96, + "line": 95, "column": 25 }, "identifierName": "value" @@ -3338,15 +3338,15 @@ }, "right": { "type": "StringLiteral", - "start": 2964, - "end": 2966, + "start": 2960, + "end": 2962, "loc": { "start": { - "line": 96, + "line": 95, "column": 28 }, "end": { - "line": 96, + "line": 95, "column": 30 } }, @@ -3362,15 +3362,15 @@ { "type": "CommentLine", "value": " Reset storage variables", - "start": 2908, - "end": 2934, + "start": 2904, + "end": 2930, "loc": { "start": { - "line": 95, + "line": 94, "column": 20 }, "end": { - "line": 95, + "line": 94, "column": 46 } } @@ -3379,44 +3379,44 @@ }, { "type": "ExpressionStatement", - "start": 2989, - "end": 3004, + "start": 2985, + "end": 3000, "loc": { "start": { - "line": 97, + "line": 96, "column": 20 }, "end": { - "line": 97, + "line": 96, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 2989, - "end": 3003, + "start": 2985, + "end": 2999, "loc": { "start": { - "line": 97, + "line": 96, "column": 20 }, "end": { - "line": 97, + "line": 96, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2989, - "end": 2998, + "start": 2985, + "end": 2994, "loc": { "start": { - "line": 97, + "line": 96, "column": 20 }, "end": { - "line": 97, + "line": 96, "column": 29 }, "identifierName": "signifier" @@ -3425,15 +3425,15 @@ }, "right": { "type": "StringLiteral", - "start": 3001, - "end": 3003, + "start": 2997, + "end": 2999, "loc": { "start": { - "line": 97, + "line": 96, "column": 32 }, "end": { - "line": 97, + "line": 96, "column": 34 } }, @@ -3453,15 +3453,15 @@ { "type": "CommentLine", "value": " Check if this is next unit pair (i.e. value,signifier|value,signifier|...)", - "start": 2058, - "end": 2135, + "start": 2054, + "end": 2131, "loc": { "start": { - "line": 73, + "line": 72, "column": 16 }, "end": { - "line": 73, + "line": 72, "column": 93 } } @@ -3470,44 +3470,44 @@ }, { "type": "ExpressionStatement", - "start": 3043, - "end": 3057, + "start": 3039, + "end": 3053, "loc": { "start": { - "line": 100, + "line": 99, "column": 16 }, "end": { - "line": 100, + "line": 99, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 3043, - "end": 3056, + "start": 3039, + "end": 3052, "loc": { "start": { - "line": 100, + "line": 99, "column": 16 }, "end": { - "line": 100, + "line": 99, "column": 29 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 3043, - "end": 3048, + "start": 3039, + "end": 3044, "loc": { "start": { - "line": 100, + "line": 99, "column": 16 }, "end": { - "line": 100, + "line": 99, "column": 21 }, "identifierName": "value" @@ -3516,15 +3516,15 @@ }, "right": { "type": "Identifier", - "start": 3052, - "end": 3056, + "start": 3048, + "end": 3052, "loc": { "start": { - "line": 100, + "line": 99, "column": 25 }, "end": { - "line": 100, + "line": 99, "column": 29 }, "identifierName": "char" @@ -3540,15 +3540,15 @@ { "type": "CommentLine", "value": " Check for alphabet letter (a-z,0-9|a-z,0-9|...) [comma = separator between value and signifier, | = separator between pairs]", - "start": 1639, - "end": 1766, + "start": 1635, + "end": 1762, "loc": { "start": { - "line": 64, + "line": 63, "column": 12 }, "end": { - "line": 64, + "line": 63, "column": 139 } } @@ -3563,15 +3563,15 @@ { "type": "CommentLine", "value": " Loop through each character of string", - "start": 1459, - "end": 1499, + "start": 1455, + "end": 1495, "loc": { "start": { - "line": 59, + "line": 58, "column": 8 }, "end": { - "line": 59, + "line": 58, "column": 48 } } @@ -3581,15 +3581,15 @@ { "type": "CommentLine", "value": " Convert to string to number", - "start": 3095, - "end": 3125, + "start": 3091, + "end": 3121, "loc": { "start": { - "line": 104, + "line": 103, "column": 8 }, "end": { - "line": 104, + "line": 103, "column": 38 } } @@ -3598,44 +3598,44 @@ }, { "type": "VariableDeclaration", - "start": 3135, - "end": 3161, + "start": 3131, + "end": 3157, "loc": { "start": { - "line": 105, + "line": 104, "column": 8 }, "end": { - "line": 105, + "line": 104, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3139, - "end": 3160, + "start": 3135, + "end": 3156, "loc": { "start": { - "line": 105, + "line": 104, "column": 12 }, "end": { - "line": 105, + "line": 104, "column": 33 } }, "id": { "type": "Identifier", - "start": 3139, - "end": 3140, + "start": 3135, + "end": 3136, "loc": { "start": { - "line": 105, + "line": 104, "column": 12 }, "end": { - "line": 105, + "line": 104, "column": 13 }, "identifierName": "v" @@ -3645,29 +3645,29 @@ }, "init": { "type": "CallExpression", - "start": 3143, - "end": 3160, + "start": 3139, + "end": 3156, "loc": { "start": { - "line": 105, + "line": 104, "column": 16 }, "end": { - "line": 105, + "line": 104, "column": 33 } }, "callee": { "type": "Identifier", - "start": 3143, - "end": 3153, + "start": 3139, + "end": 3149, "loc": { "start": { - "line": 105, + "line": 104, "column": 16 }, "end": { - "line": 105, + "line": 104, "column": 26 }, "identifierName": "parseFloat" @@ -3677,15 +3677,15 @@ "arguments": [ { "type": "Identifier", - "start": 3154, - "end": 3159, + "start": 3150, + "end": 3155, "loc": { "start": { - "line": 105, + "line": 104, "column": 27 }, "end": { - "line": 105, + "line": 104, "column": 32 }, "identifierName": "value" @@ -3702,15 +3702,15 @@ { "type": "CommentLine", "value": " Convert to string to number", - "start": 3095, - "end": 3125, + "start": 3091, + "end": 3121, "loc": { "start": { - "line": 104, + "line": 103, "column": 8 }, "end": { - "line": 104, + "line": 103, "column": 38 } } @@ -3720,15 +3720,15 @@ { "type": "CommentLine", "value": " Mass cannot be negative", - "start": 3173, - "end": 3199, + "start": 3169, + "end": 3195, "loc": { "start": { - "line": 107, + "line": 106, "column": 8 }, "end": { - "line": 107, + "line": 106, "column": 34 } } @@ -3737,43 +3737,43 @@ }, { "type": "IfStatement", - "start": 3209, - "end": 3259, + "start": 3205, + "end": 3255, "loc": { "start": { - "line": 108, + "line": 107, "column": 8 }, "end": { - "line": 110, + "line": 109, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 3213, - "end": 3218, + "start": 3209, + "end": 3214, "loc": { "start": { - "line": 108, + "line": 107, "column": 12 }, "end": { - "line": 108, + "line": 107, "column": 17 } }, "left": { "type": "Identifier", - "start": 3213, - "end": 3214, + "start": 3209, + "end": 3210, "loc": { "start": { - "line": 108, + "line": 107, "column": 12 }, "end": { - "line": 108, + "line": 107, "column": 13 }, "identifierName": "v" @@ -3784,15 +3784,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 3217, - "end": 3218, + "start": 3213, + "end": 3214, "loc": { "start": { - "line": 108, + "line": 107, "column": 16 }, "end": { - "line": 108, + "line": 107, "column": 17 } }, @@ -3806,44 +3806,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 3220, - "end": 3259, + "start": 3216, + "end": 3255, "loc": { "start": { - "line": 108, + "line": 107, "column": 19 }, "end": { - "line": 110, + "line": 109, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 3235, - "end": 3248, + "start": 3231, + "end": 3244, "loc": { "start": { - "line": 109, + "line": 108, "column": 12 }, "end": { - "line": 109, + "line": 108, "column": 25 } }, "argument": { "type": "BooleanLiteral", - "start": 3242, - "end": 3247, + "start": 3238, + "end": 3243, "loc": { "start": { - "line": 109, + "line": 108, "column": 19 }, "end": { - "line": 109, + "line": 108, "column": 24 } }, @@ -3859,15 +3859,15 @@ { "type": "CommentLine", "value": " Mass cannot be negative", - "start": 3173, - "end": 3199, + "start": 3169, + "end": 3195, "loc": { "start": { - "line": 107, + "line": 106, "column": 8 }, "end": { - "line": 107, + "line": 106, "column": 34 } } @@ -3877,15 +3877,15 @@ { "type": "CommentLine", "value": " Lookup unit signifier", - "start": 3271, - "end": 3295, + "start": 3267, + "end": 3291, "loc": { "start": { - "line": 112, + "line": 111, "column": 8 }, "end": { - "line": 112, + "line": 111, "column": 32 } } @@ -3894,44 +3894,44 @@ }, { "type": "ExpressionStatement", - "start": 3305, - "end": 3335, + "start": 3301, + "end": 3331, "loc": { "start": { - "line": 113, + "line": 112, "column": 8 }, "end": { - "line": 113, + "line": 112, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 3305, - "end": 3334, + "start": 3301, + "end": 3330, "loc": { "start": { - "line": 113, + "line": 112, "column": 8 }, "end": { - "line": 113, + "line": 112, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", - "start": 3305, - "end": 3309, + "start": 3301, + "end": 3305, "loc": { "start": { - "line": 113, + "line": 112, "column": 8 }, "end": { - "line": 113, + "line": 112, "column": 12 }, "identifierName": "unit" @@ -3941,58 +3941,58 @@ }, "right": { "type": "CallExpression", - "start": 3312, - "end": 3334, + "start": 3308, + "end": 3330, "loc": { "start": { - "line": 113, + "line": 112, "column": 15 }, "end": { - "line": 113, + "line": 112, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 3312, - "end": 3323, + "start": 3308, + "end": 3319, "loc": { "start": { - "line": 113, + "line": 112, "column": 15 }, "end": { - "line": 113, + "line": 112, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 3312, - "end": 3316, + "start": 3308, + "end": 3312, "loc": { "start": { - "line": 113, + "line": 112, "column": 15 }, "end": { - "line": 113, + "line": 112, "column": 19 } } }, "property": { "type": "Identifier", - "start": 3317, - "end": 3323, + "start": 3313, + "end": 3319, "loc": { "start": { - "line": 113, + "line": 112, "column": 20 }, "end": { - "line": 113, + "line": 112, "column": 26 }, "identifierName": "lookup" @@ -4004,15 +4004,15 @@ "arguments": [ { "type": "Identifier", - "start": 3324, - "end": 3333, + "start": 3320, + "end": 3329, "loc": { "start": { - "line": 113, + "line": 112, "column": 27 }, "end": { - "line": 113, + "line": 112, "column": 36 }, "identifierName": "signifier" @@ -4027,15 +4027,15 @@ { "type": "CommentLine", "value": " Lookup unit signifier", - "start": 3271, - "end": 3295, + "start": 3267, + "end": 3291, "loc": { "start": { - "line": 112, + "line": 111, "column": 8 }, "end": { - "line": 112, + "line": 111, "column": 32 } } @@ -4045,15 +4045,15 @@ { "type": "CommentLine", "value": " Does signifier not match?", - "start": 3347, - "end": 3375, + "start": 3343, + "end": 3371, "loc": { "start": { - "line": 115, + "line": 114, "column": 8 }, "end": { - "line": 115, + "line": 114, "column": 36 } } @@ -4062,43 +4062,43 @@ }, { "type": "IfStatement", - "start": 3385, - "end": 3517, + "start": 3381, + "end": 3513, "loc": { "start": { - "line": 116, + "line": 115, "column": 8 }, "end": { - "line": 119, + "line": 118, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 3389, - "end": 3407, + "start": 3385, + "end": 3403, "loc": { "start": { - "line": 116, + "line": 115, "column": 12 }, "end": { - "line": 116, + "line": 115, "column": 30 } }, "left": { "type": "Identifier", - "start": 3389, - "end": 3393, + "start": 3385, + "end": 3389, "loc": { "start": { - "line": 116, + "line": 115, "column": 12 }, "end": { - "line": 116, + "line": 115, "column": 16 }, "identifierName": "unit" @@ -4109,15 +4109,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3398, - "end": 3407, + "start": 3394, + "end": 3403, "loc": { "start": { - "line": 116, + "line": 115, "column": 21 }, "end": { - "line": 116, + "line": 115, "column": 30 }, "identifierName": "undefined" @@ -4128,44 +4128,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 3409, - "end": 3517, + "start": 3405, + "end": 3513, "loc": { "start": { - "line": 116, + "line": 115, "column": 32 }, "end": { - "line": 119, + "line": 118, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 3493, - "end": 3506, + "start": 3489, + "end": 3502, "loc": { "start": { - "line": 118, + "line": 117, "column": 12 }, "end": { - "line": 118, + "line": 117, "column": 25 } }, "argument": { "type": "BooleanLiteral", - "start": 3500, - "end": 3505, + "start": 3496, + "end": 3501, "loc": { "start": { - "line": 118, + "line": 117, "column": 19 }, "end": { - "line": 118, + "line": 117, "column": 24 } }, @@ -4176,15 +4176,15 @@ { "type": "CommentLine", "value": " If we cannot reliably match this signifier to a unit", - "start": 3424, - "end": 3479, + "start": 3420, + "end": 3475, "loc": { "start": { - "line": 117, + "line": 116, "column": 12 }, "end": { - "line": 117, + "line": 116, "column": 67 } } @@ -4200,15 +4200,15 @@ { "type": "CommentLine", "value": " Does signifier not match?", - "start": 3347, - "end": 3375, + "start": 3343, + "end": 3371, "loc": { "start": { - "line": 115, + "line": 114, "column": 8 }, "end": { - "line": 115, + "line": 114, "column": 36 } } @@ -4218,15 +4218,15 @@ { "type": "CommentLine", "value": " Convert to base unit value and add to total", - "start": 3529, - "end": 3575, + "start": 3525, + "end": 3571, "loc": { "start": { - "line": 121, + "line": 120, "column": 8 }, "end": { - "line": 121, + "line": 120, "column": 54 } } @@ -4235,44 +4235,44 @@ }, { "type": "ExpressionStatement", - "start": 3585, - "end": 3613, + "start": 3581, + "end": 3609, "loc": { "start": { - "line": 122, + "line": 121, "column": 8 }, "end": { - "line": 122, + "line": 121, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 3585, - "end": 3612, + "start": 3581, + "end": 3608, "loc": { "start": { - "line": 122, + "line": 121, "column": 8 }, "end": { - "line": 122, + "line": 121, "column": 35 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 3585, - "end": 3590, + "start": 3581, + "end": 3586, "loc": { "start": { - "line": 122, + "line": 121, "column": 8 }, "end": { - "line": 122, + "line": 121, "column": 13 }, "identifierName": "total" @@ -4282,29 +4282,29 @@ }, "right": { "type": "BinaryExpression", - "start": 3594, - "end": 3612, + "start": 3590, + "end": 3608, "loc": { "start": { - "line": 122, + "line": 121, "column": 17 }, "end": { - "line": 122, + "line": 121, "column": 35 } }, "left": { "type": "Identifier", - "start": 3594, - "end": 3599, + "start": 3590, + "end": 3595, "loc": { "start": { - "line": 122, + "line": 121, "column": 17 }, "end": { - "line": 122, + "line": 121, "column": 22 }, "identifierName": "value" @@ -4314,29 +4314,29 @@ "operator": "*", "right": { "type": "MemberExpression", - "start": 3602, - "end": 3612, + "start": 3598, + "end": 3608, "loc": { "start": { - "line": 122, + "line": 121, "column": 25 }, "end": { - "line": 122, + "line": 121, "column": 35 } }, "object": { "type": "Identifier", - "start": 3602, - "end": 3606, + "start": 3598, + "end": 3602, "loc": { "start": { - "line": 122, + "line": 121, "column": 25 }, "end": { - "line": 122, + "line": 121, "column": 29 }, "identifierName": "unit" @@ -4345,15 +4345,15 @@ }, "property": { "type": "Identifier", - "start": 3607, - "end": 3612, + "start": 3603, + "end": 3608, "loc": { "start": { - "line": 122, + "line": 121, "column": 30 }, "end": { - "line": 122, + "line": 121, "column": 35 }, "identifierName": "value" @@ -4369,15 +4369,15 @@ { "type": "CommentLine", "value": " Convert to base unit value and add to total", - "start": 3529, - "end": 3575, + "start": 3525, + "end": 3571, "loc": { "start": { - "line": 121, + "line": 120, "column": 8 }, "end": { - "line": 121, + "line": 120, "column": 54 } } @@ -4387,15 +4387,15 @@ { "type": "CommentLine", "value": " Return total mass (as base unit)", - "start": 3625, - "end": 3660, + "start": 3621, + "end": 3656, "loc": { "start": { - "line": 124, + "line": 123, "column": 8 }, "end": { - "line": 124, + "line": 123, "column": 43 } } @@ -4404,29 +4404,29 @@ }, { "type": "ReturnStatement", - "start": 3670, - "end": 3683, + "start": 3666, + "end": 3679, "loc": { "start": { - "line": 125, + "line": 124, "column": 8 }, "end": { - "line": 125, + "line": 124, "column": 21 } }, "argument": { "type": "Identifier", - "start": 3677, - "end": 3682, + "start": 3673, + "end": 3678, "loc": { "start": { - "line": 125, + "line": 124, "column": 15 }, "end": { - "line": 125, + "line": 124, "column": 20 }, "identifierName": "total" @@ -4438,15 +4438,15 @@ { "type": "CommentLine", "value": " Return total mass (as base unit)", - "start": 3625, - "end": 3660, + "start": 3621, + "end": 3656, "loc": { "start": { - "line": 124, + "line": 123, "column": 8 }, "end": { - "line": 124, + "line": 123, "column": 43 } } @@ -4461,15 +4461,15 @@ { "type": "CommentBlock", "value": "*\r\n * Parse variable for Mass.\r\n * \r\n * @param {string} text - String to parse for mass.\r\n * @returns {(number|false)} Returns mass as it's base unit, if an invalid string for mass or any value is negative, false.\r\n ", - "start": 584, - "end": 824, + "start": 580, + "end": 820, "loc": { "start": { - "line": 29, + "line": 28, "column": 4 }, "end": { - "line": 34, + "line": 33, "column": 7 } } @@ -4479,15 +4479,15 @@ { "type": "CommentBlock", "value": "*\r\n * Format mass as text.\r\n * \r\n * @param {number} value - Value to format (must be a positive number).\r\n * @param {(number|string)} [unitValue = 1] - Value of unit or string mass unit signifier for lookup.\r\n * @param {(boolean|number)} [spaces = true] - Truthy values will add space between value and signifier.\r\n * @returns {(string|false)} Formatted mass string or, if value is negative or unit signifier lookup fails, false.\r\n ", - "start": 3698, - "end": 4162, + "start": 3694, + "end": 4158, "loc": { "start": { - "line": 128, + "line": 127, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 7 } } @@ -4496,15 +4496,15 @@ }, { "type": "ClassMethod", - "start": 4168, - "end": 7188, + "start": 4164, + "end": 7184, "loc": { "start": { - "line": 136, + "line": 135, "column": 4 }, "end": { - "line": 221, + "line": 220, "column": 5 } }, @@ -4512,15 +4512,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4168, - "end": 4174, + "start": 4164, + "end": 4170, "loc": { "start": { - "line": 136, + "line": 135, "column": 4 }, "end": { - "line": 136, + "line": 135, "column": 10 }, "identifierName": "format" @@ -4536,15 +4536,15 @@ "params": [ { "type": "Identifier", - "start": 4175, - "end": 4180, + "start": 4171, + "end": 4176, "loc": { "start": { - "line": 136, + "line": 135, "column": 11 }, "end": { - "line": 136, + "line": 135, "column": 16 }, "identifierName": "value" @@ -4553,29 +4553,29 @@ }, { "type": "AssignmentPattern", - "start": 4182, - "end": 4195, + "start": 4178, + "end": 4191, "loc": { "start": { - "line": 136, + "line": 135, "column": 18 }, "end": { - "line": 136, + "line": 135, "column": 31 } }, "left": { "type": "Identifier", - "start": 4182, - "end": 4191, + "start": 4178, + "end": 4187, "loc": { "start": { - "line": 136, + "line": 135, "column": 18 }, "end": { - "line": 136, + "line": 135, "column": 27 }, "identifierName": "unitValue" @@ -4584,15 +4584,15 @@ }, "right": { "type": "NumericLiteral", - "start": 4194, - "end": 4195, + "start": 4190, + "end": 4191, "loc": { "start": { - "line": 136, + "line": 135, "column": 30 }, "end": { - "line": 136, + "line": 135, "column": 31 } }, @@ -4605,29 +4605,29 @@ }, { "type": "AssignmentPattern", - "start": 4197, - "end": 4210, + "start": 4193, + "end": 4206, "loc": { "start": { - "line": 136, + "line": 135, "column": 33 }, "end": { - "line": 136, + "line": 135, "column": 46 } }, "left": { "type": "Identifier", - "start": 4197, - "end": 4203, + "start": 4193, + "end": 4199, "loc": { "start": { - "line": 136, + "line": 135, "column": 33 }, "end": { - "line": 136, + "line": 135, "column": 39 }, "identifierName": "spaces" @@ -4636,15 +4636,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 4206, - "end": 4210, + "start": 4202, + "end": 4206, "loc": { "start": { - "line": 136, + "line": 135, "column": 42 }, "end": { - "line": 136, + "line": 135, "column": 46 } }, @@ -4654,58 +4654,58 @@ ], "body": { "type": "BlockStatement", - "start": 4217, - "end": 7188, + "start": 4213, + "end": 7184, "loc": { "start": { - "line": 137, + "line": 136, "column": 4 }, "end": { - "line": 221, + "line": 220, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 4265, - "end": 4385, + "start": 4261, + "end": 4381, "loc": { "start": { - "line": 139, + "line": 138, "column": 8 }, "end": { - "line": 141, + "line": 140, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 4269, - "end": 4294, + "start": 4265, + "end": 4290, "loc": { "start": { - "line": 139, + "line": 138, "column": 12 }, "end": { - "line": 139, + "line": 138, "column": 37 } }, "left": { "type": "UnaryExpression", - "start": 4269, - "end": 4281, + "start": 4265, + "end": 4277, "loc": { "start": { - "line": 139, + "line": 138, "column": 12 }, "end": { - "line": 139, + "line": 138, "column": 24 } }, @@ -4713,15 +4713,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 4276, - "end": 4281, + "start": 4272, + "end": 4277, "loc": { "start": { - "line": 139, + "line": 138, "column": 19 }, "end": { - "line": 139, + "line": 138, "column": 24 }, "identifierName": "value" @@ -4737,15 +4737,15 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 4286, - "end": 4294, + "start": 4282, + "end": 4290, "loc": { "start": { - "line": 139, + "line": 138, "column": 29 }, "end": { - "line": 139, + "line": 138, "column": 37 } }, @@ -4759,58 +4759,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 4296, - "end": 4385, + "start": 4292, + "end": 4381, "loc": { "start": { - "line": 139, + "line": 138, "column": 39 }, "end": { - "line": 141, + "line": 140, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 4311, - "end": 4374, + "start": 4307, + "end": 4370, "loc": { "start": { - "line": 140, + "line": 139, "column": 12 }, "end": { - "line": 140, + "line": 139, "column": 75 } }, "argument": { "type": "NewExpression", - "start": 4317, - "end": 4373, + "start": 4313, + "end": 4369, "loc": { "start": { - "line": 140, + "line": 139, "column": 18 }, "end": { - "line": 140, + "line": 139, "column": 74 } }, "callee": { "type": "Identifier", - "start": 4321, - "end": 4326, + "start": 4317, + "end": 4322, "loc": { "start": { - "line": 140, + "line": 139, "column": 22 }, "end": { - "line": 140, + "line": 139, "column": 27 }, "identifierName": "Error" @@ -4820,15 +4820,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 4327, - "end": 4372, + "start": 4323, + "end": 4368, "loc": { "start": { - "line": 140, + "line": 139, "column": 28 }, "end": { - "line": 140, + "line": 139, "column": 73 } }, @@ -4850,15 +4850,15 @@ { "type": "CommentLine", "value": " Validate value parameter", - "start": 4228, - "end": 4255, + "start": 4224, + "end": 4251, "loc": { "start": { - "line": 138, + "line": 137, "column": 8 }, "end": { - "line": 138, + "line": 137, "column": 35 } } @@ -4868,15 +4868,15 @@ { "type": "CommentLine", "value": " Accepts any positive number", - "start": 4397, - "end": 4427, + "start": 4393, + "end": 4423, "loc": { "start": { - "line": 143, + "line": 142, "column": 8 }, "end": { - "line": 143, + "line": 142, "column": 38 } } @@ -4885,43 +4885,43 @@ }, { "type": "IfStatement", - "start": 4437, - "end": 4491, + "start": 4433, + "end": 4487, "loc": { "start": { - "line": 144, + "line": 143, "column": 8 }, "end": { - "line": 146, + "line": 145, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 4441, - "end": 4450, + "start": 4437, + "end": 4446, "loc": { "start": { - "line": 144, + "line": 143, "column": 12 }, "end": { - "line": 144, + "line": 143, "column": 21 } }, "left": { "type": "Identifier", - "start": 4441, - "end": 4446, + "start": 4437, + "end": 4442, "loc": { "start": { - "line": 144, + "line": 143, "column": 12 }, "end": { - "line": 144, + "line": 143, "column": 17 }, "identifierName": "value" @@ -4932,15 +4932,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 4449, - "end": 4450, + "start": 4445, + "end": 4446, "loc": { "start": { - "line": 144, + "line": 143, "column": 20 }, "end": { - "line": 144, + "line": 143, "column": 21 } }, @@ -4954,44 +4954,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 4452, - "end": 4491, + "start": 4448, + "end": 4487, "loc": { "start": { - "line": 144, + "line": 143, "column": 23 }, "end": { - "line": 146, + "line": 145, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 4467, - "end": 4480, + "start": 4463, + "end": 4476, "loc": { "start": { - "line": 145, + "line": 144, "column": 12 }, "end": { - "line": 145, + "line": 144, "column": 25 } }, "argument": { "type": "BooleanLiteral", - "start": 4474, - "end": 4479, + "start": 4470, + "end": 4475, "loc": { "start": { - "line": 145, + "line": 144, "column": 19 }, "end": { - "line": 145, + "line": 144, "column": 24 } }, @@ -5007,15 +5007,15 @@ { "type": "CommentLine", "value": " Accepts any positive number", - "start": 4397, - "end": 4427, + "start": 4393, + "end": 4423, "loc": { "start": { - "line": 143, + "line": 142, "column": 8 }, "end": { - "line": 143, + "line": 142, "column": 38 } } @@ -5025,15 +5025,15 @@ { "type": "CommentLine", "value": " Did they supply custom unit ratio or signifier?", - "start": 4511, - "end": 4561, + "start": 4507, + "end": 4557, "loc": { "start": { - "line": 148, + "line": 147, "column": 8 }, "end": { - "line": 148, + "line": 147, "column": 58 } } @@ -5042,43 +5042,43 @@ }, { "type": "IfStatement", - "start": 4571, - "end": 5457, + "start": 4567, + "end": 5453, "loc": { "start": { - "line": 149, + "line": 148, "column": 8 }, "end": { - "line": 172, + "line": 171, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 4575, - "end": 4590, + "start": 4571, + "end": 4586, "loc": { "start": { - "line": 149, + "line": 148, "column": 12 }, "end": { - "line": 149, + "line": 148, "column": 27 } }, "left": { "type": "Identifier", - "start": 4575, - "end": 4584, + "start": 4571, + "end": 4580, "loc": { "start": { - "line": 149, + "line": 148, "column": 12 }, "end": { - "line": 149, + "line": 148, "column": 21 }, "identifierName": "unitValue" @@ -5089,15 +5089,15 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 4589, - "end": 4590, + "start": 4585, + "end": 4586, "loc": { "start": { - "line": 149, + "line": 148, "column": 26 }, "end": { - "line": 149, + "line": 148, "column": 27 } }, @@ -5111,58 +5111,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 4592, - "end": 5457, + "start": 4588, + "end": 5453, "loc": { "start": { - "line": 149, + "line": 148, "column": 29 }, "end": { - "line": 172, + "line": 171, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 4607, - "end": 5355, + "start": 4603, + "end": 5351, "loc": { "start": { - "line": 150, + "line": 149, "column": 12 }, "end": { - "line": 168, + "line": 167, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 4611, - "end": 4640, + "start": 4607, + "end": 4636, "loc": { "start": { - "line": 150, + "line": 149, "column": 16 }, "end": { - "line": 150, + "line": 149, "column": 45 } }, "left": { "type": "UnaryExpression", - "start": 4611, - "end": 4627, + "start": 4607, + "end": 4623, "loc": { "start": { - "line": 150, + "line": 149, "column": 16 }, "end": { - "line": 150, + "line": 149, "column": 32 } }, @@ -5170,15 +5170,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 4618, - "end": 4627, + "start": 4614, + "end": 4623, "loc": { "start": { - "line": 150, + "line": 149, "column": 23 }, "end": { - "line": 150, + "line": 149, "column": 32 }, "identifierName": "unitValue" @@ -5192,15 +5192,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4632, - "end": 4640, + "start": 4628, + "end": 4636, "loc": { "start": { - "line": 150, + "line": 149, "column": 37 }, "end": { - "line": 150, + "line": 149, "column": 45 } }, @@ -5213,58 +5213,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 4642, - "end": 4843, + "start": 4638, + "end": 4839, "loc": { "start": { - "line": 150, + "line": 149, "column": 47 }, "end": { - "line": 155, + "line": 154, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 4697, - "end": 4828, + "start": 4693, + "end": 4824, "loc": { "start": { - "line": 152, + "line": 151, "column": 16 }, "end": { - "line": 154, + "line": 153, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 4701, - "end": 4714, + "start": 4697, + "end": 4710, "loc": { "start": { - "line": 152, + "line": 151, "column": 20 }, "end": { - "line": 152, + "line": 151, "column": 33 } }, "left": { "type": "Identifier", - "start": 4701, - "end": 4710, + "start": 4697, + "end": 4706, "loc": { "start": { - "line": 152, + "line": 151, "column": 20 }, "end": { - "line": 152, + "line": 151, "column": 29 }, "identifierName": "unitValue" @@ -5275,15 +5275,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 4713, - "end": 4714, + "start": 4709, + "end": 4710, "loc": { "start": { - "line": 152, + "line": 151, "column": 32 }, "end": { - "line": 152, + "line": 151, "column": 33 } }, @@ -5297,58 +5297,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 4716, - "end": 4828, + "start": 4712, + "end": 4824, "loc": { "start": { - "line": 152, + "line": 151, "column": 35 }, "end": { - "line": 154, + "line": 153, "column": 17 } }, "body": [ { "type": "ThrowStatement", - "start": 4739, - "end": 4809, + "start": 4735, + "end": 4805, "loc": { "start": { - "line": 153, + "line": 152, "column": 20 }, "end": { - "line": 153, + "line": 152, "column": 90 } }, "argument": { "type": "NewExpression", - "start": 4745, - "end": 4808, + "start": 4741, + "end": 4804, "loc": { "start": { - "line": 153, + "line": 152, "column": 26 }, "end": { - "line": 153, + "line": 152, "column": 89 } }, "callee": { "type": "Identifier", - "start": 4749, - "end": 4754, + "start": 4745, + "end": 4750, "loc": { "start": { - "line": 153, + "line": 152, "column": 30 }, "end": { - "line": 153, + "line": 152, "column": 35 }, "identifierName": "Error" @@ -5358,15 +5358,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 4755, - "end": 4807, + "start": 4751, + "end": 4803, "loc": { "start": { - "line": 153, + "line": 152, "column": 36 }, "end": { - "line": 153, + "line": 152, "column": 88 } }, @@ -5387,15 +5387,15 @@ { "type": "CommentLine", "value": " Validate number", - "start": 4661, - "end": 4679, + "start": 4657, + "end": 4675, "loc": { "start": { - "line": 151, + "line": 150, "column": 16 }, "end": { - "line": 151, + "line": 150, "column": 34 } } @@ -5407,43 +5407,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4849, - "end": 5355, + "start": 4845, + "end": 5351, "loc": { "start": { - "line": 155, + "line": 154, "column": 19 }, "end": { - "line": 168, + "line": 167, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 4853, - "end": 4882, + "start": 4849, + "end": 4878, "loc": { "start": { - "line": 155, + "line": 154, "column": 23 }, "end": { - "line": 155, + "line": 154, "column": 52 } }, "left": { "type": "UnaryExpression", - "start": 4853, - "end": 4869, + "start": 4849, + "end": 4865, "loc": { "start": { - "line": 155, + "line": 154, "column": 23 }, "end": { - "line": 155, + "line": 154, "column": 39 } }, @@ -5451,15 +5451,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 4860, - "end": 4869, + "start": 4856, + "end": 4865, "loc": { "start": { - "line": 155, + "line": 154, "column": 30 }, "end": { - "line": 155, + "line": 154, "column": 39 }, "identifierName": "unitValue" @@ -5473,15 +5473,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4874, - "end": 4882, + "start": 4870, + "end": 4878, "loc": { "start": { - "line": 155, + "line": 154, "column": 44 }, "end": { - "line": 155, + "line": 154, "column": 52 } }, @@ -5494,59 +5494,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 4884, - "end": 5236, + "start": 4880, + "end": 5232, "loc": { "start": { - "line": 155, + "line": 154, "column": 54 }, "end": { - "line": 166, + "line": 165, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 4954, - "end": 4989, + "start": 4950, + "end": 4985, "loc": { "start": { - "line": 157, + "line": 156, "column": 16 }, "end": { - "line": 157, + "line": 156, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 4954, - "end": 4988, + "start": 4950, + "end": 4984, "loc": { "start": { - "line": 157, + "line": 156, "column": 16 }, "end": { - "line": 157, + "line": 156, "column": 50 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4954, - "end": 4963, + "start": 4950, + "end": 4959, "loc": { "start": { - "line": 157, + "line": 156, "column": 16 }, "end": { - "line": 157, + "line": 156, "column": 25 }, "identifierName": "unitValue" @@ -5556,58 +5556,58 @@ }, "right": { "type": "CallExpression", - "start": 4966, - "end": 4988, + "start": 4962, + "end": 4984, "loc": { "start": { - "line": 157, + "line": 156, "column": 28 }, "end": { - "line": 157, + "line": 156, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 4966, - "end": 4977, + "start": 4962, + "end": 4973, "loc": { "start": { - "line": 157, + "line": 156, "column": 28 }, "end": { - "line": 157, + "line": 156, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 4966, - "end": 4970, + "start": 4962, + "end": 4966, "loc": { "start": { - "line": 157, + "line": 156, "column": 28 }, "end": { - "line": 157, + "line": 156, "column": 32 } } }, "property": { "type": "Identifier", - "start": 4971, - "end": 4977, + "start": 4967, + "end": 4973, "loc": { "start": { - "line": 157, + "line": 156, "column": 33 }, "end": { - "line": 157, + "line": 156, "column": 39 }, "identifierName": "lookup" @@ -5619,15 +5619,15 @@ "arguments": [ { "type": "Identifier", - "start": 4978, - "end": 4987, + "start": 4974, + "end": 4983, "loc": { "start": { - "line": 157, + "line": 156, "column": 40 }, "end": { - "line": 157, + "line": 156, "column": 49 }, "identifierName": "unitValue" @@ -5642,15 +5642,15 @@ { "type": "CommentLine", "value": " Perform lookup using signifier", - "start": 4903, - "end": 4936, + "start": 4899, + "end": 4932, "loc": { "start": { - "line": 156, + "line": 155, "column": 16 }, "end": { - "line": 156, + "line": 155, "column": 49 } } @@ -5660,15 +5660,15 @@ { "type": "CommentLine", "value": " Validate Unit lookup", - "start": 5009, - "end": 5032, + "start": 5005, + "end": 5028, "loc": { "start": { - "line": 159, + "line": 158, "column": 16 }, "end": { - "line": 159, + "line": 158, "column": 39 } } @@ -5677,43 +5677,43 @@ }, { "type": "IfStatement", - "start": 5050, - "end": 5134, + "start": 5046, + "end": 5130, "loc": { "start": { - "line": 160, + "line": 159, "column": 16 }, "end": { - "line": 162, + "line": 161, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 5054, - "end": 5077, + "start": 5050, + "end": 5073, "loc": { "start": { - "line": 160, + "line": 159, "column": 20 }, "end": { - "line": 160, + "line": 159, "column": 43 } }, "left": { "type": "Identifier", - "start": 5054, - "end": 5063, + "start": 5050, + "end": 5059, "loc": { "start": { - "line": 160, + "line": 159, "column": 20 }, "end": { - "line": 160, + "line": 159, "column": 29 }, "identifierName": "unitValue" @@ -5724,15 +5724,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5068, - "end": 5077, + "start": 5064, + "end": 5073, "loc": { "start": { - "line": 160, + "line": 159, "column": 34 }, "end": { - "line": 160, + "line": 159, "column": 43 }, "identifierName": "undefined" @@ -5743,44 +5743,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 5079, - "end": 5134, + "start": 5075, + "end": 5130, "loc": { "start": { - "line": 160, + "line": 159, "column": 45 }, "end": { - "line": 162, + "line": 161, "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 5102, - "end": 5115, + "start": 5098, + "end": 5111, "loc": { "start": { - "line": 161, + "line": 160, "column": 20 }, "end": { - "line": 161, + "line": 160, "column": 33 } }, "argument": { "type": "BooleanLiteral", - "start": 5109, - "end": 5114, + "start": 5105, + "end": 5110, "loc": { "start": { - "line": 161, + "line": 160, "column": 27 }, "end": { - "line": 161, + "line": 160, "column": 32 } }, @@ -5796,15 +5796,15 @@ { "type": "CommentLine", "value": " Validate Unit lookup", - "start": 5009, - "end": 5032, + "start": 5005, + "end": 5028, "loc": { "start": { - "line": 159, + "line": 158, "column": 16 }, "end": { - "line": 159, + "line": 158, "column": 39 } } @@ -5814,15 +5814,15 @@ { "type": "CommentLine", "value": " We want unit value", - "start": 5154, - "end": 5175, + "start": 5150, + "end": 5171, "loc": { "start": { - "line": 164, + "line": 163, "column": 16 }, "end": { - "line": 164, + "line": 163, "column": 37 } } @@ -5831,44 +5831,44 @@ }, { "type": "ExpressionStatement", - "start": 5193, - "end": 5221, + "start": 5189, + "end": 5217, "loc": { "start": { - "line": 165, + "line": 164, "column": 16 }, "end": { - "line": 165, + "line": 164, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 5193, - "end": 5220, + "start": 5189, + "end": 5216, "loc": { "start": { - "line": 165, + "line": 164, "column": 16 }, "end": { - "line": 165, + "line": 164, "column": 43 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5193, - "end": 5202, + "start": 5189, + "end": 5198, "loc": { "start": { - "line": 165, + "line": 164, "column": 16 }, "end": { - "line": 165, + "line": 164, "column": 25 }, "identifierName": "unitValue" @@ -5878,29 +5878,29 @@ }, "right": { "type": "MemberExpression", - "start": 5205, - "end": 5220, + "start": 5201, + "end": 5216, "loc": { "start": { - "line": 165, + "line": 164, "column": 28 }, "end": { - "line": 165, + "line": 164, "column": 43 } }, "object": { "type": "Identifier", - "start": 5205, - "end": 5214, + "start": 5201, + "end": 5210, "loc": { "start": { - "line": 165, + "line": 164, "column": 28 }, "end": { - "line": 165, + "line": 164, "column": 37 }, "identifierName": "unitValue" @@ -5909,15 +5909,15 @@ }, "property": { "type": "Identifier", - "start": 5215, - "end": 5220, + "start": 5211, + "end": 5216, "loc": { "start": { - "line": 165, + "line": 164, "column": 38 }, "end": { - "line": 165, + "line": 164, "column": 43 }, "identifierName": "value" @@ -5932,15 +5932,15 @@ { "type": "CommentLine", "value": " We want unit value", - "start": 5154, - "end": 5175, + "start": 5150, + "end": 5171, "loc": { "start": { - "line": 164, + "line": 163, "column": 16 }, "end": { - "line": 164, + "line": 163, "column": 37 } } @@ -5952,58 +5952,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 5242, - "end": 5355, + "start": 5238, + "end": 5351, "loc": { "start": { - "line": 166, + "line": 165, "column": 19 }, "end": { - "line": 168, + "line": 167, "column": 13 } }, "body": [ { "type": "ThrowStatement", - "start": 5261, - "end": 5340, + "start": 5257, + "end": 5336, "loc": { "start": { - "line": 167, + "line": 166, "column": 16 }, "end": { - "line": 167, + "line": 166, "column": 95 } }, "argument": { "type": "NewExpression", - "start": 5267, - "end": 5339, + "start": 5263, + "end": 5335, "loc": { "start": { - "line": 167, + "line": 166, "column": 22 }, "end": { - "line": 167, + "line": 166, "column": 94 } }, "callee": { "type": "Identifier", - "start": 5271, - "end": 5276, + "start": 5267, + "end": 5272, "loc": { "start": { - "line": 167, + "line": 166, "column": 26 }, "end": { - "line": 167, + "line": 166, "column": 31 }, "identifierName": "Error" @@ -6013,15 +6013,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5277, - "end": 5338, + "start": 5273, + "end": 5334, "loc": { "start": { - "line": 167, + "line": 166, "column": 32 }, "end": { - "line": 167, + "line": 166, "column": 93 } }, @@ -6044,15 +6044,15 @@ { "type": "CommentLine", "value": " Convert value to base unit value", - "start": 5371, - "end": 5406, + "start": 5367, + "end": 5402, "loc": { "start": { - "line": 170, + "line": 169, "column": 12 }, "end": { - "line": 170, + "line": 169, "column": 47 } } @@ -6061,44 +6061,44 @@ }, { "type": "ExpressionStatement", - "start": 5420, - "end": 5446, + "start": 5416, + "end": 5442, "loc": { "start": { - "line": 171, + "line": 170, "column": 12 }, "end": { - "line": 171, + "line": 170, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 5420, - "end": 5445, + "start": 5416, + "end": 5441, "loc": { "start": { - "line": 171, + "line": 170, "column": 12 }, "end": { - "line": 171, + "line": 170, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5420, - "end": 5425, + "start": 5416, + "end": 5421, "loc": { "start": { - "line": 171, + "line": 170, "column": 12 }, "end": { - "line": 171, + "line": 170, "column": 17 }, "identifierName": "value" @@ -6108,29 +6108,29 @@ }, "right": { "type": "BinaryExpression", - "start": 5428, - "end": 5445, + "start": 5424, + "end": 5441, "loc": { "start": { - "line": 171, + "line": 170, "column": 20 }, "end": { - "line": 171, + "line": 170, "column": 37 } }, "left": { "type": "Identifier", - "start": 5428, - "end": 5433, + "start": 5424, + "end": 5429, "loc": { "start": { - "line": 171, + "line": 170, "column": 20 }, "end": { - "line": 171, + "line": 170, "column": 25 }, "identifierName": "value" @@ -6140,15 +6140,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 5436, - "end": 5445, + "start": 5432, + "end": 5441, "loc": { "start": { - "line": 171, + "line": 170, "column": 28 }, "end": { - "line": 171, + "line": 170, "column": 37 }, "identifierName": "unitValue" @@ -6162,15 +6162,15 @@ { "type": "CommentLine", "value": " Convert value to base unit value", - "start": 5371, - "end": 5406, + "start": 5367, + "end": 5402, "loc": { "start": { - "line": 170, + "line": 169, "column": 12 }, "end": { - "line": 170, + "line": 169, "column": 47 } } @@ -6185,15 +6185,15 @@ { "type": "CommentLine", "value": " Did they supply custom unit ratio or signifier?", - "start": 4511, - "end": 4561, + "start": 4507, + "end": 4557, "loc": { "start": { - "line": 148, + "line": 147, "column": 8 }, "end": { - "line": 148, + "line": 147, "column": 58 } } @@ -6202,44 +6202,44 @@ }, { "type": "VariableDeclaration", - "start": 5469, - "end": 5488, + "start": 5465, + "end": 5484, "loc": { "start": { - "line": 174, + "line": 173, "column": 8 }, "end": { - "line": 174, + "line": 173, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5473, - "end": 5487, + "start": 5469, + "end": 5483, "loc": { "start": { - "line": 174, + "line": 173, "column": 12 }, "end": { - "line": 174, + "line": 173, "column": 26 } }, "id": { "type": "Identifier", - "start": 5473, - "end": 5482, + "start": 5469, + "end": 5478, "loc": { "start": { - "line": 174, + "line": 173, "column": 12 }, "end": { - "line": 174, + "line": 173, "column": 21 }, "identifierName": "formatted" @@ -6248,15 +6248,15 @@ }, "init": { "type": "StringLiteral", - "start": 5485, - "end": 5487, + "start": 5481, + "end": 5483, "loc": { "start": { - "line": 174, + "line": 173, "column": 24 }, "end": { - "line": 174, + "line": 173, "column": 26 } }, @@ -6273,15 +6273,15 @@ { "type": "CommentLine", "value": " Loop through Units", - "start": 5500, - "end": 5521, + "start": 5496, + "end": 5517, "loc": { "start": { - "line": 176, + "line": 175, "column": 8 }, "end": { - "line": 176, + "line": 175, "column": 29 } } @@ -6290,58 +6290,58 @@ }, { "type": "ForOfStatement", - "start": 5531, - "end": 7152, + "start": 5527, + "end": 7148, "loc": { "start": { - "line": 177, + "line": 176, "column": 8 }, "end": { - "line": 218, + "line": 217, "column": 9 } }, "left": { "type": "VariableDeclaration", - "start": 5536, - "end": 5544, + "start": 5532, + "end": 5540, "loc": { "start": { - "line": 177, + "line": 176, "column": 13 }, "end": { - "line": 177, + "line": 176, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5540, - "end": 5544, + "start": 5536, + "end": 5540, "loc": { "start": { - "line": 177, + "line": 176, "column": 17 }, "end": { - "line": 177, + "line": 176, "column": 21 } }, "id": { "type": "Identifier", - "start": 5540, - "end": 5544, + "start": 5536, + "end": 5540, "loc": { "start": { - "line": 177, + "line": 176, "column": 17 }, "end": { - "line": 177, + "line": 176, "column": 21 }, "identifierName": "unit" @@ -6358,44 +6358,44 @@ }, "right": { "type": "MemberExpression", - "start": 5548, - "end": 5558, + "start": 5544, + "end": 5554, "loc": { "start": { - "line": 177, + "line": 176, "column": 25 }, "end": { - "line": 177, + "line": 176, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 5548, - "end": 5552, + "start": 5544, + "end": 5548, "loc": { "start": { - "line": 177, + "line": 176, "column": 25 }, "end": { - "line": 177, + "line": 176, "column": 29 } } }, "property": { "type": "Identifier", - "start": 5553, - "end": 5558, + "start": 5549, + "end": 5554, "loc": { "start": { - "line": 177, + "line": 176, "column": 30 }, "end": { - "line": 177, + "line": 176, "column": 35 }, "identifierName": "Units" @@ -6406,72 +6406,72 @@ }, "body": { "type": "BlockStatement", - "start": 5560, - "end": 7152, + "start": 5556, + "end": 7148, "loc": { "start": { - "line": 177, + "line": 176, "column": 37 }, "end": { - "line": 218, + "line": 217, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 5656, - "end": 7141, + "start": 5652, + "end": 7137, "loc": { "start": { - "line": 179, + "line": 178, "column": 12 }, "end": { - "line": 217, + "line": 216, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 5660, - "end": 5695, + "start": 5656, + "end": 5691, "loc": { "start": { - "line": 179, + "line": 178, "column": 16 }, "end": { - "line": 179, + "line": 178, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 5660, - "end": 5672, + "start": 5656, + "end": 5668, "loc": { "start": { - "line": 179, + "line": 178, "column": 16 }, "end": { - "line": 179, + "line": 178, "column": 28 } }, "object": { "type": "Identifier", - "start": 5660, - "end": 5664, + "start": 5656, + "end": 5660, "loc": { "start": { - "line": 179, + "line": 178, "column": 16 }, "end": { - "line": 179, + "line": 178, "column": 20 }, "identifierName": "unit" @@ -6481,15 +6481,15 @@ }, "property": { "type": "Identifier", - "start": 5665, - "end": 5672, + "start": 5661, + "end": 5668, "loc": { "start": { - "line": 179, + "line": 178, "column": 21 }, "end": { - "line": 179, + "line": 178, "column": 28 }, "identifierName": "display" @@ -6502,29 +6502,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 5676, - "end": 5695, + "start": 5672, + "end": 5691, "loc": { "start": { - "line": 179, + "line": 178, "column": 32 }, "end": { - "line": 179, + "line": 178, "column": 51 } }, "left": { "type": "Identifier", - "start": 5676, - "end": 5681, + "start": 5672, + "end": 5677, "loc": { "start": { - "line": 179, + "line": 178, "column": 32 }, "end": { - "line": 179, + "line": 178, "column": 37 }, "identifierName": "value" @@ -6534,29 +6534,29 @@ "operator": ">=", "right": { "type": "MemberExpression", - "start": 5685, - "end": 5695, + "start": 5681, + "end": 5691, "loc": { "start": { - "line": 179, + "line": 178, "column": 41 }, "end": { - "line": 179, + "line": 178, "column": 51 } }, "object": { "type": "Identifier", - "start": 5685, - "end": 5689, + "start": 5681, + "end": 5685, "loc": { "start": { - "line": 179, + "line": 178, "column": 41 }, "end": { - "line": 179, + "line": 178, "column": 45 }, "identifierName": "unit" @@ -6565,15 +6565,15 @@ }, "property": { "type": "Identifier", - "start": 5690, - "end": 5695, + "start": 5686, + "end": 5691, "loc": { "start": { - "line": 179, + "line": 178, "column": 46 }, "end": { - "line": 179, + "line": 178, "column": 51 }, "identifierName": "value" @@ -6587,59 +6587,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 5697, - "end": 7141, + "start": 5693, + "end": 7137, "loc": { "start": { - "line": 179, + "line": 178, "column": 53 }, "end": { - "line": 217, + "line": 216, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 5763, - "end": 5790, + "start": 5759, + "end": 5786, "loc": { "start": { - "line": 181, + "line": 180, "column": 16 }, "end": { - "line": 181, + "line": 180, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5767, - "end": 5789, + "start": 5763, + "end": 5785, "loc": { "start": { - "line": 181, + "line": 180, "column": 20 }, "end": { - "line": 181, + "line": 180, "column": 42 } }, "id": { "type": "Identifier", - "start": 5767, - "end": 5768, + "start": 5763, + "end": 5764, "loc": { "start": { - "line": 181, + "line": 180, "column": 20 }, "end": { - "line": 181, + "line": 180, "column": 21 }, "identifierName": "q" @@ -6649,29 +6649,29 @@ }, "init": { "type": "BinaryExpression", - "start": 5771, - "end": 5789, + "start": 5767, + "end": 5785, "loc": { "start": { - "line": 181, + "line": 180, "column": 24 }, "end": { - "line": 181, + "line": 180, "column": 42 } }, "left": { "type": "Identifier", - "start": 5771, - "end": 5776, + "start": 5767, + "end": 5772, "loc": { "start": { - "line": 181, + "line": 180, "column": 24 }, "end": { - "line": 181, + "line": 180, "column": 29 }, "identifierName": "value" @@ -6681,29 +6681,29 @@ "operator": "/", "right": { "type": "MemberExpression", - "start": 5779, - "end": 5789, + "start": 5775, + "end": 5785, "loc": { "start": { - "line": 181, + "line": 180, "column": 32 }, "end": { - "line": 181, + "line": 180, "column": 42 } }, "object": { "type": "Identifier", - "start": 5779, - "end": 5783, + "start": 5775, + "end": 5779, "loc": { "start": { - "line": 181, + "line": 180, "column": 32 }, "end": { - "line": 181, + "line": 180, "column": 36 }, "identifierName": "unit" @@ -6712,15 +6712,15 @@ }, "property": { "type": "Identifier", - "start": 5784, - "end": 5789, + "start": 5780, + "end": 5785, "loc": { "start": { - "line": 181, + "line": 180, "column": 37 }, "end": { - "line": 181, + "line": 180, "column": 42 }, "identifierName": "value" @@ -6738,15 +6738,15 @@ { "type": "CommentLine", "value": " Calculate quantity of unit", - "start": 5716, - "end": 5745, + "start": 5712, + "end": 5741, "loc": { "start": { - "line": 180, + "line": 179, "column": 16 }, "end": { - "line": 180, + "line": 179, "column": 45 } } @@ -6756,15 +6756,15 @@ { "type": "CommentLine", "value": " Exclusive means it will display the whole value under its sole unit", - "start": 5810, - "end": 5880, + "start": 5806, + "end": 5876, "loc": { "start": { - "line": 183, + "line": 182, "column": 16 }, "end": { - "line": 183, + "line": 182, "column": 86 } } @@ -6772,15 +6772,15 @@ { "type": "CommentLine", "value": " Here we check to make sure it isn't exclusive so we can remove the change from value and make it whole", - "start": 5898, - "end": 6003, + "start": 5894, + "end": 5999, "loc": { "start": { - "line": 184, + "line": 183, "column": 16 }, "end": { - "line": 184, + "line": 183, "column": 121 } } @@ -6789,29 +6789,29 @@ }, { "type": "IfStatement", - "start": 6021, - "end": 6253, + "start": 6017, + "end": 6249, "loc": { "start": { - "line": 185, + "line": 184, "column": 16 }, "end": { - "line": 191, + "line": 190, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 6025, - "end": 6048, + "start": 6021, + "end": 6044, "loc": { "start": { - "line": 185, + "line": 184, "column": 20 }, "end": { - "line": 185, + "line": 184, "column": 43 } }, @@ -6819,43 +6819,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 6026, - "end": 6048, + "start": 6022, + "end": 6044, "loc": { "start": { - "line": 185, + "line": 184, "column": 21 }, "end": { - "line": 185, + "line": 184, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 6026, - "end": 6038, + "start": 6022, + "end": 6034, "loc": { "start": { - "line": 185, + "line": 184, "column": 21 }, "end": { - "line": 185, + "line": 184, "column": 33 } }, "object": { "type": "Identifier", - "start": 6026, - "end": 6030, + "start": 6022, + "end": 6026, "loc": { "start": { - "line": 185, + "line": 184, "column": 21 }, "end": { - "line": 185, + "line": 184, "column": 25 }, "identifierName": "unit" @@ -6865,15 +6865,15 @@ }, "property": { "type": "Identifier", - "start": 6031, - "end": 6038, + "start": 6027, + "end": 6034, "loc": { "start": { - "line": 185, + "line": 184, "column": 26 }, "end": { - "line": 185, + "line": 184, "column": 33 }, "identifierName": "display" @@ -6885,15 +6885,15 @@ }, "property": { "type": "Identifier", - "start": 6039, - "end": 6048, + "start": 6035, + "end": 6044, "loc": { "start": { - "line": 185, + "line": 184, "column": 34 }, "end": { - "line": 185, + "line": 184, "column": 43 }, "identifierName": "exclusive" @@ -6910,59 +6910,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6050, - "end": 6253, + "start": 6046, + "end": 6249, "loc": { "start": { - "line": 185, + "line": 184, "column": 45 }, "end": { - "line": 191, + "line": 190, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 6117, - "end": 6135, + "start": 6113, + "end": 6131, "loc": { "start": { - "line": 187, + "line": 186, "column": 20 }, "end": { - "line": 187, + "line": 186, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 6117, - "end": 6134, + "start": 6113, + "end": 6130, "loc": { "start": { - "line": 187, + "line": 186, "column": 20 }, "end": { - "line": 187, + "line": 186, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6117, - "end": 6118, + "start": 6113, + "end": 6114, "loc": { "start": { - "line": 187, + "line": 186, "column": 20 }, "end": { - "line": 187, + "line": 186, "column": 21 }, "identifierName": "q" @@ -6972,43 +6972,43 @@ }, "right": { "type": "CallExpression", - "start": 6121, - "end": 6134, + "start": 6117, + "end": 6130, "loc": { "start": { - "line": 187, + "line": 186, "column": 24 }, "end": { - "line": 187, + "line": 186, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 6121, - "end": 6131, + "start": 6117, + "end": 6127, "loc": { "start": { - "line": 187, + "line": 186, "column": 24 }, "end": { - "line": 187, + "line": 186, "column": 34 } }, "object": { "type": "Identifier", - "start": 6121, - "end": 6125, + "start": 6117, + "end": 6121, "loc": { "start": { - "line": 187, + "line": 186, "column": 24 }, "end": { - "line": 187, + "line": 186, "column": 28 }, "identifierName": "Math" @@ -7017,15 +7017,15 @@ }, "property": { "type": "Identifier", - "start": 6126, - "end": 6131, + "start": 6122, + "end": 6127, "loc": { "start": { - "line": 187, + "line": 186, "column": 29 }, "end": { - "line": 187, + "line": 186, "column": 34 }, "identifierName": "floor" @@ -7037,15 +7037,15 @@ "arguments": [ { "type": "Identifier", - "start": 6132, - "end": 6133, + "start": 6128, + "end": 6129, "loc": { "start": { - "line": 187, + "line": 186, "column": 35 }, "end": { - "line": 187, + "line": 186, "column": 36 }, "identifierName": "q" @@ -7060,15 +7060,15 @@ { "type": "CommentLine", "value": " Whole unit quantity", - "start": 6073, - "end": 6095, + "start": 6069, + "end": 6091, "loc": { "start": { - "line": 186, + "line": 185, "column": 20 }, "end": { - "line": 186, + "line": 185, "column": 42 } } @@ -7078,15 +7078,15 @@ { "type": "CommentLine", "value": " Subtract change from total", - "start": 6159, - "end": 6188, + "start": 6155, + "end": 6184, "loc": { "start": { - "line": 189, + "line": 188, "column": 20 }, "end": { - "line": 189, + "line": 188, "column": 49 } } @@ -7095,44 +7095,44 @@ }, { "type": "ExpressionStatement", - "start": 6210, - "end": 6234, + "start": 6206, + "end": 6230, "loc": { "start": { - "line": 190, + "line": 189, "column": 20 }, "end": { - "line": 190, + "line": 189, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 6210, - "end": 6233, + "start": 6206, + "end": 6229, "loc": { "start": { - "line": 190, + "line": 189, "column": 20 }, "end": { - "line": 190, + "line": 189, "column": 43 } }, "operator": "-=", "left": { "type": "Identifier", - "start": 6210, - "end": 6215, + "start": 6206, + "end": 6211, "loc": { "start": { - "line": 190, + "line": 189, "column": 20 }, "end": { - "line": 190, + "line": 189, "column": 25 }, "identifierName": "value" @@ -7142,29 +7142,29 @@ }, "right": { "type": "BinaryExpression", - "start": 6219, - "end": 6233, + "start": 6215, + "end": 6229, "loc": { "start": { - "line": 190, + "line": 189, "column": 29 }, "end": { - "line": 190, + "line": 189, "column": 43 } }, "left": { "type": "Identifier", - "start": 6219, - "end": 6220, + "start": 6215, + "end": 6216, "loc": { "start": { - "line": 190, + "line": 189, "column": 29 }, "end": { - "line": 190, + "line": 189, "column": 30 }, "identifierName": "q" @@ -7174,29 +7174,29 @@ "operator": "*", "right": { "type": "MemberExpression", - "start": 6223, - "end": 6233, + "start": 6219, + "end": 6229, "loc": { "start": { - "line": 190, + "line": 189, "column": 33 }, "end": { - "line": 190, + "line": 189, "column": 43 } }, "object": { "type": "Identifier", - "start": 6223, - "end": 6227, + "start": 6219, + "end": 6223, "loc": { "start": { - "line": 190, + "line": 189, "column": 33 }, "end": { - "line": 190, + "line": 189, "column": 37 }, "identifierName": "unit" @@ -7205,15 +7205,15 @@ }, "property": { "type": "Identifier", - "start": 6228, - "end": 6233, + "start": 6224, + "end": 6229, "loc": { "start": { - "line": 190, + "line": 189, "column": 38 }, "end": { - "line": 190, + "line": 189, "column": 43 }, "identifierName": "value" @@ -7229,15 +7229,15 @@ { "type": "CommentLine", "value": " Subtract change from total", - "start": 6159, - "end": 6188, + "start": 6155, + "end": 6184, "loc": { "start": { - "line": 189, + "line": 188, "column": 20 }, "end": { - "line": 189, + "line": 188, "column": 49 } } @@ -7253,15 +7253,15 @@ { "type": "CommentLine", "value": " Exclusive means it will display the whole value under its sole unit", - "start": 5810, - "end": 5880, + "start": 5806, + "end": 5876, "loc": { "start": { - "line": 183, + "line": 182, "column": 16 }, "end": { - "line": 183, + "line": 182, "column": 86 } } @@ -7269,15 +7269,15 @@ { "type": "CommentLine", "value": " Here we check to make sure it isn't exclusive so we can remove the change from value and make it whole", - "start": 5898, - "end": 6003, + "start": 5894, + "end": 5999, "loc": { "start": { - "line": 184, + "line": 183, "column": 16 }, "end": { - "line": 184, + "line": 183, "column": 121 } } @@ -7287,15 +7287,15 @@ { "type": "CommentLine", "value": " Add space if text has content already", - "start": 6273, - "end": 6313, + "start": 6269, + "end": 6309, "loc": { "start": { - "line": 193, + "line": 192, "column": 16 }, "end": { - "line": 193, + "line": 192, "column": 56 } } @@ -7304,57 +7304,57 @@ }, { "type": "IfStatement", - "start": 6331, - "end": 6416, + "start": 6327, + "end": 6412, "loc": { "start": { - "line": 194, + "line": 193, "column": 16 }, "end": { - "line": 196, + "line": 195, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 6335, - "end": 6355, + "start": 6331, + "end": 6351, "loc": { "start": { - "line": 194, + "line": 193, "column": 20 }, "end": { - "line": 194, + "line": 193, "column": 40 } }, "left": { "type": "MemberExpression", - "start": 6335, - "end": 6351, + "start": 6331, + "end": 6347, "loc": { "start": { - "line": 194, + "line": 193, "column": 20 }, "end": { - "line": 194, + "line": 193, "column": 36 } }, "object": { "type": "Identifier", - "start": 6335, - "end": 6344, + "start": 6331, + "end": 6340, "loc": { "start": { - "line": 194, + "line": 193, "column": 20 }, "end": { - "line": 194, + "line": 193, "column": 29 }, "identifierName": "formatted" @@ -7364,15 +7364,15 @@ }, "property": { "type": "Identifier", - "start": 6345, - "end": 6351, + "start": 6341, + "end": 6347, "loc": { "start": { - "line": 194, + "line": 193, "column": 30 }, "end": { - "line": 194, + "line": 193, "column": 36 }, "identifierName": "length" @@ -7385,15 +7385,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 6354, - "end": 6355, + "start": 6350, + "end": 6351, "loc": { "start": { - "line": 194, + "line": 193, "column": 39 }, "end": { - "line": 194, + "line": 193, "column": 40 } }, @@ -7407,59 +7407,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6357, - "end": 6416, + "start": 6353, + "end": 6412, "loc": { "start": { - "line": 194, + "line": 193, "column": 42 }, "end": { - "line": 196, + "line": 195, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 6380, - "end": 6397, + "start": 6376, + "end": 6393, "loc": { "start": { - "line": 195, + "line": 194, "column": 20 }, "end": { - "line": 195, + "line": 194, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 6380, - "end": 6396, + "start": 6376, + "end": 6392, "loc": { "start": { - "line": 195, + "line": 194, "column": 20 }, "end": { - "line": 195, + "line": 194, "column": 36 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 6380, - "end": 6389, + "start": 6376, + "end": 6385, "loc": { "start": { - "line": 195, + "line": 194, "column": 20 }, "end": { - "line": 195, + "line": 194, "column": 29 }, "identifierName": "formatted" @@ -7468,15 +7468,15 @@ }, "right": { "type": "StringLiteral", - "start": 6393, - "end": 6396, + "start": 6389, + "end": 6392, "loc": { "start": { - "line": 195, + "line": 194, "column": 33 }, "end": { - "line": 195, + "line": 194, "column": 36 } }, @@ -7497,15 +7497,15 @@ { "type": "CommentLine", "value": " Add space if text has content already", - "start": 6273, - "end": 6313, + "start": 6269, + "end": 6309, "loc": { "start": { - "line": 193, + "line": 192, "column": 16 }, "end": { - "line": 193, + "line": 192, "column": 56 } } @@ -7515,15 +7515,15 @@ { "type": "CommentLine", "value": " Add formatted value", - "start": 6436, - "end": 6458, + "start": 6432, + "end": 6454, "loc": { "start": { - "line": 198, + "line": 197, "column": 16 }, "end": { - "line": 198, + "line": 197, "column": 38 } } @@ -7532,44 +7532,44 @@ }, { "type": "ExpressionStatement", - "start": 6476, - "end": 6550, + "start": 6472, + "end": 6546, "loc": { "start": { - "line": 199, + "line": 198, "column": 16 }, "end": { - "line": 199, + "line": 198, "column": 90 } }, "expression": { "type": "AssignmentExpression", - "start": 6476, - "end": 6549, + "start": 6472, + "end": 6545, "loc": { "start": { - "line": 199, + "line": 198, "column": 16 }, "end": { - "line": 199, + "line": 198, "column": 89 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 6476, - "end": 6485, + "start": 6472, + "end": 6481, "loc": { "start": { - "line": 199, + "line": 198, "column": 16 }, "end": { - "line": 199, + "line": 198, "column": 25 }, "identifierName": "formatted" @@ -7579,43 +7579,43 @@ }, "right": { "type": "CallExpression", - "start": 6489, - "end": 6549, + "start": 6485, + "end": 6545, "loc": { "start": { - "line": 199, + "line": 198, "column": 29 }, "end": { - "line": 199, + "line": 198, "column": 89 } }, "callee": { "type": "MemberExpression", - "start": 6489, - "end": 6498, + "start": 6485, + "end": 6494, "loc": { "start": { - "line": 199, + "line": 198, "column": 29 }, "end": { - "line": 199, + "line": 198, "column": 38 } }, "object": { "type": "Identifier", - "start": 6489, - "end": 6490, + "start": 6485, + "end": 6486, "loc": { "start": { - "line": 199, + "line": 198, "column": 29 }, "end": { - "line": 199, + "line": 198, "column": 30 }, "identifierName": "q" @@ -7624,15 +7624,15 @@ }, "property": { "type": "Identifier", - "start": 6491, - "end": 6498, + "start": 6487, + "end": 6494, "loc": { "start": { - "line": 199, + "line": 198, "column": 31 }, "end": { - "line": 199, + "line": 198, "column": 38 }, "identifierName": "toFixed" @@ -7644,57 +7644,57 @@ "arguments": [ { "type": "ConditionalExpression", - "start": 6499, - "end": 6548, + "start": 6495, + "end": 6544, "loc": { "start": { - "line": 199, + "line": 198, "column": 39 }, "end": { - "line": 199, + "line": 198, "column": 88 } }, "test": { "type": "MemberExpression", - "start": 6499, - "end": 6520, + "start": 6495, + "end": 6516, "loc": { "start": { - "line": 199, + "line": 198, "column": 39 }, "end": { - "line": 199, + "line": 198, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 6499, - "end": 6511, + "start": 6495, + "end": 6507, "loc": { "start": { - "line": 199, + "line": 198, "column": 39 }, "end": { - "line": 199, + "line": 198, "column": 51 } }, "object": { "type": "Identifier", - "start": 6499, - "end": 6503, + "start": 6495, + "end": 6499, "loc": { "start": { - "line": 199, + "line": 198, "column": 39 }, "end": { - "line": 199, + "line": 198, "column": 43 }, "identifierName": "unit" @@ -7703,15 +7703,15 @@ }, "property": { "type": "Identifier", - "start": 6504, - "end": 6511, + "start": 6500, + "end": 6507, "loc": { "start": { - "line": 199, + "line": 198, "column": 44 }, "end": { - "line": 199, + "line": 198, "column": 51 }, "identifierName": "display" @@ -7722,15 +7722,15 @@ }, "property": { "type": "Identifier", - "start": 6512, - "end": 6520, + "start": 6508, + "end": 6516, "loc": { "start": { - "line": 199, + "line": 198, "column": 52 }, "end": { - "line": 199, + "line": 198, "column": 60 }, "identifierName": "rounding" @@ -7741,43 +7741,43 @@ }, "consequent": { "type": "MemberExpression", - "start": 6523, - "end": 6544, + "start": 6519, + "end": 6540, "loc": { "start": { - "line": 199, + "line": 198, "column": 63 }, "end": { - "line": 199, + "line": 198, "column": 84 } }, "object": { "type": "MemberExpression", - "start": 6523, - "end": 6535, + "start": 6519, + "end": 6531, "loc": { "start": { - "line": 199, + "line": 198, "column": 63 }, "end": { - "line": 199, + "line": 198, "column": 75 } }, "object": { "type": "Identifier", - "start": 6523, - "end": 6527, + "start": 6519, + "end": 6523, "loc": { "start": { - "line": 199, + "line": 198, "column": 63 }, "end": { - "line": 199, + "line": 198, "column": 67 }, "identifierName": "unit" @@ -7786,15 +7786,15 @@ }, "property": { "type": "Identifier", - "start": 6528, - "end": 6535, + "start": 6524, + "end": 6531, "loc": { "start": { - "line": 199, + "line": 198, "column": 68 }, "end": { - "line": 199, + "line": 198, "column": 75 }, "identifierName": "display" @@ -7805,15 +7805,15 @@ }, "property": { "type": "Identifier", - "start": 6536, - "end": 6544, + "start": 6532, + "end": 6540, "loc": { "start": { - "line": 199, + "line": 198, "column": 76 }, "end": { - "line": 199, + "line": 198, "column": 84 }, "identifierName": "rounding" @@ -7824,15 +7824,15 @@ }, "alternate": { "type": "NumericLiteral", - "start": 6547, - "end": 6548, + "start": 6543, + "end": 6544, "loc": { "start": { - "line": 199, + "line": 198, "column": 87 }, "end": { - "line": 199, + "line": 198, "column": 88 } }, @@ -7851,15 +7851,15 @@ { "type": "CommentLine", "value": " Add formatted value", - "start": 6436, - "end": 6458, + "start": 6432, + "end": 6454, "loc": { "start": { - "line": 198, + "line": 197, "column": 16 }, "end": { - "line": 198, + "line": 197, "column": 38 } } @@ -7869,15 +7869,15 @@ { "type": "CommentLine", "value": " Add spaces (if applicable)", - "start": 6570, - "end": 6599, + "start": 6566, + "end": 6595, "loc": { "start": { - "line": 201, + "line": 200, "column": 16 }, "end": { - "line": 201, + "line": 200, "column": 45 } } @@ -7886,29 +7886,29 @@ }, { "type": "IfStatement", - "start": 6617, - "end": 6688, + "start": 6613, + "end": 6684, "loc": { "start": { - "line": 202, + "line": 201, "column": 16 }, "end": { - "line": 204, + "line": 203, "column": 17 } }, "test": { "type": "Identifier", - "start": 6621, - "end": 6627, + "start": 6617, + "end": 6623, "loc": { "start": { - "line": 202, + "line": 201, "column": 20 }, "end": { - "line": 202, + "line": 201, "column": 26 }, "identifierName": "spaces" @@ -7918,59 +7918,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6629, - "end": 6688, + "start": 6625, + "end": 6684, "loc": { "start": { - "line": 202, + "line": 201, "column": 28 }, "end": { - "line": 204, + "line": 203, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 6652, - "end": 6669, + "start": 6648, + "end": 6665, "loc": { "start": { - "line": 203, + "line": 202, "column": 20 }, "end": { - "line": 203, + "line": 202, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 6652, - "end": 6668, + "start": 6648, + "end": 6664, "loc": { "start": { - "line": 203, + "line": 202, "column": 20 }, "end": { - "line": 203, + "line": 202, "column": 36 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 6652, - "end": 6661, + "start": 6648, + "end": 6657, "loc": { "start": { - "line": 203, + "line": 202, "column": 20 }, "end": { - "line": 203, + "line": 202, "column": 29 }, "identifierName": "formatted" @@ -7979,15 +7979,15 @@ }, "right": { "type": "StringLiteral", - "start": 6665, - "end": 6668, + "start": 6661, + "end": 6664, "loc": { "start": { - "line": 203, + "line": 202, "column": 33 }, "end": { - "line": 203, + "line": 202, "column": 36 } }, @@ -8008,15 +8008,15 @@ { "type": "CommentLine", "value": " Add spaces (if applicable)", - "start": 6570, - "end": 6599, + "start": 6566, + "end": 6595, "loc": { "start": { - "line": 201, + "line": 200, "column": 16 }, "end": { - "line": 201, + "line": 200, "column": 45 } } @@ -8026,15 +8026,15 @@ { "type": "CommentLine", "value": " Add unit signifier", - "start": 6708, - "end": 6729, + "start": 6704, + "end": 6725, "loc": { "start": { - "line": 206, + "line": 205, "column": 16 }, "end": { - "line": 206, + "line": 205, "column": 37 } } @@ -8043,43 +8043,43 @@ }, { "type": "IfStatement", - "start": 6747, - "end": 6934, + "start": 6743, + "end": 6930, "loc": { "start": { - "line": 207, + "line": 206, "column": 16 }, "end": { - "line": 211, + "line": 210, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 6751, - "end": 6783, + "start": 6747, + "end": 6779, "loc": { "start": { - "line": 207, + "line": 206, "column": 20 }, "end": { - "line": 207, + "line": 206, "column": 52 } }, "left": { "type": "UnaryExpression", - "start": 6751, - "end": 6770, + "start": 6747, + "end": 6766, "loc": { "start": { - "line": 207, + "line": 206, "column": 20 }, "end": { - "line": 207, + "line": 206, "column": 39 } }, @@ -8087,29 +8087,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 6758, - "end": 6770, + "start": 6754, + "end": 6766, "loc": { "start": { - "line": 207, + "line": 206, "column": 27 }, "end": { - "line": 207, + "line": 206, "column": 39 } }, "object": { "type": "Identifier", - "start": 6758, - "end": 6762, + "start": 6754, + "end": 6758, "loc": { "start": { - "line": 207, + "line": 206, "column": 27 }, "end": { - "line": 207, + "line": 206, "column": 31 }, "identifierName": "unit" @@ -8119,15 +8119,15 @@ }, "property": { "type": "Identifier", - "start": 6763, - "end": 6770, + "start": 6759, + "end": 6766, "loc": { "start": { - "line": 207, + "line": 206, "column": 32 }, "end": { - "line": 207, + "line": 206, "column": 39 }, "identifierName": "display" @@ -8145,15 +8145,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 6775, - "end": 6783, + "start": 6771, + "end": 6779, "loc": { "start": { - "line": 207, + "line": 206, "column": 44 }, "end": { - "line": 207, + "line": 206, "column": 52 } }, @@ -8167,59 +8167,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6785, - "end": 6860, + "start": 6781, + "end": 6856, "loc": { "start": { - "line": 207, + "line": 206, "column": 54 }, "end": { - "line": 209, + "line": 208, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 6808, - "end": 6841, + "start": 6804, + "end": 6837, "loc": { "start": { - "line": 208, + "line": 207, "column": 20 }, "end": { - "line": 208, + "line": 207, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 6808, - "end": 6840, + "start": 6804, + "end": 6836, "loc": { "start": { - "line": 208, + "line": 207, "column": 20 }, "end": { - "line": 208, + "line": 207, "column": 52 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 6808, - "end": 6817, + "start": 6804, + "end": 6813, "loc": { "start": { - "line": 208, + "line": 207, "column": 20 }, "end": { - "line": 208, + "line": 207, "column": 29 }, "identifierName": "formatted" @@ -8228,43 +8228,43 @@ }, "right": { "type": "MemberExpression", - "start": 6821, - "end": 6840, + "start": 6817, + "end": 6836, "loc": { "start": { - "line": 208, + "line": 207, "column": 33 }, "end": { - "line": 208, + "line": 207, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 6821, - "end": 6833, + "start": 6817, + "end": 6829, "loc": { "start": { - "line": 208, + "line": 207, "column": 33 }, "end": { - "line": 208, + "line": 207, "column": 45 } }, "object": { "type": "Identifier", - "start": 6821, - "end": 6825, + "start": 6817, + "end": 6821, "loc": { "start": { - "line": 208, + "line": 207, "column": 33 }, "end": { - "line": 208, + "line": 207, "column": 37 }, "identifierName": "unit" @@ -8273,15 +8273,15 @@ }, "property": { "type": "Identifier", - "start": 6826, - "end": 6833, + "start": 6822, + "end": 6829, "loc": { "start": { - "line": 208, + "line": 207, "column": 38 }, "end": { - "line": 208, + "line": 207, "column": 45 }, "identifierName": "display" @@ -8292,15 +8292,15 @@ }, "property": { "type": "Identifier", - "start": 6834, - "end": 6840, + "start": 6830, + "end": 6836, "loc": { "start": { - "line": 208, + "line": 207, "column": 46 }, "end": { - "line": 208, + "line": 207, "column": 52 }, "identifierName": "symbol" @@ -8316,59 +8316,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 6866, - "end": 6934, + "start": 6862, + "end": 6930, "loc": { "start": { - "line": 209, + "line": 208, "column": 23 }, "end": { - "line": 211, + "line": 210, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 6889, - "end": 6915, + "start": 6885, + "end": 6911, "loc": { "start": { - "line": 210, + "line": 209, "column": 20 }, "end": { - "line": 210, + "line": 209, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 6889, - "end": 6914, + "start": 6885, + "end": 6910, "loc": { "start": { - "line": 210, + "line": 209, "column": 20 }, "end": { - "line": 210, + "line": 209, "column": 45 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 6889, - "end": 6898, + "start": 6885, + "end": 6894, "loc": { "start": { - "line": 210, + "line": 209, "column": 20 }, "end": { - "line": 210, + "line": 209, "column": 29 }, "identifierName": "formatted" @@ -8377,29 +8377,29 @@ }, "right": { "type": "MemberExpression", - "start": 6902, - "end": 6914, + "start": 6898, + "end": 6910, "loc": { "start": { - "line": 210, + "line": 209, "column": 33 }, "end": { - "line": 210, + "line": 209, "column": 45 } }, "object": { "type": "Identifier", - "start": 6902, - "end": 6906, + "start": 6898, + "end": 6902, "loc": { "start": { - "line": 210, + "line": 209, "column": 33 }, "end": { - "line": 210, + "line": 209, "column": 37 }, "identifierName": "unit" @@ -8408,15 +8408,15 @@ }, "property": { "type": "Identifier", - "start": 6907, - "end": 6914, + "start": 6903, + "end": 6910, "loc": { "start": { - "line": 210, + "line": 209, "column": 38 }, "end": { - "line": 210, + "line": 209, "column": 45 }, "identifierName": "display" @@ -8435,15 +8435,15 @@ { "type": "CommentLine", "value": " Add unit signifier", - "start": 6708, - "end": 6729, + "start": 6704, + "end": 6725, "loc": { "start": { - "line": 206, + "line": 205, "column": 16 }, "end": { - "line": 206, + "line": 205, "column": 37 } } @@ -8453,15 +8453,15 @@ { "type": "CommentLine", "value": " Is unit exclusive or is there no longer any value to format?", - "start": 6954, - "end": 7017, + "start": 6950, + "end": 7013, "loc": { "start": { - "line": 213, + "line": 212, "column": 16 }, "end": { - "line": 213, + "line": 212, "column": 79 } } @@ -8470,71 +8470,71 @@ }, { "type": "IfStatement", - "start": 7035, - "end": 7126, + "start": 7031, + "end": 7122, "loc": { "start": { - "line": 214, + "line": 213, "column": 16 }, "end": { - "line": 216, + "line": 215, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 7039, - "end": 7076, + "start": 7035, + "end": 7072, "loc": { "start": { - "line": 214, + "line": 213, "column": 20 }, "end": { - "line": 214, + "line": 213, "column": 57 } }, "left": { "type": "MemberExpression", - "start": 7039, - "end": 7061, + "start": 7035, + "end": 7057, "loc": { "start": { - "line": 214, + "line": 213, "column": 20 }, "end": { - "line": 214, + "line": 213, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 7039, - "end": 7051, + "start": 7035, + "end": 7047, "loc": { "start": { - "line": 214, + "line": 213, "column": 20 }, "end": { - "line": 214, + "line": 213, "column": 32 } }, "object": { "type": "Identifier", - "start": 7039, - "end": 7043, + "start": 7035, + "end": 7039, "loc": { "start": { - "line": 214, + "line": 213, "column": 20 }, "end": { - "line": 214, + "line": 213, "column": 24 }, "identifierName": "unit" @@ -8544,15 +8544,15 @@ }, "property": { "type": "Identifier", - "start": 7044, - "end": 7051, + "start": 7040, + "end": 7047, "loc": { "start": { - "line": 214, + "line": 213, "column": 25 }, "end": { - "line": 214, + "line": 213, "column": 32 }, "identifierName": "display" @@ -8564,15 +8564,15 @@ }, "property": { "type": "Identifier", - "start": 7052, - "end": 7061, + "start": 7048, + "end": 7057, "loc": { "start": { - "line": 214, + "line": 213, "column": 33 }, "end": { - "line": 214, + "line": 213, "column": 42 }, "identifierName": "exclusive" @@ -8585,29 +8585,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 7065, - "end": 7076, + "start": 7061, + "end": 7072, "loc": { "start": { - "line": 214, + "line": 213, "column": 46 }, "end": { - "line": 214, + "line": 213, "column": 57 } }, "left": { "type": "Identifier", - "start": 7065, - "end": 7070, + "start": 7061, + "end": 7066, "loc": { "start": { - "line": 214, + "line": 213, "column": 46 }, "end": { - "line": 214, + "line": 213, "column": 51 }, "identifierName": "value" @@ -8617,15 +8617,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 7075, - "end": 7076, + "start": 7071, + "end": 7072, "loc": { "start": { - "line": 214, + "line": 213, "column": 56 }, "end": { - "line": 214, + "line": 213, "column": 57 } }, @@ -8640,30 +8640,30 @@ }, "consequent": { "type": "BlockStatement", - "start": 7078, - "end": 7126, + "start": 7074, + "end": 7122, "loc": { "start": { - "line": 214, + "line": 213, "column": 59 }, "end": { - "line": 216, + "line": 215, "column": 17 } }, "body": [ { "type": "BreakStatement", - "start": 7101, - "end": 7107, + "start": 7097, + "end": 7103, "loc": { "start": { - "line": 215, + "line": 214, "column": 20 }, "end": { - "line": 215, + "line": 214, "column": 26 } }, @@ -8677,15 +8677,15 @@ { "type": "CommentLine", "value": " Is unit exclusive or is there no longer any value to format?", - "start": 6954, - "end": 7017, + "start": 6950, + "end": 7013, "loc": { "start": { - "line": 213, + "line": 212, "column": 16 }, "end": { - "line": 213, + "line": 212, "column": 79 } } @@ -8700,15 +8700,15 @@ { "type": "CommentLine", "value": " Check if Unit is displaying and value is greater than unit value", - "start": 5575, - "end": 5642, + "start": 5571, + "end": 5638, "loc": { "start": { - "line": 178, + "line": 177, "column": 12 }, "end": { - "line": 178, + "line": 177, "column": 79 } } @@ -8722,15 +8722,15 @@ { "type": "CommentLine", "value": " Loop through Units", - "start": 5500, - "end": 5521, + "start": 5496, + "end": 5517, "loc": { "start": { - "line": 176, + "line": 175, "column": 8 }, "end": { - "line": 176, + "line": 175, "column": 29 } } @@ -8739,29 +8739,29 @@ }, { "type": "ReturnStatement", - "start": 7164, - "end": 7181, + "start": 7160, + "end": 7177, "loc": { "start": { - "line": 220, + "line": 219, "column": 8 }, "end": { - "line": 220, + "line": 219, "column": 25 } }, "argument": { "type": "Identifier", - "start": 7171, - "end": 7180, + "start": 7167, + "end": 7176, "loc": { "start": { - "line": 220, + "line": 219, "column": 15 }, "end": { - "line": 220, + "line": 219, "column": 24 }, "identifierName": "formatted" @@ -8777,15 +8777,15 @@ { "type": "CommentBlock", "value": "*\r\n * Format mass as text.\r\n * \r\n * @param {number} value - Value to format (must be a positive number).\r\n * @param {(number|string)} [unitValue = 1] - Value of unit or string mass unit signifier for lookup.\r\n * @param {(boolean|number)} [spaces = true] - Truthy values will add space between value and signifier.\r\n * @returns {(string|false)} Formatted mass string or, if value is negative or unit signifier lookup fails, false.\r\n ", - "start": 3698, - "end": 4162, + "start": 3694, + "end": 4158, "loc": { "start": { - "line": 128, + "line": 127, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 7 } } @@ -8795,15 +8795,15 @@ { "type": "CommentBlock", "value": "*\r\n * Lookup string with signifier returning matching Unit.\r\n * \r\n * @param {string} signifier - Mass unit signifier string for lookup.\r\n * @return {(object|undefined)} Matching Unit object, if found, otherwise false.\r\n ", - "start": 7196, - "end": 7440, + "start": 7192, + "end": 7436, "loc": { "start": { - "line": 223, + "line": 222, "column": 4 }, "end": { - "line": 228, + "line": 227, "column": 7 } } @@ -8812,15 +8812,15 @@ }, { "type": "ClassMethod", - "start": 7446, - "end": 7868, + "start": 7442, + "end": 7864, "loc": { "start": { - "line": 229, + "line": 228, "column": 4 }, "end": { - "line": 241, + "line": 240, "column": 5 } }, @@ -8828,15 +8828,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7446, - "end": 7452, + "start": 7442, + "end": 7448, "loc": { "start": { - "line": 229, + "line": 228, "column": 4 }, "end": { - "line": 229, + "line": 228, "column": 10 }, "identifierName": "lookup" @@ -8852,15 +8852,15 @@ "params": [ { "type": "Identifier", - "start": 7453, - "end": 7462, + "start": 7449, + "end": 7458, "loc": { "start": { - "line": 229, + "line": 228, "column": 11 }, "end": { - "line": 229, + "line": 228, "column": 20 }, "identifierName": "signifier" @@ -8870,58 +8870,58 @@ ], "body": { "type": "BlockStatement", - "start": 7469, - "end": 7868, + "start": 7465, + "end": 7864, "loc": { "start": { - "line": 230, + "line": 229, "column": 4 }, "end": { - "line": 241, + "line": 240, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 7526, - "end": 7654, + "start": 7522, + "end": 7650, "loc": { "start": { - "line": 232, + "line": 231, "column": 8 }, "end": { - "line": 234, + "line": 233, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 7530, - "end": 7559, + "start": 7526, + "end": 7555, "loc": { "start": { - "line": 232, + "line": 231, "column": 12 }, "end": { - "line": 232, + "line": 231, "column": 41 } }, "left": { "type": "UnaryExpression", - "start": 7530, - "end": 7546, + "start": 7526, + "end": 7542, "loc": { "start": { - "line": 232, + "line": 231, "column": 12 }, "end": { - "line": 232, + "line": 231, "column": 28 } }, @@ -8929,15 +8929,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7537, - "end": 7546, + "start": 7533, + "end": 7542, "loc": { "start": { - "line": 232, + "line": 231, "column": 19 }, "end": { - "line": 232, + "line": 231, "column": 28 }, "identifierName": "signifier" @@ -8953,15 +8953,15 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 7551, - "end": 7559, + "start": 7547, + "end": 7555, "loc": { "start": { - "line": 232, + "line": 231, "column": 33 }, "end": { - "line": 232, + "line": 231, "column": 41 } }, @@ -8975,58 +8975,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 7561, - "end": 7654, + "start": 7557, + "end": 7650, "loc": { "start": { - "line": 232, + "line": 231, "column": 43 }, "end": { - "line": 234, + "line": 233, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 7576, - "end": 7643, + "start": 7572, + "end": 7639, "loc": { "start": { - "line": 233, + "line": 232, "column": 12 }, "end": { - "line": 233, + "line": 232, "column": 79 } }, "argument": { "type": "NewExpression", - "start": 7582, - "end": 7642, + "start": 7578, + "end": 7638, "loc": { "start": { - "line": 233, + "line": 232, "column": 18 }, "end": { - "line": 233, + "line": 232, "column": 78 } }, "callee": { "type": "Identifier", - "start": 7586, - "end": 7591, + "start": 7582, + "end": 7587, "loc": { "start": { - "line": 233, + "line": 232, "column": 22 }, "end": { - "line": 233, + "line": 232, "column": 27 }, "identifierName": "Error" @@ -9036,15 +9036,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7592, - "end": 7641, + "start": 7588, + "end": 7637, "loc": { "start": { - "line": 233, + "line": 232, "column": 28 }, "end": { - "line": 233, + "line": 232, "column": 77 } }, @@ -9066,15 +9066,15 @@ { "type": "CommentLine", "value": " Validate signifier parameter type", - "start": 7480, - "end": 7516, + "start": 7476, + "end": 7512, "loc": { "start": { - "line": 231, + "line": 230, "column": 8 }, "end": { - "line": 231, + "line": 230, "column": 44 } } @@ -9084,15 +9084,15 @@ { "type": "CommentLine", "value": " Search through units", - "start": 7666, - "end": 7689, + "start": 7662, + "end": 7685, "loc": { "start": { - "line": 236, + "line": 235, "column": 8 }, "end": { - "line": 236, + "line": 235, "column": 31 } } @@ -9101,71 +9101,71 @@ }, { "type": "ReturnStatement", - "start": 7699, - "end": 7861, + "start": 7695, + "end": 7857, "loc": { "start": { - "line": 237, + "line": 236, "column": 8 }, "end": { - "line": 240, + "line": 239, "column": 11 } }, "argument": { "type": "CallExpression", - "start": 7706, - "end": 7860, + "start": 7702, + "end": 7856, "loc": { "start": { - "line": 237, + "line": 236, "column": 15 }, "end": { - "line": 240, + "line": 239, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 7706, - "end": 7721, + "start": 7702, + "end": 7717, "loc": { "start": { - "line": 237, + "line": 236, "column": 15 }, "end": { - "line": 237, + "line": 236, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 7706, - "end": 7716, + "start": 7702, + "end": 7712, "loc": { "start": { - "line": 237, + "line": 236, "column": 15 }, "end": { - "line": 237, + "line": 236, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 7706, - "end": 7710, + "start": 7702, + "end": 7706, "loc": { "start": { - "line": 237, + "line": 236, "column": 15 }, "end": { - "line": 237, + "line": 236, "column": 19 } }, @@ -9173,15 +9173,15 @@ }, "property": { "type": "Identifier", - "start": 7711, - "end": 7716, + "start": 7707, + "end": 7712, "loc": { "start": { - "line": 237, + "line": 236, "column": 20 }, "end": { - "line": 237, + "line": 236, "column": 25 }, "identifierName": "Units" @@ -9193,15 +9193,15 @@ }, "property": { "type": "Identifier", - "start": 7717, - "end": 7721, + "start": 7713, + "end": 7717, "loc": { "start": { - "line": 237, + "line": 236, "column": 26 }, "end": { - "line": 237, + "line": 236, "column": 30 }, "identifierName": "find" @@ -9214,15 +9214,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 7722, - "end": 7859, + "start": 7718, + "end": 7855, "loc": { "start": { - "line": 237, + "line": 236, "column": 31 }, "end": { - "line": 240, + "line": 239, "column": 9 } }, @@ -9233,15 +9233,15 @@ "params": [ { "type": "Identifier", - "start": 7723, - "end": 7727, + "start": 7719, + "end": 7723, "loc": { "start": { - "line": 237, + "line": 236, "column": 32 }, "end": { - "line": 237, + "line": 236, "column": 36 }, "identifierName": "unit" @@ -9251,86 +9251,86 @@ ], "body": { "type": "BlockStatement", - "start": 7732, - "end": 7859, + "start": 7728, + "end": 7855, "loc": { "start": { - "line": 237, + "line": 236, "column": 41 }, "end": { - "line": 240, + "line": 239, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 7805, - "end": 7848, + "start": 7801, + "end": 7844, "loc": { "start": { - "line": 239, + "line": 238, "column": 12 }, "end": { - "line": 239, + "line": 238, "column": 55 } }, "argument": { "type": "CallExpression", - "start": 7812, - "end": 7847, + "start": 7808, + "end": 7843, "loc": { "start": { - "line": 239, + "line": 238, "column": 19 }, "end": { - "line": 239, + "line": 238, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 7812, - "end": 7836, + "start": 7808, + "end": 7832, "loc": { "start": { - "line": 239, + "line": 238, "column": 19 }, "end": { - "line": 239, + "line": 238, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 7812, - "end": 7827, + "start": 7808, + "end": 7823, "loc": { "start": { - "line": 239, + "line": 238, "column": 19 }, "end": { - "line": 239, + "line": 238, "column": 34 } }, "object": { "type": "Identifier", - "start": 7812, - "end": 7816, + "start": 7808, + "end": 7812, "loc": { "start": { - "line": 239, + "line": 238, "column": 19 }, "end": { - "line": 239, + "line": 238, "column": 23 }, "identifierName": "unit" @@ -9340,15 +9340,15 @@ }, "property": { "type": "Identifier", - "start": 7817, - "end": 7827, + "start": 7813, + "end": 7823, "loc": { "start": { - "line": 239, + "line": 238, "column": 24 }, "end": { - "line": 239, + "line": 238, "column": 34 }, "identifierName": "signifiers" @@ -9360,15 +9360,15 @@ }, "property": { "type": "Identifier", - "start": 7828, - "end": 7836, + "start": 7824, + "end": 7832, "loc": { "start": { - "line": 239, + "line": 238, "column": 35 }, "end": { - "line": 239, + "line": 238, "column": 43 }, "identifierName": "includes" @@ -9381,15 +9381,15 @@ "arguments": [ { "type": "Identifier", - "start": 7837, - "end": 7846, + "start": 7833, + "end": 7842, "loc": { "start": { - "line": 239, + "line": 238, "column": 44 }, "end": { - "line": 239, + "line": 238, "column": 53 }, "identifierName": "signifier" @@ -9403,15 +9403,15 @@ { "type": "CommentLine", "value": " Search for matching signifier within unit", - "start": 7747, - "end": 7791, + "start": 7743, + "end": 7787, "loc": { "start": { - "line": 238, + "line": 237, "column": 12 }, "end": { - "line": 238, + "line": 237, "column": 56 } } @@ -9429,15 +9429,15 @@ { "type": "CommentLine", "value": " Search through units", - "start": 7666, - "end": 7689, + "start": 7662, + "end": 7685, "loc": { "start": { - "line": 236, + "line": 235, "column": 8 }, "end": { - "line": 236, + "line": 235, "column": 31 } } @@ -9451,15 +9451,15 @@ { "type": "CommentBlock", "value": "*\r\n * Lookup string with signifier returning matching Unit.\r\n * \r\n * @param {string} signifier - Mass unit signifier string for lookup.\r\n * @return {(object|undefined)} Matching Unit object, if found, otherwise false.\r\n ", - "start": 7196, - "end": 7440, + "start": 7192, + "end": 7436, "loc": { "start": { - "line": 223, + "line": 222, "column": 4 }, "end": { - "line": 228, + "line": 227, "column": 7 } } @@ -9471,16 +9471,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "* \r\n * Parsing and formatting mass units.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n ", - "start": 4, - "end": 139, + "value": "* \r\n * Parsing and formatting mass units.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.1\r\n ", + "start": 0, + "end": 135, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 7, "column": 3 } } @@ -9488,15 +9488,15 @@ { "type": "CommentBlock", "value": "*\r\n * Class for working with string representations of mass.\r\n ", - "start": 143, - "end": 210, + "start": 139, + "end": 206, "loc": { "start": { - "line": 10, + "line": 9, "column": 0 }, "end": { - "line": 12, + "line": 11, "column": 3 } } @@ -9507,16 +9507,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "* \r\n * Parsing and formatting mass units.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n ", - "start": 4, - "end": 139, + "value": "* \r\n * Parsing and formatting mass units.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.1\r\n ", + "start": 0, + "end": 135, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 7, "column": 3 } } @@ -9524,15 +9524,15 @@ { "type": "CommentBlock", "value": "*\r\n * Class for working with string representations of mass.\r\n ", - "start": 143, - "end": 210, + "start": 139, + "end": 206, "loc": { "start": { - "line": 10, + "line": 9, "column": 0 }, "end": { - "line": 12, + "line": 11, "column": 3 } } @@ -9545,16 +9545,16 @@ "comments": [ { "type": "CommentBlock", - "value": "* \r\n * Parsing and formatting mass units.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n ", - "start": 4, - "end": 139, + "value": "* \r\n * Parsing and formatting mass units.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.1\r\n ", + "start": 0, + "end": 135, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 7, "column": 3 } } @@ -9562,15 +9562,15 @@ { "type": "CommentBlock", "value": "*\r\n * Class for working with string representations of mass.\r\n ", - "start": 143, - "end": 210, + "start": 139, + "end": 206, "loc": { "start": { - "line": 10, + "line": 9, "column": 0 }, "end": { - "line": 12, + "line": 11, "column": 3 } } @@ -9578,15 +9578,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creates an instance of Mass.\r\n * \r\n * @param {array} units - Array of mass unit definitions objects.\r\n ", - "start": 248, - "end": 377, + "start": 244, + "end": 373, "loc": { "start": { - "line": 15, + "line": 14, "column": 4 }, "end": { - "line": 19, + "line": 18, "column": 7 } } @@ -9594,15 +9594,15 @@ { "type": "CommentBlock", "value": "*\r\n * Parse variable for Mass.\r\n * \r\n * @param {string} text - String to parse for mass.\r\n * @returns {(number|false)} Returns mass as it's base unit, if an invalid string for mass or any value is negative, false.\r\n ", - "start": 584, - "end": 824, + "start": 580, + "end": 820, "loc": { "start": { - "line": 29, + "line": 28, "column": 4 }, "end": { - "line": 34, + "line": 33, "column": 7 } } @@ -9610,15 +9610,15 @@ { "type": "CommentLine", "value": " Validate text parameter", - "start": 858, - "end": 884, + "start": 854, + "end": 880, "loc": { "start": { - "line": 37, + "line": 36, "column": 8 }, "end": { - "line": 37, + "line": 36, "column": 34 } } @@ -9626,15 +9626,15 @@ { "type": "CommentLine", "value": " Remove possible case sensitivity", - "start": 1024, - "end": 1059, + "start": 1020, + "end": 1055, "loc": { "start": { - "line": 42, + "line": 41, "column": 8 }, "end": { - "line": 42, + "line": 41, "column": 43 } } @@ -9642,15 +9642,15 @@ { "type": "CommentLine", "value": " Remove non alphanumeric characters except \".\" and \"-\"", - "start": 1107, - "end": 1163, + "start": 1103, + "end": 1159, "loc": { "start": { - "line": 45, + "line": 44, "column": 8 }, "end": { - "line": 45, + "line": 44, "column": 64 } } @@ -9658,15 +9658,15 @@ { "type": "CommentLine", "value": " Is string empty?", - "start": 1225, - "end": 1244, + "start": 1221, + "end": 1240, "loc": { "start": { - "line": 48, + "line": 47, "column": 8 }, "end": { - "line": 48, + "line": 47, "column": 27 } } @@ -9674,15 +9674,15 @@ { "type": "CommentLine", "value": " Linear char parsing", - "start": 1328, - "end": 1350, + "start": 1324, + "end": 1346, "loc": { "start": { - "line": 53, + "line": 52, "column": 8 }, "end": { - "line": 53, + "line": 52, "column": 30 } } @@ -9690,15 +9690,15 @@ { "type": "CommentLine", "value": " Loop through each character of string", - "start": 1459, - "end": 1499, + "start": 1455, + "end": 1495, "loc": { "start": { - "line": 59, + "line": 58, "column": 8 }, "end": { - "line": 59, + "line": 58, "column": 48 } } @@ -9706,15 +9706,15 @@ { "type": "CommentLine", "value": " Get current char", - "start": 1562, - "end": 1581, + "start": 1558, + "end": 1577, "loc": { "start": { - "line": 61, + "line": 60, "column": 12 }, "end": { - "line": 61, + "line": 60, "column": 31 } } @@ -9722,15 +9722,15 @@ { "type": "CommentLine", "value": " Check for alphabet letter (a-z,0-9|a-z,0-9|...) [comma = separator between value and signifier, | = separator between pairs]", - "start": 1639, - "end": 1766, + "start": 1635, + "end": 1762, "loc": { "start": { - "line": 64, + "line": 63, "column": 12 }, "end": { - "line": 64, + "line": 63, "column": 139 } } @@ -9738,15 +9738,15 @@ { "type": "CommentLine", "value": " Catch the case where they supply text prior to the value", - "start": 1824, - "end": 1883, + "start": 1820, + "end": 1879, "loc": { "start": { - "line": 66, + "line": 65, "column": 16 }, "end": { - "line": 66, + "line": 65, "column": 75 } } @@ -9754,15 +9754,15 @@ { "type": "CommentLine", "value": " Check if this is next unit pair (i.e. value,signifier|value,signifier|...)", - "start": 2058, - "end": 2135, + "start": 2054, + "end": 2131, "loc": { "start": { - "line": 73, + "line": 72, "column": 16 }, "end": { - "line": 73, + "line": 72, "column": 93 } } @@ -9770,15 +9770,15 @@ { "type": "CommentLine", "value": " Convert to string to number", - "start": 2202, - "end": 2232, + "start": 2198, + "end": 2228, "loc": { "start": { - "line": 75, + "line": 74, "column": 20 }, "end": { - "line": 75, + "line": 74, "column": 50 } } @@ -9786,15 +9786,15 @@ { "type": "CommentLine", "value": " Mass cannot be negative", - "start": 2304, - "end": 2330, + "start": 2300, + "end": 2326, "loc": { "start": { - "line": 78, + "line": 77, "column": 20 }, "end": { - "line": 78, + "line": 77, "column": 46 } } @@ -9802,15 +9802,15 @@ { "type": "CommentLine", "value": " Lookup unit signifier", - "start": 2450, - "end": 2474, + "start": 2446, + "end": 2470, "loc": { "start": { - "line": 83, + "line": 82, "column": 20 }, "end": { - "line": 83, + "line": 82, "column": 44 } } @@ -9818,15 +9818,15 @@ { "type": "CommentLine", "value": " Does signifier not match?", - "start": 2550, - "end": 2578, + "start": 2546, + "end": 2574, "loc": { "start": { - "line": 86, + "line": 85, "column": 20 }, "end": { - "line": 86, + "line": 85, "column": 48 } } @@ -9834,15 +9834,15 @@ { "type": "CommentLine", "value": " If we cannot reliably match this signifier to a unit", - "start": 2651, - "end": 2706, + "start": 2647, + "end": 2702, "loc": { "start": { - "line": 88, + "line": 87, "column": 24 }, "end": { - "line": 88, + "line": 87, "column": 79 } } @@ -9850,15 +9850,15 @@ { "type": "CommentLine", "value": " Convert to base unit value and add to total", - "start": 2792, - "end": 2838, + "start": 2788, + "end": 2834, "loc": { "start": { - "line": 92, + "line": 91, "column": 20 }, "end": { - "line": 92, + "line": 91, "column": 66 } } @@ -9866,15 +9866,15 @@ { "type": "CommentLine", "value": " Reset storage variables", - "start": 2908, - "end": 2934, + "start": 2904, + "end": 2930, "loc": { "start": { - "line": 95, + "line": 94, "column": 20 }, "end": { - "line": 95, + "line": 94, "column": 46 } } @@ -9882,15 +9882,15 @@ { "type": "CommentLine", "value": " Convert to string to number", - "start": 3095, - "end": 3125, + "start": 3091, + "end": 3121, "loc": { "start": { - "line": 104, + "line": 103, "column": 8 }, "end": { - "line": 104, + "line": 103, "column": 38 } } @@ -9898,15 +9898,15 @@ { "type": "CommentLine", "value": " Mass cannot be negative", - "start": 3173, - "end": 3199, + "start": 3169, + "end": 3195, "loc": { "start": { - "line": 107, + "line": 106, "column": 8 }, "end": { - "line": 107, + "line": 106, "column": 34 } } @@ -9914,15 +9914,15 @@ { "type": "CommentLine", "value": " Lookup unit signifier", - "start": 3271, - "end": 3295, + "start": 3267, + "end": 3291, "loc": { "start": { - "line": 112, + "line": 111, "column": 8 }, "end": { - "line": 112, + "line": 111, "column": 32 } } @@ -9930,15 +9930,15 @@ { "type": "CommentLine", "value": " Does signifier not match?", - "start": 3347, - "end": 3375, + "start": 3343, + "end": 3371, "loc": { "start": { - "line": 115, + "line": 114, "column": 8 }, "end": { - "line": 115, + "line": 114, "column": 36 } } @@ -9946,15 +9946,15 @@ { "type": "CommentLine", "value": " If we cannot reliably match this signifier to a unit", - "start": 3424, - "end": 3479, + "start": 3420, + "end": 3475, "loc": { "start": { - "line": 117, + "line": 116, "column": 12 }, "end": { - "line": 117, + "line": 116, "column": 67 } } @@ -9962,15 +9962,15 @@ { "type": "CommentLine", "value": " Convert to base unit value and add to total", - "start": 3529, - "end": 3575, + "start": 3525, + "end": 3571, "loc": { "start": { - "line": 121, + "line": 120, "column": 8 }, "end": { - "line": 121, + "line": 120, "column": 54 } } @@ -9978,15 +9978,15 @@ { "type": "CommentLine", "value": " Return total mass (as base unit)", - "start": 3625, - "end": 3660, + "start": 3621, + "end": 3656, "loc": { "start": { - "line": 124, + "line": 123, "column": 8 }, "end": { - "line": 124, + "line": 123, "column": 43 } } @@ -9994,15 +9994,15 @@ { "type": "CommentBlock", "value": "*\r\n * Format mass as text.\r\n * \r\n * @param {number} value - Value to format (must be a positive number).\r\n * @param {(number|string)} [unitValue = 1] - Value of unit or string mass unit signifier for lookup.\r\n * @param {(boolean|number)} [spaces = true] - Truthy values will add space between value and signifier.\r\n * @returns {(string|false)} Formatted mass string or, if value is negative or unit signifier lookup fails, false.\r\n ", - "start": 3698, - "end": 4162, + "start": 3694, + "end": 4158, "loc": { "start": { - "line": 128, + "line": 127, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 7 } } @@ -10010,15 +10010,15 @@ { "type": "CommentLine", "value": " Validate value parameter", - "start": 4228, - "end": 4255, + "start": 4224, + "end": 4251, "loc": { "start": { - "line": 138, + "line": 137, "column": 8 }, "end": { - "line": 138, + "line": 137, "column": 35 } } @@ -10026,15 +10026,15 @@ { "type": "CommentLine", "value": " Accepts any positive number", - "start": 4397, - "end": 4427, + "start": 4393, + "end": 4423, "loc": { "start": { - "line": 143, + "line": 142, "column": 8 }, "end": { - "line": 143, + "line": 142, "column": 38 } } @@ -10042,15 +10042,15 @@ { "type": "CommentLine", "value": " Did they supply custom unit ratio or signifier?", - "start": 4511, - "end": 4561, + "start": 4507, + "end": 4557, "loc": { "start": { - "line": 148, + "line": 147, "column": 8 }, "end": { - "line": 148, + "line": 147, "column": 58 } } @@ -10058,15 +10058,15 @@ { "type": "CommentLine", "value": " Validate number", - "start": 4661, - "end": 4679, + "start": 4657, + "end": 4675, "loc": { "start": { - "line": 151, + "line": 150, "column": 16 }, "end": { - "line": 151, + "line": 150, "column": 34 } } @@ -10074,15 +10074,15 @@ { "type": "CommentLine", "value": " Perform lookup using signifier", - "start": 4903, - "end": 4936, + "start": 4899, + "end": 4932, "loc": { "start": { - "line": 156, + "line": 155, "column": 16 }, "end": { - "line": 156, + "line": 155, "column": 49 } } @@ -10090,15 +10090,15 @@ { "type": "CommentLine", "value": " Validate Unit lookup", - "start": 5009, - "end": 5032, + "start": 5005, + "end": 5028, "loc": { "start": { - "line": 159, + "line": 158, "column": 16 }, "end": { - "line": 159, + "line": 158, "column": 39 } } @@ -10106,15 +10106,15 @@ { "type": "CommentLine", "value": " We want unit value", - "start": 5154, - "end": 5175, + "start": 5150, + "end": 5171, "loc": { "start": { - "line": 164, + "line": 163, "column": 16 }, "end": { - "line": 164, + "line": 163, "column": 37 } } @@ -10122,15 +10122,15 @@ { "type": "CommentLine", "value": " Convert value to base unit value", - "start": 5371, - "end": 5406, + "start": 5367, + "end": 5402, "loc": { "start": { - "line": 170, + "line": 169, "column": 12 }, "end": { - "line": 170, + "line": 169, "column": 47 } } @@ -10138,15 +10138,15 @@ { "type": "CommentLine", "value": " Loop through Units", - "start": 5500, - "end": 5521, + "start": 5496, + "end": 5517, "loc": { "start": { - "line": 176, + "line": 175, "column": 8 }, "end": { - "line": 176, + "line": 175, "column": 29 } } @@ -10154,15 +10154,15 @@ { "type": "CommentLine", "value": " Check if Unit is displaying and value is greater than unit value", - "start": 5575, - "end": 5642, + "start": 5571, + "end": 5638, "loc": { "start": { - "line": 178, + "line": 177, "column": 12 }, "end": { - "line": 178, + "line": 177, "column": 79 } } @@ -10170,15 +10170,15 @@ { "type": "CommentLine", "value": " Calculate quantity of unit", - "start": 5716, - "end": 5745, + "start": 5712, + "end": 5741, "loc": { "start": { - "line": 180, + "line": 179, "column": 16 }, "end": { - "line": 180, + "line": 179, "column": 45 } } @@ -10186,15 +10186,15 @@ { "type": "CommentLine", "value": " Exclusive means it will display the whole value under its sole unit", - "start": 5810, - "end": 5880, + "start": 5806, + "end": 5876, "loc": { "start": { - "line": 183, + "line": 182, "column": 16 }, "end": { - "line": 183, + "line": 182, "column": 86 } } @@ -10202,15 +10202,15 @@ { "type": "CommentLine", "value": " Here we check to make sure it isn't exclusive so we can remove the change from value and make it whole", - "start": 5898, - "end": 6003, + "start": 5894, + "end": 5999, "loc": { "start": { - "line": 184, + "line": 183, "column": 16 }, "end": { - "line": 184, + "line": 183, "column": 121 } } @@ -10218,15 +10218,15 @@ { "type": "CommentLine", "value": " Whole unit quantity", - "start": 6073, - "end": 6095, + "start": 6069, + "end": 6091, "loc": { "start": { - "line": 186, + "line": 185, "column": 20 }, "end": { - "line": 186, + "line": 185, "column": 42 } } @@ -10234,15 +10234,15 @@ { "type": "CommentLine", "value": " Subtract change from total", - "start": 6159, - "end": 6188, + "start": 6155, + "end": 6184, "loc": { "start": { - "line": 189, + "line": 188, "column": 20 }, "end": { - "line": 189, + "line": 188, "column": 49 } } @@ -10250,15 +10250,15 @@ { "type": "CommentLine", "value": " Add space if text has content already", - "start": 6273, - "end": 6313, + "start": 6269, + "end": 6309, "loc": { "start": { - "line": 193, + "line": 192, "column": 16 }, "end": { - "line": 193, + "line": 192, "column": 56 } } @@ -10266,15 +10266,15 @@ { "type": "CommentLine", "value": " Add formatted value", - "start": 6436, - "end": 6458, + "start": 6432, + "end": 6454, "loc": { "start": { - "line": 198, + "line": 197, "column": 16 }, "end": { - "line": 198, + "line": 197, "column": 38 } } @@ -10282,15 +10282,15 @@ { "type": "CommentLine", "value": " Add spaces (if applicable)", - "start": 6570, - "end": 6599, + "start": 6566, + "end": 6595, "loc": { "start": { - "line": 201, + "line": 200, "column": 16 }, "end": { - "line": 201, + "line": 200, "column": 45 } } @@ -10298,15 +10298,15 @@ { "type": "CommentLine", "value": " Add unit signifier", - "start": 6708, - "end": 6729, + "start": 6704, + "end": 6725, "loc": { "start": { - "line": 206, + "line": 205, "column": 16 }, "end": { - "line": 206, + "line": 205, "column": 37 } } @@ -10314,15 +10314,15 @@ { "type": "CommentLine", "value": " Is unit exclusive or is there no longer any value to format?", - "start": 6954, - "end": 7017, + "start": 6950, + "end": 7013, "loc": { "start": { - "line": 213, + "line": 212, "column": 16 }, "end": { - "line": 213, + "line": 212, "column": 79 } } @@ -10330,15 +10330,15 @@ { "type": "CommentBlock", "value": "*\r\n * Lookup string with signifier returning matching Unit.\r\n * \r\n * @param {string} signifier - Mass unit signifier string for lookup.\r\n * @return {(object|undefined)} Matching Unit object, if found, otherwise false.\r\n ", - "start": 7196, - "end": 7440, + "start": 7192, + "end": 7436, "loc": { "start": { - "line": 223, + "line": 222, "column": 4 }, "end": { - "line": 228, + "line": 227, "column": 7 } } @@ -10346,15 +10346,15 @@ { "type": "CommentLine", "value": " Validate signifier parameter type", - "start": 7480, - "end": 7516, + "start": 7476, + "end": 7512, "loc": { "start": { - "line": 231, + "line": 230, "column": 8 }, "end": { - "line": 231, + "line": 230, "column": 44 } } @@ -10362,15 +10362,15 @@ { "type": "CommentLine", "value": " Search through units", - "start": 7666, - "end": 7689, + "start": 7662, + "end": 7685, "loc": { "start": { - "line": 236, + "line": 235, "column": 8 }, "end": { - "line": 236, + "line": 235, "column": 31 } } @@ -10378,15 +10378,15 @@ { "type": "CommentLine", "value": " Search for matching signifier within unit", - "start": 7747, - "end": 7791, + "start": 7743, + "end": 7787, "loc": { "start": { - "line": 238, + "line": 237, "column": 12 }, "end": { - "line": 238, + "line": 237, "column": 56 } } @@ -10395,16 +10395,16 @@ "tokens": [ { "type": "CommentBlock", - "value": "* \r\n * Parsing and formatting mass units.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n ", - "start": 4, - "end": 139, + "value": "* \r\n * Parsing and formatting mass units.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.1\r\n ", + "start": 0, + "end": 135, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 7, "column": 3 } } @@ -10412,15 +10412,15 @@ { "type": "CommentBlock", "value": "*\r\n * Class for working with string representations of mass.\r\n ", - "start": 143, - "end": 210, + "start": 139, + "end": 206, "loc": { "start": { - "line": 10, + "line": 9, "column": 0 }, "end": { - "line": 12, + "line": 11, "column": 3 } } @@ -10440,15 +10440,15 @@ "updateContext": null }, "value": "export", - "start": 212, - "end": 218, + "start": 208, + "end": 214, "loc": { "start": { - "line": 13, + "line": 12, "column": 0 }, "end": { - "line": 13, + "line": 12, "column": 6 } } @@ -10468,15 +10468,15 @@ "updateContext": null }, "value": "default", - "start": 219, - "end": 226, + "start": 215, + "end": 222, "loc": { "start": { - "line": 13, + "line": 12, "column": 7 }, "end": { - "line": 13, + "line": 12, "column": 14 } } @@ -10496,15 +10496,15 @@ "updateContext": null }, "value": "class", - "start": 227, - "end": 232, + "start": 223, + "end": 228, "loc": { "start": { - "line": 13, + "line": 12, "column": 15 }, "end": { - "line": 13, + "line": 12, "column": 20 } } @@ -10522,15 +10522,15 @@ "binop": null }, "value": "MassJS", - "start": 233, - "end": 239, + "start": 229, + "end": 235, "loc": { "start": { - "line": 13, + "line": 12, "column": 21 }, "end": { - "line": 13, + "line": 12, "column": 27 } } @@ -10547,15 +10547,15 @@ "postfix": false, "binop": null }, - "start": 241, - "end": 242, + "start": 237, + "end": 238, "loc": { "start": { - "line": 14, + "line": 13, "column": 0 }, "end": { - "line": 14, + "line": 13, "column": 1 } } @@ -10563,15 +10563,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creates an instance of Mass.\r\n * \r\n * @param {array} units - Array of mass unit definitions objects.\r\n ", - "start": 248, - "end": 377, + "start": 244, + "end": 373, "loc": { "start": { - "line": 15, + "line": 14, "column": 4 }, "end": { - "line": 19, + "line": 18, "column": 7 } } @@ -10589,15 +10589,15 @@ "binop": null }, "value": "constructor", - "start": 383, - "end": 394, + "start": 379, + "end": 390, "loc": { "start": { - "line": 20, + "line": 19, "column": 4 }, "end": { - "line": 20, + "line": 19, "column": 15 } } @@ -10614,15 +10614,15 @@ "postfix": false, "binop": null }, - "start": 394, - "end": 395, + "start": 390, + "end": 391, "loc": { "start": { - "line": 20, + "line": 19, "column": 15 }, "end": { - "line": 20, + "line": 19, "column": 16 } } @@ -10640,15 +10640,15 @@ "binop": null }, "value": "units", - "start": 395, - "end": 400, + "start": 391, + "end": 396, "loc": { "start": { - "line": 20, + "line": 19, "column": 16 }, "end": { - "line": 20, + "line": 19, "column": 21 } } @@ -10665,15 +10665,15 @@ "postfix": false, "binop": null }, - "start": 400, - "end": 401, + "start": 396, + "end": 397, "loc": { "start": { - "line": 20, + "line": 19, "column": 21 }, "end": { - "line": 20, + "line": 19, "column": 22 } } @@ -10690,15 +10690,15 @@ "postfix": false, "binop": null }, - "start": 407, - "end": 408, + "start": 403, + "end": 404, "loc": { "start": { - "line": 21, + "line": 20, "column": 4 }, "end": { - "line": 21, + "line": 20, "column": 5 } } @@ -10718,15 +10718,15 @@ "updateContext": null }, "value": "if", - "start": 418, - "end": 420, + "start": 414, + "end": 416, "loc": { "start": { - "line": 22, + "line": 21, "column": 8 }, "end": { - "line": 22, + "line": 21, "column": 10 } } @@ -10743,15 +10743,15 @@ "postfix": false, "binop": null }, - "start": 421, - "end": 422, + "start": 417, + "end": 418, "loc": { "start": { - "line": 22, + "line": 21, "column": 11 }, "end": { - "line": 22, + "line": 21, "column": 12 } } @@ -10771,15 +10771,15 @@ "updateContext": null }, "value": "typeof", - "start": 422, - "end": 428, + "start": 418, + "end": 424, "loc": { "start": { - "line": 22, + "line": 21, "column": 12 }, "end": { - "line": 22, + "line": 21, "column": 18 } } @@ -10797,15 +10797,15 @@ "binop": null }, "value": "units", - "start": 429, - "end": 434, + "start": 425, + "end": 430, "loc": { "start": { - "line": 22, + "line": 21, "column": 19 }, "end": { - "line": 22, + "line": 21, "column": 24 } } @@ -10824,15 +10824,15 @@ "updateContext": null }, "value": "!==", - "start": 435, - "end": 438, + "start": 431, + "end": 434, "loc": { "start": { - "line": 22, + "line": 21, "column": 25 }, "end": { - "line": 22, + "line": 21, "column": 28 } } @@ -10851,15 +10851,15 @@ "updateContext": null }, "value": "object", - "start": 439, - "end": 447, + "start": 435, + "end": 443, "loc": { "start": { - "line": 22, + "line": 21, "column": 29 }, "end": { - "line": 22, + "line": 21, "column": 37 } } @@ -10876,15 +10876,15 @@ "postfix": false, "binop": null }, - "start": 447, - "end": 448, + "start": 443, + "end": 444, "loc": { "start": { - "line": 22, + "line": 21, "column": 37 }, "end": { - "line": 22, + "line": 21, "column": 38 } } @@ -10901,15 +10901,15 @@ "postfix": false, "binop": null }, - "start": 449, - "end": 450, + "start": 445, + "end": 446, "loc": { "start": { - "line": 22, + "line": 21, "column": 39 }, "end": { - "line": 22, + "line": 21, "column": 40 } } @@ -10929,15 +10929,15 @@ "updateContext": null }, "value": "throw", - "start": 464, - "end": 469, + "start": 460, + "end": 465, "loc": { "start": { - "line": 23, + "line": 22, "column": 12 }, "end": { - "line": 23, + "line": 22, "column": 17 } } @@ -10957,15 +10957,15 @@ "updateContext": null }, "value": "new", - "start": 470, - "end": 473, + "start": 466, + "end": 469, "loc": { "start": { - "line": 23, + "line": 22, "column": 18 }, "end": { - "line": 23, + "line": 22, "column": 21 } } @@ -10983,15 +10983,15 @@ "binop": null }, "value": "Error", - "start": 474, - "end": 479, + "start": 470, + "end": 475, "loc": { "start": { - "line": 23, + "line": 22, "column": 22 }, "end": { - "line": 23, + "line": 22, "column": 27 } } @@ -11008,15 +11008,15 @@ "postfix": false, "binop": null }, - "start": 479, - "end": 480, + "start": 475, + "end": 476, "loc": { "start": { - "line": 23, + "line": 22, "column": 27 }, "end": { - "line": 23, + "line": 22, "column": 28 } } @@ -11035,15 +11035,15 @@ "updateContext": null }, "value": "Parameter \"units\" must be of type \"object\".", - "start": 480, - "end": 525, + "start": 476, + "end": 521, "loc": { "start": { - "line": 23, + "line": 22, "column": 28 }, "end": { - "line": 23, + "line": 22, "column": 73 } } @@ -11060,15 +11060,15 @@ "postfix": false, "binop": null }, - "start": 525, - "end": 526, + "start": 521, + "end": 522, "loc": { "start": { - "line": 23, + "line": 22, "column": 73 }, "end": { - "line": 23, + "line": 22, "column": 74 } } @@ -11086,15 +11086,15 @@ "binop": null, "updateContext": null }, - "start": 526, - "end": 527, + "start": 522, + "end": 523, "loc": { "start": { - "line": 23, + "line": 22, "column": 74 }, "end": { - "line": 23, + "line": 22, "column": 75 } } @@ -11111,15 +11111,15 @@ "postfix": false, "binop": null }, - "start": 537, - "end": 538, + "start": 533, + "end": 534, "loc": { "start": { - "line": 24, + "line": 23, "column": 8 }, "end": { - "line": 24, + "line": 23, "column": 9 } } @@ -11139,15 +11139,15 @@ "updateContext": null }, "value": "this", - "start": 550, - "end": 554, + "start": 546, + "end": 550, "loc": { "start": { - "line": 26, + "line": 25, "column": 8 }, "end": { - "line": 26, + "line": 25, "column": 12 } } @@ -11165,15 +11165,15 @@ "binop": null, "updateContext": null }, - "start": 554, - "end": 555, + "start": 550, + "end": 551, "loc": { "start": { - "line": 26, + "line": 25, "column": 12 }, "end": { - "line": 26, + "line": 25, "column": 13 } } @@ -11191,15 +11191,15 @@ "binop": null }, "value": "Units", - "start": 555, - "end": 560, + "start": 551, + "end": 556, "loc": { "start": { - "line": 26, + "line": 25, "column": 13 }, "end": { - "line": 26, + "line": 25, "column": 18 } } @@ -11218,15 +11218,15 @@ "updateContext": null }, "value": "=", - "start": 561, - "end": 562, + "start": 557, + "end": 558, "loc": { "start": { - "line": 26, + "line": 25, "column": 19 }, "end": { - "line": 26, + "line": 25, "column": 20 } } @@ -11244,15 +11244,15 @@ "binop": null }, "value": "units", - "start": 563, - "end": 568, + "start": 559, + "end": 564, "loc": { "start": { - "line": 26, + "line": 25, "column": 21 }, "end": { - "line": 26, + "line": 25, "column": 26 } } @@ -11270,15 +11270,15 @@ "binop": null, "updateContext": null }, - "start": 568, - "end": 569, + "start": 564, + "end": 565, "loc": { "start": { - "line": 26, + "line": 25, "column": 26 }, "end": { - "line": 26, + "line": 25, "column": 27 } } @@ -11295,15 +11295,15 @@ "postfix": false, "binop": null }, - "start": 575, - "end": 576, + "start": 571, + "end": 572, "loc": { "start": { - "line": 27, + "line": 26, "column": 4 }, "end": { - "line": 27, + "line": 26, "column": 5 } } @@ -11311,15 +11311,15 @@ { "type": "CommentBlock", "value": "*\r\n * Parse variable for Mass.\r\n * \r\n * @param {string} text - String to parse for mass.\r\n * @returns {(number|false)} Returns mass as it's base unit, if an invalid string for mass or any value is negative, false.\r\n ", - "start": 584, - "end": 824, + "start": 580, + "end": 820, "loc": { "start": { - "line": 29, + "line": 28, "column": 4 }, "end": { - "line": 34, + "line": 33, "column": 7 } } @@ -11337,15 +11337,15 @@ "binop": null }, "value": "parse", - "start": 830, - "end": 835, + "start": 826, + "end": 831, "loc": { "start": { - "line": 35, + "line": 34, "column": 4 }, "end": { - "line": 35, + "line": 34, "column": 9 } } @@ -11362,15 +11362,15 @@ "postfix": false, "binop": null }, - "start": 835, - "end": 836, + "start": 831, + "end": 832, "loc": { "start": { - "line": 35, + "line": 34, "column": 9 }, "end": { - "line": 35, + "line": 34, "column": 10 } } @@ -11388,15 +11388,15 @@ "binop": null }, "value": "text", - "start": 836, - "end": 840, + "start": 832, + "end": 836, "loc": { "start": { - "line": 35, + "line": 34, "column": 10 }, "end": { - "line": 35, + "line": 34, "column": 14 } } @@ -11413,15 +11413,15 @@ "postfix": false, "binop": null }, - "start": 840, - "end": 841, + "start": 836, + "end": 837, "loc": { "start": { - "line": 35, + "line": 34, "column": 14 }, "end": { - "line": 35, + "line": 34, "column": 15 } } @@ -11438,15 +11438,15 @@ "postfix": false, "binop": null }, - "start": 847, - "end": 848, + "start": 843, + "end": 844, "loc": { "start": { - "line": 36, + "line": 35, "column": 4 }, "end": { - "line": 36, + "line": 35, "column": 5 } } @@ -11454,15 +11454,15 @@ { "type": "CommentLine", "value": " Validate text parameter", - "start": 858, - "end": 884, + "start": 854, + "end": 880, "loc": { "start": { - "line": 37, + "line": 36, "column": 8 }, "end": { - "line": 37, + "line": 36, "column": 34 } } @@ -11482,15 +11482,15 @@ "updateContext": null }, "value": "if", - "start": 894, - "end": 896, + "start": 890, + "end": 892, "loc": { "start": { - "line": 38, + "line": 37, "column": 8 }, "end": { - "line": 38, + "line": 37, "column": 10 } } @@ -11507,15 +11507,15 @@ "postfix": false, "binop": null }, - "start": 897, - "end": 898, + "start": 893, + "end": 894, "loc": { "start": { - "line": 38, + "line": 37, "column": 11 }, "end": { - "line": 38, + "line": 37, "column": 12 } } @@ -11535,15 +11535,15 @@ "updateContext": null }, "value": "typeof", - "start": 898, - "end": 904, + "start": 894, + "end": 900, "loc": { "start": { - "line": 38, + "line": 37, "column": 12 }, "end": { - "line": 38, + "line": 37, "column": 18 } } @@ -11561,15 +11561,15 @@ "binop": null }, "value": "text", - "start": 905, - "end": 909, + "start": 901, + "end": 905, "loc": { "start": { - "line": 38, + "line": 37, "column": 19 }, "end": { - "line": 38, + "line": 37, "column": 23 } } @@ -11588,15 +11588,15 @@ "updateContext": null }, "value": "!==", - "start": 910, - "end": 913, + "start": 906, + "end": 909, "loc": { "start": { - "line": 38, + "line": 37, "column": 24 }, "end": { - "line": 38, + "line": 37, "column": 27 } } @@ -11615,15 +11615,15 @@ "updateContext": null }, "value": "string", - "start": 914, - "end": 922, + "start": 910, + "end": 918, "loc": { "start": { - "line": 38, + "line": 37, "column": 28 }, "end": { - "line": 38, + "line": 37, "column": 36 } } @@ -11640,15 +11640,15 @@ "postfix": false, "binop": null }, - "start": 922, - "end": 923, + "start": 918, + "end": 919, "loc": { "start": { - "line": 38, + "line": 37, "column": 36 }, "end": { - "line": 38, + "line": 37, "column": 37 } } @@ -11665,15 +11665,15 @@ "postfix": false, "binop": null }, - "start": 924, - "end": 925, + "start": 920, + "end": 921, "loc": { "start": { - "line": 38, + "line": 37, "column": 38 }, "end": { - "line": 38, + "line": 37, "column": 39 } } @@ -11693,15 +11693,15 @@ "updateContext": null }, "value": "throw", - "start": 939, - "end": 944, + "start": 935, + "end": 940, "loc": { "start": { - "line": 39, + "line": 38, "column": 12 }, "end": { - "line": 39, + "line": 38, "column": 17 } } @@ -11721,15 +11721,15 @@ "updateContext": null }, "value": "new", - "start": 945, - "end": 948, + "start": 941, + "end": 944, "loc": { "start": { - "line": 39, + "line": 38, "column": 18 }, "end": { - "line": 39, + "line": 38, "column": 21 } } @@ -11747,15 +11747,15 @@ "binop": null }, "value": "Error", - "start": 949, - "end": 954, + "start": 945, + "end": 950, "loc": { "start": { - "line": 39, + "line": 38, "column": 22 }, "end": { - "line": 39, + "line": 38, "column": 27 } } @@ -11772,15 +11772,15 @@ "postfix": false, "binop": null }, - "start": 954, - "end": 955, + "start": 950, + "end": 951, "loc": { "start": { - "line": 39, + "line": 38, "column": 27 }, "end": { - "line": 39, + "line": 38, "column": 28 } } @@ -11799,15 +11799,15 @@ "updateContext": null }, "value": "Parameter \"text\" must be of type \"string\".", - "start": 955, - "end": 999, + "start": 951, + "end": 995, "loc": { "start": { - "line": 39, + "line": 38, "column": 28 }, "end": { - "line": 39, + "line": 38, "column": 72 } } @@ -11824,15 +11824,15 @@ "postfix": false, "binop": null }, - "start": 999, - "end": 1000, + "start": 995, + "end": 996, "loc": { "start": { - "line": 39, + "line": 38, "column": 72 }, "end": { - "line": 39, + "line": 38, "column": 73 } } @@ -11850,15 +11850,15 @@ "binop": null, "updateContext": null }, - "start": 1000, - "end": 1001, + "start": 996, + "end": 997, "loc": { "start": { - "line": 39, + "line": 38, "column": 73 }, "end": { - "line": 39, + "line": 38, "column": 74 } } @@ -11875,15 +11875,15 @@ "postfix": false, "binop": null }, - "start": 1011, - "end": 1012, + "start": 1007, + "end": 1008, "loc": { "start": { - "line": 40, + "line": 39, "column": 8 }, "end": { - "line": 40, + "line": 39, "column": 9 } } @@ -11891,15 +11891,15 @@ { "type": "CommentLine", "value": " Remove possible case sensitivity", - "start": 1024, - "end": 1059, + "start": 1020, + "end": 1055, "loc": { "start": { - "line": 42, + "line": 41, "column": 8 }, "end": { - "line": 42, + "line": 41, "column": 43 } } @@ -11917,15 +11917,15 @@ "binop": null }, "value": "text", - "start": 1069, - "end": 1073, + "start": 1065, + "end": 1069, "loc": { "start": { - "line": 43, + "line": 42, "column": 8 }, "end": { - "line": 43, + "line": 42, "column": 12 } } @@ -11944,15 +11944,15 @@ "updateContext": null }, "value": "=", - "start": 1074, - "end": 1075, + "start": 1070, + "end": 1071, "loc": { "start": { - "line": 43, + "line": 42, "column": 13 }, "end": { - "line": 43, + "line": 42, "column": 14 } } @@ -11970,15 +11970,15 @@ "binop": null }, "value": "text", - "start": 1076, - "end": 1080, + "start": 1072, + "end": 1076, "loc": { "start": { - "line": 43, + "line": 42, "column": 15 }, "end": { - "line": 43, + "line": 42, "column": 19 } } @@ -11996,15 +11996,15 @@ "binop": null, "updateContext": null }, - "start": 1080, - "end": 1081, + "start": 1076, + "end": 1077, "loc": { "start": { - "line": 43, + "line": 42, "column": 19 }, "end": { - "line": 43, + "line": 42, "column": 20 } } @@ -12022,15 +12022,15 @@ "binop": null }, "value": "toLowerCase", - "start": 1081, - "end": 1092, + "start": 1077, + "end": 1088, "loc": { "start": { - "line": 43, + "line": 42, "column": 20 }, "end": { - "line": 43, + "line": 42, "column": 31 } } @@ -12047,15 +12047,15 @@ "postfix": false, "binop": null }, - "start": 1092, - "end": 1093, + "start": 1088, + "end": 1089, "loc": { "start": { - "line": 43, + "line": 42, "column": 31 }, "end": { - "line": 43, + "line": 42, "column": 32 } } @@ -12072,15 +12072,15 @@ "postfix": false, "binop": null }, - "start": 1093, - "end": 1094, + "start": 1089, + "end": 1090, "loc": { "start": { - "line": 43, + "line": 42, "column": 32 }, "end": { - "line": 43, + "line": 42, "column": 33 } } @@ -12098,15 +12098,15 @@ "binop": null, "updateContext": null }, - "start": 1094, - "end": 1095, + "start": 1090, + "end": 1091, "loc": { "start": { - "line": 43, + "line": 42, "column": 33 }, "end": { - "line": 43, + "line": 42, "column": 34 } } @@ -12114,15 +12114,15 @@ { "type": "CommentLine", "value": " Remove non alphanumeric characters except \".\" and \"-\"", - "start": 1107, - "end": 1163, + "start": 1103, + "end": 1159, "loc": { "start": { - "line": 45, + "line": 44, "column": 8 }, "end": { - "line": 45, + "line": 44, "column": 64 } } @@ -12140,15 +12140,15 @@ "binop": null }, "value": "text", - "start": 1173, - "end": 1177, + "start": 1169, + "end": 1173, "loc": { "start": { - "line": 46, + "line": 45, "column": 8 }, "end": { - "line": 46, + "line": 45, "column": 12 } } @@ -12167,15 +12167,15 @@ "updateContext": null }, "value": "=", - "start": 1178, - "end": 1179, + "start": 1174, + "end": 1175, "loc": { "start": { - "line": 46, + "line": 45, "column": 13 }, "end": { - "line": 46, + "line": 45, "column": 14 } } @@ -12193,15 +12193,15 @@ "binop": null }, "value": "text", - "start": 1180, - "end": 1184, + "start": 1176, + "end": 1180, "loc": { "start": { - "line": 46, + "line": 45, "column": 15 }, "end": { - "line": 46, + "line": 45, "column": 19 } } @@ -12219,15 +12219,15 @@ "binop": null, "updateContext": null }, - "start": 1184, - "end": 1185, + "start": 1180, + "end": 1181, "loc": { "start": { - "line": 46, + "line": 45, "column": 19 }, "end": { - "line": 46, + "line": 45, "column": 20 } } @@ -12245,15 +12245,15 @@ "binop": null }, "value": "replace", - "start": 1185, - "end": 1192, + "start": 1181, + "end": 1188, "loc": { "start": { - "line": 46, + "line": 45, "column": 20 }, "end": { - "line": 46, + "line": 45, "column": 27 } } @@ -12270,15 +12270,15 @@ "postfix": false, "binop": null }, - "start": 1192, - "end": 1193, + "start": 1188, + "end": 1189, "loc": { "start": { - "line": 46, + "line": 45, "column": 27 }, "end": { - "line": 46, + "line": 45, "column": 28 } } @@ -12300,15 +12300,15 @@ "pattern": "[^0-9a-z.-]", "flags": "g" }, - "start": 1193, - "end": 1207, + "start": 1189, + "end": 1203, "loc": { "start": { - "line": 46, + "line": 45, "column": 28 }, "end": { - "line": 46, + "line": 45, "column": 42 } } @@ -12326,15 +12326,15 @@ "binop": null, "updateContext": null }, - "start": 1207, - "end": 1208, + "start": 1203, + "end": 1204, "loc": { "start": { - "line": 46, + "line": 45, "column": 42 }, "end": { - "line": 46, + "line": 45, "column": 43 } } @@ -12353,15 +12353,15 @@ "updateContext": null }, "value": "", - "start": 1209, - "end": 1211, + "start": 1205, + "end": 1207, "loc": { "start": { - "line": 46, + "line": 45, "column": 44 }, "end": { - "line": 46, + "line": 45, "column": 46 } } @@ -12378,15 +12378,15 @@ "postfix": false, "binop": null }, - "start": 1211, - "end": 1212, + "start": 1207, + "end": 1208, "loc": { "start": { - "line": 46, + "line": 45, "column": 46 }, "end": { - "line": 46, + "line": 45, "column": 47 } } @@ -12404,15 +12404,15 @@ "binop": null, "updateContext": null }, - "start": 1212, - "end": 1213, + "start": 1208, + "end": 1209, "loc": { "start": { - "line": 46, + "line": 45, "column": 47 }, "end": { - "line": 46, + "line": 45, "column": 48 } } @@ -12420,15 +12420,15 @@ { "type": "CommentLine", "value": " Is string empty?", - "start": 1225, - "end": 1244, + "start": 1221, + "end": 1240, "loc": { "start": { - "line": 48, + "line": 47, "column": 8 }, "end": { - "line": 48, + "line": 47, "column": 27 } } @@ -12448,15 +12448,15 @@ "updateContext": null }, "value": "if", - "start": 1254, - "end": 1256, + "start": 1250, + "end": 1252, "loc": { "start": { - "line": 49, + "line": 48, "column": 8 }, "end": { - "line": 49, + "line": 48, "column": 10 } } @@ -12473,15 +12473,15 @@ "postfix": false, "binop": null }, - "start": 1257, - "end": 1258, + "start": 1253, + "end": 1254, "loc": { "start": { - "line": 49, + "line": 48, "column": 11 }, "end": { - "line": 49, + "line": 48, "column": 12 } } @@ -12499,15 +12499,15 @@ "binop": null }, "value": "text", - "start": 1258, - "end": 1262, + "start": 1254, + "end": 1258, "loc": { "start": { - "line": 49, + "line": 48, "column": 12 }, "end": { - "line": 49, + "line": 48, "column": 16 } } @@ -12525,15 +12525,15 @@ "binop": null, "updateContext": null }, - "start": 1262, - "end": 1263, + "start": 1258, + "end": 1259, "loc": { "start": { - "line": 49, + "line": 48, "column": 16 }, "end": { - "line": 49, + "line": 48, "column": 17 } } @@ -12551,15 +12551,15 @@ "binop": null }, "value": "length", - "start": 1263, - "end": 1269, + "start": 1259, + "end": 1265, "loc": { "start": { - "line": 49, + "line": 48, "column": 17 }, "end": { - "line": 49, + "line": 48, "column": 23 } } @@ -12578,15 +12578,15 @@ "updateContext": null }, "value": "===", - "start": 1270, - "end": 1273, + "start": 1266, + "end": 1269, "loc": { "start": { - "line": 49, + "line": 48, "column": 24 }, "end": { - "line": 49, + "line": 48, "column": 27 } } @@ -12605,15 +12605,15 @@ "updateContext": null }, "value": 0, - "start": 1274, - "end": 1275, + "start": 1270, + "end": 1271, "loc": { "start": { - "line": 49, + "line": 48, "column": 28 }, "end": { - "line": 49, + "line": 48, "column": 29 } } @@ -12630,15 +12630,15 @@ "postfix": false, "binop": null }, - "start": 1275, - "end": 1276, + "start": 1271, + "end": 1272, "loc": { "start": { - "line": 49, + "line": 48, "column": 29 }, "end": { - "line": 49, + "line": 48, "column": 30 } } @@ -12655,15 +12655,15 @@ "postfix": false, "binop": null }, - "start": 1277, - "end": 1278, + "start": 1273, + "end": 1274, "loc": { "start": { - "line": 49, + "line": 48, "column": 31 }, "end": { - "line": 49, + "line": 48, "column": 32 } } @@ -12683,15 +12683,15 @@ "updateContext": null }, "value": "return", - "start": 1292, - "end": 1298, + "start": 1288, + "end": 1294, "loc": { "start": { - "line": 50, + "line": 49, "column": 12 }, "end": { - "line": 50, + "line": 49, "column": 18 } } @@ -12711,15 +12711,15 @@ "updateContext": null }, "value": "false", - "start": 1299, - "end": 1304, + "start": 1295, + "end": 1300, "loc": { "start": { - "line": 50, + "line": 49, "column": 19 }, "end": { - "line": 50, + "line": 49, "column": 24 } } @@ -12737,15 +12737,15 @@ "binop": null, "updateContext": null }, - "start": 1304, - "end": 1305, + "start": 1300, + "end": 1301, "loc": { "start": { - "line": 50, + "line": 49, "column": 24 }, "end": { - "line": 50, + "line": 49, "column": 25 } } @@ -12762,15 +12762,15 @@ "postfix": false, "binop": null }, - "start": 1315, - "end": 1316, + "start": 1311, + "end": 1312, "loc": { "start": { - "line": 51, + "line": 50, "column": 8 }, "end": { - "line": 51, + "line": 50, "column": 9 } } @@ -12778,15 +12778,15 @@ { "type": "CommentLine", "value": " Linear char parsing", - "start": 1328, - "end": 1350, + "start": 1324, + "end": 1346, "loc": { "start": { - "line": 53, + "line": 52, "column": 8 }, "end": { - "line": 53, + "line": 52, "column": 30 } } @@ -12806,15 +12806,15 @@ "updateContext": null }, "value": "let", - "start": 1360, - "end": 1363, + "start": 1356, + "end": 1359, "loc": { "start": { - "line": 54, + "line": 53, "column": 8 }, "end": { - "line": 54, + "line": 53, "column": 11 } } @@ -12832,15 +12832,15 @@ "binop": null }, "value": "value", - "start": 1364, - "end": 1369, + "start": 1360, + "end": 1365, "loc": { "start": { - "line": 54, + "line": 53, "column": 12 }, "end": { - "line": 54, + "line": 53, "column": 17 } } @@ -12859,15 +12859,15 @@ "updateContext": null }, "value": "=", - "start": 1370, - "end": 1371, + "start": 1366, + "end": 1367, "loc": { "start": { - "line": 54, + "line": 53, "column": 18 }, "end": { - "line": 54, + "line": 53, "column": 19 } } @@ -12886,15 +12886,15 @@ "updateContext": null }, "value": "", - "start": 1372, - "end": 1374, + "start": 1368, + "end": 1370, "loc": { "start": { - "line": 54, + "line": 53, "column": 20 }, "end": { - "line": 54, + "line": 53, "column": 22 } } @@ -12912,15 +12912,15 @@ "binop": null, "updateContext": null }, - "start": 1374, - "end": 1375, + "start": 1370, + "end": 1371, "loc": { "start": { - "line": 54, + "line": 53, "column": 22 }, "end": { - "line": 54, + "line": 53, "column": 23 } } @@ -12940,15 +12940,15 @@ "updateContext": null }, "value": "let", - "start": 1385, - "end": 1388, + "start": 1381, + "end": 1384, "loc": { "start": { - "line": 55, + "line": 54, "column": 8 }, "end": { - "line": 55, + "line": 54, "column": 11 } } @@ -12966,15 +12966,15 @@ "binop": null }, "value": "signifier", - "start": 1389, - "end": 1398, + "start": 1385, + "end": 1394, "loc": { "start": { - "line": 55, + "line": 54, "column": 12 }, "end": { - "line": 55, + "line": 54, "column": 21 } } @@ -12993,15 +12993,15 @@ "updateContext": null }, "value": "=", - "start": 1399, - "end": 1400, + "start": 1395, + "end": 1396, "loc": { "start": { - "line": 55, + "line": 54, "column": 22 }, "end": { - "line": 55, + "line": 54, "column": 23 } } @@ -13020,15 +13020,15 @@ "updateContext": null }, "value": "", - "start": 1401, - "end": 1403, + "start": 1397, + "end": 1399, "loc": { "start": { - "line": 55, + "line": 54, "column": 24 }, "end": { - "line": 55, + "line": 54, "column": 26 } } @@ -13046,15 +13046,15 @@ "binop": null, "updateContext": null }, - "start": 1403, - "end": 1404, + "start": 1399, + "end": 1400, "loc": { "start": { - "line": 55, + "line": 54, "column": 26 }, "end": { - "line": 55, + "line": 54, "column": 27 } } @@ -13074,15 +13074,15 @@ "updateContext": null }, "value": "let", - "start": 1414, - "end": 1417, + "start": 1410, + "end": 1413, "loc": { "start": { - "line": 56, + "line": 55, "column": 8 }, "end": { - "line": 56, + "line": 55, "column": 11 } } @@ -13100,15 +13100,15 @@ "binop": null }, "value": "unit", - "start": 1418, - "end": 1422, + "start": 1414, + "end": 1418, "loc": { "start": { - "line": 56, + "line": 55, "column": 12 }, "end": { - "line": 56, + "line": 55, "column": 16 } } @@ -13126,15 +13126,15 @@ "binop": null, "updateContext": null }, - "start": 1422, - "end": 1423, + "start": 1418, + "end": 1419, "loc": { "start": { - "line": 56, + "line": 55, "column": 16 }, "end": { - "line": 56, + "line": 55, "column": 17 } } @@ -13154,15 +13154,15 @@ "updateContext": null }, "value": "let", - "start": 1433, - "end": 1436, + "start": 1429, + "end": 1432, "loc": { "start": { - "line": 57, + "line": 56, "column": 8 }, "end": { - "line": 57, + "line": 56, "column": 11 } } @@ -13180,15 +13180,15 @@ "binop": null }, "value": "total", - "start": 1437, - "end": 1442, + "start": 1433, + "end": 1438, "loc": { "start": { - "line": 57, + "line": 56, "column": 12 }, "end": { - "line": 57, + "line": 56, "column": 17 } } @@ -13207,15 +13207,15 @@ "updateContext": null }, "value": "=", - "start": 1443, - "end": 1444, + "start": 1439, + "end": 1440, "loc": { "start": { - "line": 57, + "line": 56, "column": 18 }, "end": { - "line": 57, + "line": 56, "column": 19 } } @@ -13234,15 +13234,15 @@ "updateContext": null }, "value": 0, - "start": 1445, - "end": 1446, + "start": 1441, + "end": 1442, "loc": { "start": { - "line": 57, + "line": 56, "column": 20 }, "end": { - "line": 57, + "line": 56, "column": 21 } } @@ -13260,15 +13260,15 @@ "binop": null, "updateContext": null }, - "start": 1446, - "end": 1447, + "start": 1442, + "end": 1443, "loc": { "start": { - "line": 57, + "line": 56, "column": 21 }, "end": { - "line": 57, + "line": 56, "column": 22 } } @@ -13276,15 +13276,15 @@ { "type": "CommentLine", "value": " Loop through each character of string", - "start": 1459, - "end": 1499, + "start": 1455, + "end": 1495, "loc": { "start": { - "line": 59, + "line": 58, "column": 8 }, "end": { - "line": 59, + "line": 58, "column": 48 } } @@ -13304,15 +13304,15 @@ "updateContext": null }, "value": "for", - "start": 1509, - "end": 1512, + "start": 1505, + "end": 1508, "loc": { "start": { - "line": 60, + "line": 59, "column": 8 }, "end": { - "line": 60, + "line": 59, "column": 11 } } @@ -13329,15 +13329,15 @@ "postfix": false, "binop": null }, - "start": 1513, - "end": 1514, + "start": 1509, + "end": 1510, "loc": { "start": { - "line": 60, + "line": 59, "column": 12 }, "end": { - "line": 60, + "line": 59, "column": 13 } } @@ -13357,15 +13357,15 @@ "updateContext": null }, "value": "let", - "start": 1514, - "end": 1517, + "start": 1510, + "end": 1513, "loc": { "start": { - "line": 60, + "line": 59, "column": 13 }, "end": { - "line": 60, + "line": 59, "column": 16 } } @@ -13383,15 +13383,15 @@ "binop": null }, "value": "i", - "start": 1518, - "end": 1519, + "start": 1514, + "end": 1515, "loc": { "start": { - "line": 60, + "line": 59, "column": 17 }, "end": { - "line": 60, + "line": 59, "column": 18 } } @@ -13410,15 +13410,15 @@ "updateContext": null }, "value": "=", - "start": 1520, - "end": 1521, + "start": 1516, + "end": 1517, "loc": { "start": { - "line": 60, + "line": 59, "column": 19 }, "end": { - "line": 60, + "line": 59, "column": 20 } } @@ -13437,15 +13437,15 @@ "updateContext": null }, "value": 0, - "start": 1522, - "end": 1523, + "start": 1518, + "end": 1519, "loc": { "start": { - "line": 60, + "line": 59, "column": 21 }, "end": { - "line": 60, + "line": 59, "column": 22 } } @@ -13463,15 +13463,15 @@ "binop": null, "updateContext": null }, - "start": 1523, - "end": 1524, + "start": 1519, + "end": 1520, "loc": { "start": { - "line": 60, + "line": 59, "column": 22 }, "end": { - "line": 60, + "line": 59, "column": 23 } } @@ -13489,15 +13489,15 @@ "binop": null }, "value": "i", - "start": 1525, - "end": 1526, + "start": 1521, + "end": 1522, "loc": { "start": { - "line": 60, + "line": 59, "column": 24 }, "end": { - "line": 60, + "line": 59, "column": 25 } } @@ -13516,15 +13516,15 @@ "updateContext": null }, "value": "<", - "start": 1527, - "end": 1528, + "start": 1523, + "end": 1524, "loc": { "start": { - "line": 60, + "line": 59, "column": 26 }, "end": { - "line": 60, + "line": 59, "column": 27 } } @@ -13542,15 +13542,15 @@ "binop": null }, "value": "text", - "start": 1529, - "end": 1533, + "start": 1525, + "end": 1529, "loc": { "start": { - "line": 60, + "line": 59, "column": 28 }, "end": { - "line": 60, + "line": 59, "column": 32 } } @@ -13568,15 +13568,15 @@ "binop": null, "updateContext": null }, - "start": 1533, - "end": 1534, + "start": 1529, + "end": 1530, "loc": { "start": { - "line": 60, + "line": 59, "column": 32 }, "end": { - "line": 60, + "line": 59, "column": 33 } } @@ -13594,15 +13594,15 @@ "binop": null }, "value": "length", - "start": 1534, - "end": 1540, + "start": 1530, + "end": 1536, "loc": { "start": { - "line": 60, + "line": 59, "column": 33 }, "end": { - "line": 60, + "line": 59, "column": 39 } } @@ -13620,15 +13620,15 @@ "binop": null, "updateContext": null }, - "start": 1540, - "end": 1541, + "start": 1536, + "end": 1537, "loc": { "start": { - "line": 60, + "line": 59, "column": 39 }, "end": { - "line": 60, + "line": 59, "column": 40 } } @@ -13646,15 +13646,15 @@ "binop": null }, "value": "i", - "start": 1542, - "end": 1543, + "start": 1538, + "end": 1539, "loc": { "start": { - "line": 60, + "line": 59, "column": 41 }, "end": { - "line": 60, + "line": 59, "column": 42 } } @@ -13672,15 +13672,15 @@ "binop": null }, "value": "++", - "start": 1543, - "end": 1545, + "start": 1539, + "end": 1541, "loc": { "start": { - "line": 60, + "line": 59, "column": 42 }, "end": { - "line": 60, + "line": 59, "column": 44 } } @@ -13697,15 +13697,15 @@ "postfix": false, "binop": null }, - "start": 1545, - "end": 1546, + "start": 1541, + "end": 1542, "loc": { "start": { - "line": 60, + "line": 59, "column": 44 }, "end": { - "line": 60, + "line": 59, "column": 45 } } @@ -13722,15 +13722,15 @@ "postfix": false, "binop": null }, - "start": 1547, - "end": 1548, + "start": 1543, + "end": 1544, "loc": { "start": { - "line": 60, + "line": 59, "column": 46 }, "end": { - "line": 60, + "line": 59, "column": 47 } } @@ -13738,15 +13738,15 @@ { "type": "CommentLine", "value": " Get current char", - "start": 1562, - "end": 1581, + "start": 1558, + "end": 1577, "loc": { "start": { - "line": 61, + "line": 60, "column": 12 }, "end": { - "line": 61, + "line": 60, "column": 31 } } @@ -13766,15 +13766,15 @@ "updateContext": null }, "value": "const", - "start": 1595, - "end": 1600, + "start": 1591, + "end": 1596, "loc": { "start": { - "line": 62, + "line": 61, "column": 12 }, "end": { - "line": 62, + "line": 61, "column": 17 } } @@ -13792,15 +13792,15 @@ "binop": null }, "value": "char", - "start": 1601, - "end": 1605, + "start": 1597, + "end": 1601, "loc": { "start": { - "line": 62, + "line": 61, "column": 18 }, "end": { - "line": 62, + "line": 61, "column": 22 } } @@ -13819,15 +13819,15 @@ "updateContext": null }, "value": "=", - "start": 1606, - "end": 1607, + "start": 1602, + "end": 1603, "loc": { "start": { - "line": 62, + "line": 61, "column": 23 }, "end": { - "line": 62, + "line": 61, "column": 24 } } @@ -13845,15 +13845,15 @@ "binop": null }, "value": "text", - "start": 1608, - "end": 1612, + "start": 1604, + "end": 1608, "loc": { "start": { - "line": 62, + "line": 61, "column": 25 }, "end": { - "line": 62, + "line": 61, "column": 29 } } @@ -13871,15 +13871,15 @@ "binop": null, "updateContext": null }, - "start": 1612, - "end": 1613, + "start": 1608, + "end": 1609, "loc": { "start": { - "line": 62, + "line": 61, "column": 29 }, "end": { - "line": 62, + "line": 61, "column": 30 } } @@ -13897,15 +13897,15 @@ "binop": null }, "value": "charAt", - "start": 1613, - "end": 1619, + "start": 1609, + "end": 1615, "loc": { "start": { - "line": 62, + "line": 61, "column": 30 }, "end": { - "line": 62, + "line": 61, "column": 36 } } @@ -13922,15 +13922,15 @@ "postfix": false, "binop": null }, - "start": 1619, - "end": 1620, + "start": 1615, + "end": 1616, "loc": { "start": { - "line": 62, + "line": 61, "column": 36 }, "end": { - "line": 62, + "line": 61, "column": 37 } } @@ -13948,15 +13948,15 @@ "binop": null }, "value": "i", - "start": 1620, - "end": 1621, + "start": 1616, + "end": 1617, "loc": { "start": { - "line": 62, + "line": 61, "column": 37 }, "end": { - "line": 62, + "line": 61, "column": 38 } } @@ -13973,15 +13973,15 @@ "postfix": false, "binop": null }, - "start": 1621, - "end": 1622, + "start": 1617, + "end": 1618, "loc": { "start": { - "line": 62, + "line": 61, "column": 38 }, "end": { - "line": 62, + "line": 61, "column": 39 } } @@ -13999,15 +13999,15 @@ "binop": null, "updateContext": null }, - "start": 1622, - "end": 1623, + "start": 1618, + "end": 1619, "loc": { "start": { - "line": 62, + "line": 61, "column": 39 }, "end": { - "line": 62, + "line": 61, "column": 40 } } @@ -14015,15 +14015,15 @@ { "type": "CommentLine", "value": " Check for alphabet letter (a-z,0-9|a-z,0-9|...) [comma = separator between value and signifier, | = separator between pairs]", - "start": 1639, - "end": 1766, + "start": 1635, + "end": 1762, "loc": { "start": { - "line": 64, + "line": 63, "column": 12 }, "end": { - "line": 64, + "line": 63, "column": 139 } } @@ -14043,15 +14043,15 @@ "updateContext": null }, "value": "if", - "start": 1780, - "end": 1782, + "start": 1776, + "end": 1778, "loc": { "start": { - "line": 65, + "line": 64, "column": 12 }, "end": { - "line": 65, + "line": 64, "column": 14 } } @@ -14068,15 +14068,15 @@ "postfix": false, "binop": null }, - "start": 1783, - "end": 1784, + "start": 1779, + "end": 1780, "loc": { "start": { - "line": 65, + "line": 64, "column": 15 }, "end": { - "line": 65, + "line": 64, "column": 16 } } @@ -14094,15 +14094,15 @@ "binop": null }, "value": "char", - "start": 1784, - "end": 1788, + "start": 1780, + "end": 1784, "loc": { "start": { - "line": 65, + "line": 64, "column": 16 }, "end": { - "line": 65, + "line": 64, "column": 20 } } @@ -14120,15 +14120,15 @@ "binop": null, "updateContext": null }, - "start": 1788, - "end": 1789, + "start": 1784, + "end": 1785, "loc": { "start": { - "line": 65, + "line": 64, "column": 20 }, "end": { - "line": 65, + "line": 64, "column": 21 } } @@ -14146,15 +14146,15 @@ "binop": null }, "value": "match", - "start": 1789, - "end": 1794, + "start": 1785, + "end": 1790, "loc": { "start": { - "line": 65, + "line": 64, "column": 21 }, "end": { - "line": 65, + "line": 64, "column": 26 } } @@ -14171,15 +14171,15 @@ "postfix": false, "binop": null }, - "start": 1794, - "end": 1795, + "start": 1790, + "end": 1791, "loc": { "start": { - "line": 65, + "line": 64, "column": 26 }, "end": { - "line": 65, + "line": 64, "column": 27 } } @@ -14201,15 +14201,15 @@ "pattern": "[a-z]", "flags": "" }, - "start": 1795, - "end": 1802, + "start": 1791, + "end": 1798, "loc": { "start": { - "line": 65, + "line": 64, "column": 27 }, "end": { - "line": 65, + "line": 64, "column": 34 } } @@ -14226,15 +14226,15 @@ "postfix": false, "binop": null }, - "start": 1802, - "end": 1803, + "start": 1798, + "end": 1799, "loc": { "start": { - "line": 65, + "line": 64, "column": 34 }, "end": { - "line": 65, + "line": 64, "column": 35 } } @@ -14251,15 +14251,15 @@ "postfix": false, "binop": null }, - "start": 1803, - "end": 1804, + "start": 1799, + "end": 1800, "loc": { "start": { - "line": 65, + "line": 64, "column": 35 }, "end": { - "line": 65, + "line": 64, "column": 36 } } @@ -14276,15 +14276,15 @@ "postfix": false, "binop": null }, - "start": 1805, - "end": 1806, + "start": 1801, + "end": 1802, "loc": { "start": { - "line": 65, + "line": 64, "column": 37 }, "end": { - "line": 65, + "line": 64, "column": 38 } } @@ -14292,15 +14292,15 @@ { "type": "CommentLine", "value": " Catch the case where they supply text prior to the value", - "start": 1824, - "end": 1883, + "start": 1820, + "end": 1879, "loc": { "start": { - "line": 66, + "line": 65, "column": 16 }, "end": { - "line": 66, + "line": 65, "column": 75 } } @@ -14320,15 +14320,15 @@ "updateContext": null }, "value": "if", - "start": 1901, - "end": 1903, + "start": 1897, + "end": 1899, "loc": { "start": { - "line": 67, + "line": 66, "column": 16 }, "end": { - "line": 67, + "line": 66, "column": 18 } } @@ -14345,15 +14345,15 @@ "postfix": false, "binop": null }, - "start": 1904, - "end": 1905, + "start": 1900, + "end": 1901, "loc": { "start": { - "line": 67, + "line": 66, "column": 19 }, "end": { - "line": 67, + "line": 66, "column": 20 } } @@ -14371,15 +14371,15 @@ "binop": null }, "value": "value", - "start": 1905, - "end": 1910, + "start": 1901, + "end": 1906, "loc": { "start": { - "line": 67, + "line": 66, "column": 20 }, "end": { - "line": 67, + "line": 66, "column": 25 } } @@ -14397,15 +14397,15 @@ "binop": null, "updateContext": null }, - "start": 1910, - "end": 1911, + "start": 1906, + "end": 1907, "loc": { "start": { - "line": 67, + "line": 66, "column": 25 }, "end": { - "line": 67, + "line": 66, "column": 26 } } @@ -14423,15 +14423,15 @@ "binop": null }, "value": "length", - "start": 1911, - "end": 1917, + "start": 1907, + "end": 1913, "loc": { "start": { - "line": 67, + "line": 66, "column": 26 }, "end": { - "line": 67, + "line": 66, "column": 32 } } @@ -14450,15 +14450,15 @@ "updateContext": null }, "value": "===", - "start": 1918, - "end": 1921, + "start": 1914, + "end": 1917, "loc": { "start": { - "line": 67, + "line": 66, "column": 33 }, "end": { - "line": 67, + "line": 66, "column": 36 } } @@ -14477,15 +14477,15 @@ "updateContext": null }, "value": 0, - "start": 1922, - "end": 1923, + "start": 1918, + "end": 1919, "loc": { "start": { - "line": 67, + "line": 66, "column": 37 }, "end": { - "line": 67, + "line": 66, "column": 38 } } @@ -14502,15 +14502,15 @@ "postfix": false, "binop": null }, - "start": 1923, - "end": 1924, + "start": 1919, + "end": 1920, "loc": { "start": { - "line": 67, + "line": 66, "column": 38 }, "end": { - "line": 67, + "line": 66, "column": 39 } } @@ -14527,15 +14527,15 @@ "postfix": false, "binop": null }, - "start": 1925, - "end": 1926, + "start": 1921, + "end": 1922, "loc": { "start": { - "line": 67, + "line": 66, "column": 40 }, "end": { - "line": 67, + "line": 66, "column": 41 } } @@ -14555,15 +14555,15 @@ "updateContext": null }, "value": "return", - "start": 1948, - "end": 1954, + "start": 1944, + "end": 1950, "loc": { "start": { - "line": 68, + "line": 67, "column": 20 }, "end": { - "line": 68, + "line": 67, "column": 26 } } @@ -14583,15 +14583,15 @@ "updateContext": null }, "value": "false", - "start": 1955, - "end": 1960, + "start": 1951, + "end": 1956, "loc": { "start": { - "line": 68, + "line": 67, "column": 27 }, "end": { - "line": 68, + "line": 67, "column": 32 } } @@ -14609,15 +14609,15 @@ "binop": null, "updateContext": null }, - "start": 1960, - "end": 1961, + "start": 1956, + "end": 1957, "loc": { "start": { - "line": 68, + "line": 67, "column": 32 }, "end": { - "line": 68, + "line": 67, "column": 33 } } @@ -14634,15 +14634,15 @@ "postfix": false, "binop": null }, - "start": 1979, - "end": 1980, + "start": 1975, + "end": 1976, "loc": { "start": { - "line": 69, + "line": 68, "column": 16 }, "end": { - "line": 69, + "line": 68, "column": 17 } } @@ -14660,15 +14660,15 @@ "binop": null }, "value": "signifier", - "start": 2000, - "end": 2009, + "start": 1996, + "end": 2005, "loc": { "start": { - "line": 71, + "line": 70, "column": 16 }, "end": { - "line": 71, + "line": 70, "column": 25 } } @@ -14687,15 +14687,15 @@ "updateContext": null }, "value": "+=", - "start": 2010, - "end": 2012, + "start": 2006, + "end": 2008, "loc": { "start": { - "line": 71, + "line": 70, "column": 26 }, "end": { - "line": 71, + "line": 70, "column": 28 } } @@ -14713,15 +14713,15 @@ "binop": null }, "value": "char", - "start": 2013, - "end": 2017, + "start": 2009, + "end": 2013, "loc": { "start": { - "line": 71, + "line": 70, "column": 29 }, "end": { - "line": 71, + "line": 70, "column": 33 } } @@ -14739,15 +14739,15 @@ "binop": null, "updateContext": null }, - "start": 2017, - "end": 2018, + "start": 2013, + "end": 2014, "loc": { "start": { - "line": 71, + "line": 70, "column": 33 }, "end": { - "line": 71, + "line": 70, "column": 34 } } @@ -14764,15 +14764,15 @@ "postfix": false, "binop": null }, - "start": 2032, - "end": 2033, + "start": 2028, + "end": 2029, "loc": { "start": { - "line": 72, + "line": 71, "column": 12 }, "end": { - "line": 72, + "line": 71, "column": 13 } } @@ -14792,15 +14792,15 @@ "updateContext": null }, "value": "else", - "start": 2034, - "end": 2038, + "start": 2030, + "end": 2034, "loc": { "start": { - "line": 72, + "line": 71, "column": 14 }, "end": { - "line": 72, + "line": 71, "column": 18 } } @@ -14817,15 +14817,15 @@ "postfix": false, "binop": null }, - "start": 2039, - "end": 2040, + "start": 2035, + "end": 2036, "loc": { "start": { - "line": 72, + "line": 71, "column": 19 }, "end": { - "line": 72, + "line": 71, "column": 20 } } @@ -14833,15 +14833,15 @@ { "type": "CommentLine", "value": " Check if this is next unit pair (i.e. value,signifier|value,signifier|...)", - "start": 2058, - "end": 2135, + "start": 2054, + "end": 2131, "loc": { "start": { - "line": 73, + "line": 72, "column": 16 }, "end": { - "line": 73, + "line": 72, "column": 93 } } @@ -14861,15 +14861,15 @@ "updateContext": null }, "value": "if", - "start": 2153, - "end": 2155, + "start": 2149, + "end": 2151, "loc": { "start": { - "line": 74, + "line": 73, "column": 16 }, "end": { - "line": 74, + "line": 73, "column": 18 } } @@ -14886,15 +14886,15 @@ "postfix": false, "binop": null }, - "start": 2156, - "end": 2157, + "start": 2152, + "end": 2153, "loc": { "start": { - "line": 74, + "line": 73, "column": 19 }, "end": { - "line": 74, + "line": 73, "column": 20 } } @@ -14912,15 +14912,15 @@ "binop": null }, "value": "signifier", - "start": 2157, - "end": 2166, + "start": 2153, + "end": 2162, "loc": { "start": { - "line": 74, + "line": 73, "column": 20 }, "end": { - "line": 74, + "line": 73, "column": 29 } } @@ -14938,15 +14938,15 @@ "binop": null, "updateContext": null }, - "start": 2166, - "end": 2167, + "start": 2162, + "end": 2163, "loc": { "start": { - "line": 74, + "line": 73, "column": 29 }, "end": { - "line": 74, + "line": 73, "column": 30 } } @@ -14964,15 +14964,15 @@ "binop": null }, "value": "length", - "start": 2167, - "end": 2173, + "start": 2163, + "end": 2169, "loc": { "start": { - "line": 74, + "line": 73, "column": 30 }, "end": { - "line": 74, + "line": 73, "column": 36 } } @@ -14991,15 +14991,15 @@ "updateContext": null }, "value": ">", - "start": 2174, - "end": 2175, + "start": 2170, + "end": 2171, "loc": { "start": { - "line": 74, + "line": 73, "column": 37 }, "end": { - "line": 74, + "line": 73, "column": 38 } } @@ -15018,15 +15018,15 @@ "updateContext": null }, "value": 0, - "start": 2176, - "end": 2177, + "start": 2172, + "end": 2173, "loc": { "start": { - "line": 74, + "line": 73, "column": 39 }, "end": { - "line": 74, + "line": 73, "column": 40 } } @@ -15043,15 +15043,15 @@ "postfix": false, "binop": null }, - "start": 2177, - "end": 2178, + "start": 2173, + "end": 2174, "loc": { "start": { - "line": 74, + "line": 73, "column": 40 }, "end": { - "line": 74, + "line": 73, "column": 41 } } @@ -15068,15 +15068,15 @@ "postfix": false, "binop": null }, - "start": 2179, - "end": 2180, + "start": 2175, + "end": 2176, "loc": { "start": { - "line": 74, + "line": 73, "column": 42 }, "end": { - "line": 74, + "line": 73, "column": 43 } } @@ -15084,15 +15084,15 @@ { "type": "CommentLine", "value": " Convert to string to number", - "start": 2202, - "end": 2232, + "start": 2198, + "end": 2228, "loc": { "start": { - "line": 75, + "line": 74, "column": 20 }, "end": { - "line": 75, + "line": 74, "column": 50 } } @@ -15112,15 +15112,15 @@ "updateContext": null }, "value": "let", - "start": 2254, - "end": 2257, + "start": 2250, + "end": 2253, "loc": { "start": { - "line": 76, + "line": 75, "column": 20 }, "end": { - "line": 76, + "line": 75, "column": 23 } } @@ -15138,15 +15138,15 @@ "binop": null }, "value": "v", - "start": 2258, - "end": 2259, + "start": 2254, + "end": 2255, "loc": { "start": { - "line": 76, + "line": 75, "column": 24 }, "end": { - "line": 76, + "line": 75, "column": 25 } } @@ -15165,15 +15165,15 @@ "updateContext": null }, "value": "=", - "start": 2260, - "end": 2261, + "start": 2256, + "end": 2257, "loc": { "start": { - "line": 76, + "line": 75, "column": 26 }, "end": { - "line": 76, + "line": 75, "column": 27 } } @@ -15191,15 +15191,15 @@ "binop": null }, "value": "parseFloat", - "start": 2262, - "end": 2272, + "start": 2258, + "end": 2268, "loc": { "start": { - "line": 76, + "line": 75, "column": 28 }, "end": { - "line": 76, + "line": 75, "column": 38 } } @@ -15216,15 +15216,15 @@ "postfix": false, "binop": null }, - "start": 2272, - "end": 2273, + "start": 2268, + "end": 2269, "loc": { "start": { - "line": 76, + "line": 75, "column": 38 }, "end": { - "line": 76, + "line": 75, "column": 39 } } @@ -15242,15 +15242,15 @@ "binop": null }, "value": "value", - "start": 2273, - "end": 2278, + "start": 2269, + "end": 2274, "loc": { "start": { - "line": 76, + "line": 75, "column": 39 }, "end": { - "line": 76, + "line": 75, "column": 44 } } @@ -15267,15 +15267,15 @@ "postfix": false, "binop": null }, - "start": 2278, - "end": 2279, + "start": 2274, + "end": 2275, "loc": { "start": { - "line": 76, + "line": 75, "column": 44 }, "end": { - "line": 76, + "line": 75, "column": 45 } } @@ -15293,15 +15293,15 @@ "binop": null, "updateContext": null }, - "start": 2279, - "end": 2280, + "start": 2275, + "end": 2276, "loc": { "start": { - "line": 76, + "line": 75, "column": 45 }, "end": { - "line": 76, + "line": 75, "column": 46 } } @@ -15309,15 +15309,15 @@ { "type": "CommentLine", "value": " Mass cannot be negative", - "start": 2304, - "end": 2330, + "start": 2300, + "end": 2326, "loc": { "start": { - "line": 78, + "line": 77, "column": 20 }, "end": { - "line": 78, + "line": 77, "column": 46 } } @@ -15337,15 +15337,15 @@ "updateContext": null }, "value": "if", - "start": 2352, - "end": 2354, + "start": 2348, + "end": 2350, "loc": { "start": { - "line": 79, + "line": 78, "column": 20 }, "end": { - "line": 79, + "line": 78, "column": 22 } } @@ -15362,15 +15362,15 @@ "postfix": false, "binop": null }, - "start": 2355, - "end": 2356, + "start": 2351, + "end": 2352, "loc": { "start": { - "line": 79, + "line": 78, "column": 23 }, "end": { - "line": 79, + "line": 78, "column": 24 } } @@ -15388,15 +15388,15 @@ "binop": null }, "value": "v", - "start": 2356, - "end": 2357, + "start": 2352, + "end": 2353, "loc": { "start": { - "line": 79, + "line": 78, "column": 24 }, "end": { - "line": 79, + "line": 78, "column": 25 } } @@ -15415,15 +15415,15 @@ "updateContext": null }, "value": "<", - "start": 2358, - "end": 2359, + "start": 2354, + "end": 2355, "loc": { "start": { - "line": 79, + "line": 78, "column": 26 }, "end": { - "line": 79, + "line": 78, "column": 27 } } @@ -15442,15 +15442,15 @@ "updateContext": null }, "value": 0, - "start": 2360, - "end": 2361, + "start": 2356, + "end": 2357, "loc": { "start": { - "line": 79, + "line": 78, "column": 28 }, "end": { - "line": 79, + "line": 78, "column": 29 } } @@ -15467,15 +15467,15 @@ "postfix": false, "binop": null }, - "start": 2361, - "end": 2362, + "start": 2357, + "end": 2358, "loc": { "start": { - "line": 79, + "line": 78, "column": 29 }, "end": { - "line": 79, + "line": 78, "column": 30 } } @@ -15492,15 +15492,15 @@ "postfix": false, "binop": null }, - "start": 2363, - "end": 2364, + "start": 2359, + "end": 2360, "loc": { "start": { - "line": 79, + "line": 78, "column": 31 }, "end": { - "line": 79, + "line": 78, "column": 32 } } @@ -15520,15 +15520,15 @@ "updateContext": null }, "value": "return", - "start": 2390, - "end": 2396, + "start": 2386, + "end": 2392, "loc": { "start": { - "line": 80, + "line": 79, "column": 24 }, "end": { - "line": 80, + "line": 79, "column": 30 } } @@ -15548,15 +15548,15 @@ "updateContext": null }, "value": "false", - "start": 2397, - "end": 2402, + "start": 2393, + "end": 2398, "loc": { "start": { - "line": 80, + "line": 79, "column": 31 }, "end": { - "line": 80, + "line": 79, "column": 36 } } @@ -15574,15 +15574,15 @@ "binop": null, "updateContext": null }, - "start": 2402, - "end": 2403, + "start": 2398, + "end": 2399, "loc": { "start": { - "line": 80, + "line": 79, "column": 36 }, "end": { - "line": 80, + "line": 79, "column": 37 } } @@ -15599,15 +15599,15 @@ "postfix": false, "binop": null }, - "start": 2425, - "end": 2426, + "start": 2421, + "end": 2422, "loc": { "start": { - "line": 81, + "line": 80, "column": 20 }, "end": { - "line": 81, + "line": 80, "column": 21 } } @@ -15615,15 +15615,15 @@ { "type": "CommentLine", "value": " Lookup unit signifier", - "start": 2450, - "end": 2474, + "start": 2446, + "end": 2470, "loc": { "start": { - "line": 83, + "line": 82, "column": 20 }, "end": { - "line": 83, + "line": 82, "column": 44 } } @@ -15641,15 +15641,15 @@ "binop": null }, "value": "unit", - "start": 2496, - "end": 2500, + "start": 2492, + "end": 2496, "loc": { "start": { - "line": 84, + "line": 83, "column": 20 }, "end": { - "line": 84, + "line": 83, "column": 24 } } @@ -15668,15 +15668,15 @@ "updateContext": null }, "value": "=", - "start": 2501, - "end": 2502, + "start": 2497, + "end": 2498, "loc": { "start": { - "line": 84, + "line": 83, "column": 25 }, "end": { - "line": 84, + "line": 83, "column": 26 } } @@ -15696,15 +15696,15 @@ "updateContext": null }, "value": "this", - "start": 2503, - "end": 2507, + "start": 2499, + "end": 2503, "loc": { "start": { - "line": 84, + "line": 83, "column": 27 }, "end": { - "line": 84, + "line": 83, "column": 31 } } @@ -15722,15 +15722,15 @@ "binop": null, "updateContext": null }, - "start": 2507, - "end": 2508, + "start": 2503, + "end": 2504, "loc": { "start": { - "line": 84, + "line": 83, "column": 31 }, "end": { - "line": 84, + "line": 83, "column": 32 } } @@ -15748,15 +15748,15 @@ "binop": null }, "value": "lookup", - "start": 2508, - "end": 2514, + "start": 2504, + "end": 2510, "loc": { "start": { - "line": 84, + "line": 83, "column": 32 }, "end": { - "line": 84, + "line": 83, "column": 38 } } @@ -15773,15 +15773,15 @@ "postfix": false, "binop": null }, - "start": 2514, - "end": 2515, + "start": 2510, + "end": 2511, "loc": { "start": { - "line": 84, + "line": 83, "column": 38 }, "end": { - "line": 84, + "line": 83, "column": 39 } } @@ -15799,15 +15799,15 @@ "binop": null }, "value": "signifier", - "start": 2515, - "end": 2524, + "start": 2511, + "end": 2520, "loc": { "start": { - "line": 84, + "line": 83, "column": 39 }, "end": { - "line": 84, + "line": 83, "column": 48 } } @@ -15824,15 +15824,15 @@ "postfix": false, "binop": null }, - "start": 2524, - "end": 2525, + "start": 2520, + "end": 2521, "loc": { "start": { - "line": 84, + "line": 83, "column": 48 }, "end": { - "line": 84, + "line": 83, "column": 49 } } @@ -15850,15 +15850,15 @@ "binop": null, "updateContext": null }, - "start": 2525, - "end": 2526, + "start": 2521, + "end": 2522, "loc": { "start": { - "line": 84, + "line": 83, "column": 49 }, "end": { - "line": 84, + "line": 83, "column": 50 } } @@ -15866,15 +15866,15 @@ { "type": "CommentLine", "value": " Does signifier not match?", - "start": 2550, - "end": 2578, + "start": 2546, + "end": 2574, "loc": { "start": { - "line": 86, + "line": 85, "column": 20 }, "end": { - "line": 86, + "line": 85, "column": 48 } } @@ -15894,15 +15894,15 @@ "updateContext": null }, "value": "if", - "start": 2600, - "end": 2602, + "start": 2596, + "end": 2598, "loc": { "start": { - "line": 87, + "line": 86, "column": 20 }, "end": { - "line": 87, + "line": 86, "column": 22 } } @@ -15919,15 +15919,15 @@ "postfix": false, "binop": null }, - "start": 2603, - "end": 2604, + "start": 2599, + "end": 2600, "loc": { "start": { - "line": 87, + "line": 86, "column": 23 }, "end": { - "line": 87, + "line": 86, "column": 24 } } @@ -15945,15 +15945,15 @@ "binop": null }, "value": "unit", - "start": 2604, - "end": 2608, + "start": 2600, + "end": 2604, "loc": { "start": { - "line": 87, + "line": 86, "column": 24 }, "end": { - "line": 87, + "line": 86, "column": 28 } } @@ -15972,15 +15972,15 @@ "updateContext": null }, "value": "===", - "start": 2609, - "end": 2612, + "start": 2605, + "end": 2608, "loc": { "start": { - "line": 87, + "line": 86, "column": 29 }, "end": { - "line": 87, + "line": 86, "column": 32 } } @@ -15998,15 +15998,15 @@ "binop": null }, "value": "undefined", - "start": 2613, - "end": 2622, + "start": 2609, + "end": 2618, "loc": { "start": { - "line": 87, + "line": 86, "column": 33 }, "end": { - "line": 87, + "line": 86, "column": 42 } } @@ -16023,15 +16023,15 @@ "postfix": false, "binop": null }, - "start": 2622, - "end": 2623, + "start": 2618, + "end": 2619, "loc": { "start": { - "line": 87, + "line": 86, "column": 42 }, "end": { - "line": 87, + "line": 86, "column": 43 } } @@ -16048,15 +16048,15 @@ "postfix": false, "binop": null }, - "start": 2624, - "end": 2625, + "start": 2620, + "end": 2621, "loc": { "start": { - "line": 87, + "line": 86, "column": 44 }, "end": { - "line": 87, + "line": 86, "column": 45 } } @@ -16064,15 +16064,15 @@ { "type": "CommentLine", "value": " If we cannot reliably match this signifier to a unit", - "start": 2651, - "end": 2706, + "start": 2647, + "end": 2702, "loc": { "start": { - "line": 88, + "line": 87, "column": 24 }, "end": { - "line": 88, + "line": 87, "column": 79 } } @@ -16092,15 +16092,15 @@ "updateContext": null }, "value": "return", - "start": 2732, - "end": 2738, + "start": 2728, + "end": 2734, "loc": { "start": { - "line": 89, + "line": 88, "column": 24 }, "end": { - "line": 89, + "line": 88, "column": 30 } } @@ -16120,15 +16120,15 @@ "updateContext": null }, "value": "false", - "start": 2739, - "end": 2744, + "start": 2735, + "end": 2740, "loc": { "start": { - "line": 89, + "line": 88, "column": 31 }, "end": { - "line": 89, + "line": 88, "column": 36 } } @@ -16146,15 +16146,15 @@ "binop": null, "updateContext": null }, - "start": 2744, - "end": 2745, + "start": 2740, + "end": 2741, "loc": { "start": { - "line": 89, + "line": 88, "column": 36 }, "end": { - "line": 89, + "line": 88, "column": 37 } } @@ -16171,15 +16171,15 @@ "postfix": false, "binop": null }, - "start": 2767, - "end": 2768, + "start": 2763, + "end": 2764, "loc": { "start": { - "line": 90, + "line": 89, "column": 20 }, "end": { - "line": 90, + "line": 89, "column": 21 } } @@ -16187,15 +16187,15 @@ { "type": "CommentLine", "value": " Convert to base unit value and add to total", - "start": 2792, - "end": 2838, + "start": 2788, + "end": 2834, "loc": { "start": { - "line": 92, + "line": 91, "column": 20 }, "end": { - "line": 92, + "line": 91, "column": 66 } } @@ -16213,15 +16213,15 @@ "binop": null }, "value": "total", - "start": 2860, - "end": 2865, + "start": 2856, + "end": 2861, "loc": { "start": { - "line": 93, + "line": 92, "column": 20 }, "end": { - "line": 93, + "line": 92, "column": 25 } } @@ -16240,15 +16240,15 @@ "updateContext": null }, "value": "+=", - "start": 2866, - "end": 2868, + "start": 2862, + "end": 2864, "loc": { "start": { - "line": 93, + "line": 92, "column": 26 }, "end": { - "line": 93, + "line": 92, "column": 28 } } @@ -16266,15 +16266,15 @@ "binop": null }, "value": "v", - "start": 2869, - "end": 2870, + "start": 2865, + "end": 2866, "loc": { "start": { - "line": 93, + "line": 92, "column": 29 }, "end": { - "line": 93, + "line": 92, "column": 30 } } @@ -16293,15 +16293,15 @@ "updateContext": null }, "value": "*", - "start": 2871, - "end": 2872, + "start": 2867, + "end": 2868, "loc": { "start": { - "line": 93, + "line": 92, "column": 31 }, "end": { - "line": 93, + "line": 92, "column": 32 } } @@ -16319,15 +16319,15 @@ "binop": null }, "value": "unit", - "start": 2873, - "end": 2877, + "start": 2869, + "end": 2873, "loc": { "start": { - "line": 93, + "line": 92, "column": 33 }, "end": { - "line": 93, + "line": 92, "column": 37 } } @@ -16345,15 +16345,15 @@ "binop": null, "updateContext": null }, - "start": 2877, - "end": 2878, + "start": 2873, + "end": 2874, "loc": { "start": { - "line": 93, + "line": 92, "column": 37 }, "end": { - "line": 93, + "line": 92, "column": 38 } } @@ -16371,15 +16371,15 @@ "binop": null }, "value": "value", - "start": 2878, - "end": 2883, + "start": 2874, + "end": 2879, "loc": { "start": { - "line": 93, + "line": 92, "column": 38 }, "end": { - "line": 93, + "line": 92, "column": 43 } } @@ -16397,15 +16397,15 @@ "binop": null, "updateContext": null }, - "start": 2883, - "end": 2884, + "start": 2879, + "end": 2880, "loc": { "start": { - "line": 93, + "line": 92, "column": 43 }, "end": { - "line": 93, + "line": 92, "column": 44 } } @@ -16413,15 +16413,15 @@ { "type": "CommentLine", "value": " Reset storage variables", - "start": 2908, - "end": 2934, + "start": 2904, + "end": 2930, "loc": { "start": { - "line": 95, + "line": 94, "column": 20 }, "end": { - "line": 95, + "line": 94, "column": 46 } } @@ -16439,15 +16439,15 @@ "binop": null }, "value": "value", - "start": 2956, - "end": 2961, + "start": 2952, + "end": 2957, "loc": { "start": { - "line": 96, + "line": 95, "column": 20 }, "end": { - "line": 96, + "line": 95, "column": 25 } } @@ -16466,15 +16466,15 @@ "updateContext": null }, "value": "=", - "start": 2962, - "end": 2963, + "start": 2958, + "end": 2959, "loc": { "start": { - "line": 96, + "line": 95, "column": 26 }, "end": { - "line": 96, + "line": 95, "column": 27 } } @@ -16493,15 +16493,15 @@ "updateContext": null }, "value": "", - "start": 2964, - "end": 2966, + "start": 2960, + "end": 2962, "loc": { "start": { - "line": 96, + "line": 95, "column": 28 }, "end": { - "line": 96, + "line": 95, "column": 30 } } @@ -16519,15 +16519,15 @@ "binop": null, "updateContext": null }, - "start": 2966, - "end": 2967, + "start": 2962, + "end": 2963, "loc": { "start": { - "line": 96, + "line": 95, "column": 30 }, "end": { - "line": 96, + "line": 95, "column": 31 } } @@ -16545,15 +16545,15 @@ "binop": null }, "value": "signifier", - "start": 2989, - "end": 2998, + "start": 2985, + "end": 2994, "loc": { "start": { - "line": 97, + "line": 96, "column": 20 }, "end": { - "line": 97, + "line": 96, "column": 29 } } @@ -16572,15 +16572,15 @@ "updateContext": null }, "value": "=", - "start": 2999, - "end": 3000, + "start": 2995, + "end": 2996, "loc": { "start": { - "line": 97, + "line": 96, "column": 30 }, "end": { - "line": 97, + "line": 96, "column": 31 } } @@ -16599,15 +16599,15 @@ "updateContext": null }, "value": "", - "start": 3001, - "end": 3003, + "start": 2997, + "end": 2999, "loc": { "start": { - "line": 97, + "line": 96, "column": 32 }, "end": { - "line": 97, + "line": 96, "column": 34 } } @@ -16625,15 +16625,15 @@ "binop": null, "updateContext": null }, - "start": 3003, - "end": 3004, + "start": 2999, + "end": 3000, "loc": { "start": { - "line": 97, + "line": 96, "column": 34 }, "end": { - "line": 97, + "line": 96, "column": 35 } } @@ -16650,15 +16650,15 @@ "postfix": false, "binop": null }, - "start": 3022, - "end": 3023, + "start": 3018, + "end": 3019, "loc": { "start": { - "line": 98, + "line": 97, "column": 16 }, "end": { - "line": 98, + "line": 97, "column": 17 } } @@ -16676,15 +16676,15 @@ "binop": null }, "value": "value", - "start": 3043, - "end": 3048, + "start": 3039, + "end": 3044, "loc": { "start": { - "line": 100, + "line": 99, "column": 16 }, "end": { - "line": 100, + "line": 99, "column": 21 } } @@ -16703,15 +16703,15 @@ "updateContext": null }, "value": "+=", - "start": 3049, - "end": 3051, + "start": 3045, + "end": 3047, "loc": { "start": { - "line": 100, + "line": 99, "column": 22 }, "end": { - "line": 100, + "line": 99, "column": 24 } } @@ -16729,15 +16729,15 @@ "binop": null }, "value": "char", - "start": 3052, - "end": 3056, + "start": 3048, + "end": 3052, "loc": { "start": { - "line": 100, + "line": 99, "column": 25 }, "end": { - "line": 100, + "line": 99, "column": 29 } } @@ -16755,15 +16755,15 @@ "binop": null, "updateContext": null }, - "start": 3056, - "end": 3057, + "start": 3052, + "end": 3053, "loc": { "start": { - "line": 100, + "line": 99, "column": 29 }, "end": { - "line": 100, + "line": 99, "column": 30 } } @@ -16780,15 +16780,15 @@ "postfix": false, "binop": null }, - "start": 3071, - "end": 3072, + "start": 3067, + "end": 3068, "loc": { "start": { - "line": 101, + "line": 100, "column": 12 }, "end": { - "line": 101, + "line": 100, "column": 13 } } @@ -16805,15 +16805,15 @@ "postfix": false, "binop": null }, - "start": 3082, - "end": 3083, + "start": 3078, + "end": 3079, "loc": { "start": { - "line": 102, + "line": 101, "column": 8 }, "end": { - "line": 102, + "line": 101, "column": 9 } } @@ -16821,15 +16821,15 @@ { "type": "CommentLine", "value": " Convert to string to number", - "start": 3095, - "end": 3125, + "start": 3091, + "end": 3121, "loc": { "start": { - "line": 104, + "line": 103, "column": 8 }, "end": { - "line": 104, + "line": 103, "column": 38 } } @@ -16849,15 +16849,15 @@ "updateContext": null }, "value": "let", - "start": 3135, - "end": 3138, + "start": 3131, + "end": 3134, "loc": { "start": { - "line": 105, + "line": 104, "column": 8 }, "end": { - "line": 105, + "line": 104, "column": 11 } } @@ -16875,15 +16875,15 @@ "binop": null }, "value": "v", - "start": 3139, - "end": 3140, + "start": 3135, + "end": 3136, "loc": { "start": { - "line": 105, + "line": 104, "column": 12 }, "end": { - "line": 105, + "line": 104, "column": 13 } } @@ -16902,15 +16902,15 @@ "updateContext": null }, "value": "=", - "start": 3141, - "end": 3142, + "start": 3137, + "end": 3138, "loc": { "start": { - "line": 105, + "line": 104, "column": 14 }, "end": { - "line": 105, + "line": 104, "column": 15 } } @@ -16928,15 +16928,15 @@ "binop": null }, "value": "parseFloat", - "start": 3143, - "end": 3153, + "start": 3139, + "end": 3149, "loc": { "start": { - "line": 105, + "line": 104, "column": 16 }, "end": { - "line": 105, + "line": 104, "column": 26 } } @@ -16953,15 +16953,15 @@ "postfix": false, "binop": null }, - "start": 3153, - "end": 3154, + "start": 3149, + "end": 3150, "loc": { "start": { - "line": 105, + "line": 104, "column": 26 }, "end": { - "line": 105, + "line": 104, "column": 27 } } @@ -16979,15 +16979,15 @@ "binop": null }, "value": "value", - "start": 3154, - "end": 3159, + "start": 3150, + "end": 3155, "loc": { "start": { - "line": 105, + "line": 104, "column": 27 }, "end": { - "line": 105, + "line": 104, "column": 32 } } @@ -17004,15 +17004,15 @@ "postfix": false, "binop": null }, - "start": 3159, - "end": 3160, + "start": 3155, + "end": 3156, "loc": { "start": { - "line": 105, + "line": 104, "column": 32 }, "end": { - "line": 105, + "line": 104, "column": 33 } } @@ -17030,15 +17030,15 @@ "binop": null, "updateContext": null }, - "start": 3160, - "end": 3161, + "start": 3156, + "end": 3157, "loc": { "start": { - "line": 105, + "line": 104, "column": 33 }, "end": { - "line": 105, + "line": 104, "column": 34 } } @@ -17046,15 +17046,15 @@ { "type": "CommentLine", "value": " Mass cannot be negative", - "start": 3173, - "end": 3199, + "start": 3169, + "end": 3195, "loc": { "start": { - "line": 107, + "line": 106, "column": 8 }, "end": { - "line": 107, + "line": 106, "column": 34 } } @@ -17074,15 +17074,15 @@ "updateContext": null }, "value": "if", - "start": 3209, - "end": 3211, + "start": 3205, + "end": 3207, "loc": { "start": { - "line": 108, + "line": 107, "column": 8 }, "end": { - "line": 108, + "line": 107, "column": 10 } } @@ -17099,15 +17099,15 @@ "postfix": false, "binop": null }, - "start": 3212, - "end": 3213, + "start": 3208, + "end": 3209, "loc": { "start": { - "line": 108, + "line": 107, "column": 11 }, "end": { - "line": 108, + "line": 107, "column": 12 } } @@ -17125,15 +17125,15 @@ "binop": null }, "value": "v", - "start": 3213, - "end": 3214, + "start": 3209, + "end": 3210, "loc": { "start": { - "line": 108, + "line": 107, "column": 12 }, "end": { - "line": 108, + "line": 107, "column": 13 } } @@ -17152,15 +17152,15 @@ "updateContext": null }, "value": "<", - "start": 3215, - "end": 3216, + "start": 3211, + "end": 3212, "loc": { "start": { - "line": 108, + "line": 107, "column": 14 }, "end": { - "line": 108, + "line": 107, "column": 15 } } @@ -17179,15 +17179,15 @@ "updateContext": null }, "value": 0, - "start": 3217, - "end": 3218, + "start": 3213, + "end": 3214, "loc": { "start": { - "line": 108, + "line": 107, "column": 16 }, "end": { - "line": 108, + "line": 107, "column": 17 } } @@ -17204,15 +17204,15 @@ "postfix": false, "binop": null }, - "start": 3218, - "end": 3219, + "start": 3214, + "end": 3215, "loc": { "start": { - "line": 108, + "line": 107, "column": 17 }, "end": { - "line": 108, + "line": 107, "column": 18 } } @@ -17229,15 +17229,15 @@ "postfix": false, "binop": null }, - "start": 3220, - "end": 3221, + "start": 3216, + "end": 3217, "loc": { "start": { - "line": 108, + "line": 107, "column": 19 }, "end": { - "line": 108, + "line": 107, "column": 20 } } @@ -17257,15 +17257,15 @@ "updateContext": null }, "value": "return", - "start": 3235, - "end": 3241, + "start": 3231, + "end": 3237, "loc": { "start": { - "line": 109, + "line": 108, "column": 12 }, "end": { - "line": 109, + "line": 108, "column": 18 } } @@ -17285,15 +17285,15 @@ "updateContext": null }, "value": "false", - "start": 3242, - "end": 3247, + "start": 3238, + "end": 3243, "loc": { "start": { - "line": 109, + "line": 108, "column": 19 }, "end": { - "line": 109, + "line": 108, "column": 24 } } @@ -17311,15 +17311,15 @@ "binop": null, "updateContext": null }, - "start": 3247, - "end": 3248, + "start": 3243, + "end": 3244, "loc": { "start": { - "line": 109, + "line": 108, "column": 24 }, "end": { - "line": 109, + "line": 108, "column": 25 } } @@ -17336,15 +17336,15 @@ "postfix": false, "binop": null }, - "start": 3258, - "end": 3259, + "start": 3254, + "end": 3255, "loc": { "start": { - "line": 110, + "line": 109, "column": 8 }, "end": { - "line": 110, + "line": 109, "column": 9 } } @@ -17352,15 +17352,15 @@ { "type": "CommentLine", "value": " Lookup unit signifier", - "start": 3271, - "end": 3295, + "start": 3267, + "end": 3291, "loc": { "start": { - "line": 112, + "line": 111, "column": 8 }, "end": { - "line": 112, + "line": 111, "column": 32 } } @@ -17378,15 +17378,15 @@ "binop": null }, "value": "unit", - "start": 3305, - "end": 3309, + "start": 3301, + "end": 3305, "loc": { "start": { - "line": 113, + "line": 112, "column": 8 }, "end": { - "line": 113, + "line": 112, "column": 12 } } @@ -17405,15 +17405,15 @@ "updateContext": null }, "value": "=", - "start": 3310, - "end": 3311, + "start": 3306, + "end": 3307, "loc": { "start": { - "line": 113, + "line": 112, "column": 13 }, "end": { - "line": 113, + "line": 112, "column": 14 } } @@ -17433,15 +17433,15 @@ "updateContext": null }, "value": "this", - "start": 3312, - "end": 3316, + "start": 3308, + "end": 3312, "loc": { "start": { - "line": 113, + "line": 112, "column": 15 }, "end": { - "line": 113, + "line": 112, "column": 19 } } @@ -17459,15 +17459,15 @@ "binop": null, "updateContext": null }, - "start": 3316, - "end": 3317, + "start": 3312, + "end": 3313, "loc": { "start": { - "line": 113, + "line": 112, "column": 19 }, "end": { - "line": 113, + "line": 112, "column": 20 } } @@ -17485,15 +17485,15 @@ "binop": null }, "value": "lookup", - "start": 3317, - "end": 3323, + "start": 3313, + "end": 3319, "loc": { "start": { - "line": 113, + "line": 112, "column": 20 }, "end": { - "line": 113, + "line": 112, "column": 26 } } @@ -17510,15 +17510,15 @@ "postfix": false, "binop": null }, - "start": 3323, - "end": 3324, + "start": 3319, + "end": 3320, "loc": { "start": { - "line": 113, + "line": 112, "column": 26 }, "end": { - "line": 113, + "line": 112, "column": 27 } } @@ -17536,15 +17536,15 @@ "binop": null }, "value": "signifier", - "start": 3324, - "end": 3333, + "start": 3320, + "end": 3329, "loc": { "start": { - "line": 113, + "line": 112, "column": 27 }, "end": { - "line": 113, + "line": 112, "column": 36 } } @@ -17561,15 +17561,15 @@ "postfix": false, "binop": null }, - "start": 3333, - "end": 3334, + "start": 3329, + "end": 3330, "loc": { "start": { - "line": 113, + "line": 112, "column": 36 }, "end": { - "line": 113, + "line": 112, "column": 37 } } @@ -17587,15 +17587,15 @@ "binop": null, "updateContext": null }, - "start": 3334, - "end": 3335, + "start": 3330, + "end": 3331, "loc": { "start": { - "line": 113, + "line": 112, "column": 37 }, "end": { - "line": 113, + "line": 112, "column": 38 } } @@ -17603,15 +17603,15 @@ { "type": "CommentLine", "value": " Does signifier not match?", - "start": 3347, - "end": 3375, + "start": 3343, + "end": 3371, "loc": { "start": { - "line": 115, + "line": 114, "column": 8 }, "end": { - "line": 115, + "line": 114, "column": 36 } } @@ -17631,15 +17631,15 @@ "updateContext": null }, "value": "if", - "start": 3385, - "end": 3387, + "start": 3381, + "end": 3383, "loc": { "start": { - "line": 116, + "line": 115, "column": 8 }, "end": { - "line": 116, + "line": 115, "column": 10 } } @@ -17656,15 +17656,15 @@ "postfix": false, "binop": null }, - "start": 3388, - "end": 3389, + "start": 3384, + "end": 3385, "loc": { "start": { - "line": 116, + "line": 115, "column": 11 }, "end": { - "line": 116, + "line": 115, "column": 12 } } @@ -17682,15 +17682,15 @@ "binop": null }, "value": "unit", - "start": 3389, - "end": 3393, + "start": 3385, + "end": 3389, "loc": { "start": { - "line": 116, + "line": 115, "column": 12 }, "end": { - "line": 116, + "line": 115, "column": 16 } } @@ -17709,15 +17709,15 @@ "updateContext": null }, "value": "===", - "start": 3394, - "end": 3397, + "start": 3390, + "end": 3393, "loc": { "start": { - "line": 116, + "line": 115, "column": 17 }, "end": { - "line": 116, + "line": 115, "column": 20 } } @@ -17735,15 +17735,15 @@ "binop": null }, "value": "undefined", - "start": 3398, - "end": 3407, + "start": 3394, + "end": 3403, "loc": { "start": { - "line": 116, + "line": 115, "column": 21 }, "end": { - "line": 116, + "line": 115, "column": 30 } } @@ -17760,15 +17760,15 @@ "postfix": false, "binop": null }, - "start": 3407, - "end": 3408, + "start": 3403, + "end": 3404, "loc": { "start": { - "line": 116, + "line": 115, "column": 30 }, "end": { - "line": 116, + "line": 115, "column": 31 } } @@ -17785,15 +17785,15 @@ "postfix": false, "binop": null }, - "start": 3409, - "end": 3410, + "start": 3405, + "end": 3406, "loc": { "start": { - "line": 116, + "line": 115, "column": 32 }, "end": { - "line": 116, + "line": 115, "column": 33 } } @@ -17801,15 +17801,15 @@ { "type": "CommentLine", "value": " If we cannot reliably match this signifier to a unit", - "start": 3424, - "end": 3479, + "start": 3420, + "end": 3475, "loc": { "start": { - "line": 117, + "line": 116, "column": 12 }, "end": { - "line": 117, + "line": 116, "column": 67 } } @@ -17829,15 +17829,15 @@ "updateContext": null }, "value": "return", - "start": 3493, - "end": 3499, + "start": 3489, + "end": 3495, "loc": { "start": { - "line": 118, + "line": 117, "column": 12 }, "end": { - "line": 118, + "line": 117, "column": 18 } } @@ -17857,15 +17857,15 @@ "updateContext": null }, "value": "false", - "start": 3500, - "end": 3505, + "start": 3496, + "end": 3501, "loc": { "start": { - "line": 118, + "line": 117, "column": 19 }, "end": { - "line": 118, + "line": 117, "column": 24 } } @@ -17883,15 +17883,15 @@ "binop": null, "updateContext": null }, - "start": 3505, - "end": 3506, + "start": 3501, + "end": 3502, "loc": { "start": { - "line": 118, + "line": 117, "column": 24 }, "end": { - "line": 118, + "line": 117, "column": 25 } } @@ -17908,15 +17908,15 @@ "postfix": false, "binop": null }, - "start": 3516, - "end": 3517, + "start": 3512, + "end": 3513, "loc": { "start": { - "line": 119, + "line": 118, "column": 8 }, "end": { - "line": 119, + "line": 118, "column": 9 } } @@ -17924,15 +17924,15 @@ { "type": "CommentLine", "value": " Convert to base unit value and add to total", - "start": 3529, - "end": 3575, + "start": 3525, + "end": 3571, "loc": { "start": { - "line": 121, + "line": 120, "column": 8 }, "end": { - "line": 121, + "line": 120, "column": 54 } } @@ -17950,15 +17950,15 @@ "binop": null }, "value": "total", - "start": 3585, - "end": 3590, + "start": 3581, + "end": 3586, "loc": { "start": { - "line": 122, + "line": 121, "column": 8 }, "end": { - "line": 122, + "line": 121, "column": 13 } } @@ -17977,15 +17977,15 @@ "updateContext": null }, "value": "+=", - "start": 3591, - "end": 3593, + "start": 3587, + "end": 3589, "loc": { "start": { - "line": 122, + "line": 121, "column": 14 }, "end": { - "line": 122, + "line": 121, "column": 16 } } @@ -18003,15 +18003,15 @@ "binop": null }, "value": "value", - "start": 3594, - "end": 3599, + "start": 3590, + "end": 3595, "loc": { "start": { - "line": 122, + "line": 121, "column": 17 }, "end": { - "line": 122, + "line": 121, "column": 22 } } @@ -18030,15 +18030,15 @@ "updateContext": null }, "value": "*", - "start": 3600, - "end": 3601, + "start": 3596, + "end": 3597, "loc": { "start": { - "line": 122, + "line": 121, "column": 23 }, "end": { - "line": 122, + "line": 121, "column": 24 } } @@ -18056,15 +18056,15 @@ "binop": null }, "value": "unit", - "start": 3602, - "end": 3606, + "start": 3598, + "end": 3602, "loc": { "start": { - "line": 122, + "line": 121, "column": 25 }, "end": { - "line": 122, + "line": 121, "column": 29 } } @@ -18082,15 +18082,15 @@ "binop": null, "updateContext": null }, - "start": 3606, - "end": 3607, + "start": 3602, + "end": 3603, "loc": { "start": { - "line": 122, + "line": 121, "column": 29 }, "end": { - "line": 122, + "line": 121, "column": 30 } } @@ -18108,15 +18108,15 @@ "binop": null }, "value": "value", - "start": 3607, - "end": 3612, + "start": 3603, + "end": 3608, "loc": { "start": { - "line": 122, + "line": 121, "column": 30 }, "end": { - "line": 122, + "line": 121, "column": 35 } } @@ -18134,15 +18134,15 @@ "binop": null, "updateContext": null }, - "start": 3612, - "end": 3613, + "start": 3608, + "end": 3609, "loc": { "start": { - "line": 122, + "line": 121, "column": 35 }, "end": { - "line": 122, + "line": 121, "column": 36 } } @@ -18150,15 +18150,15 @@ { "type": "CommentLine", "value": " Return total mass (as base unit)", - "start": 3625, - "end": 3660, + "start": 3621, + "end": 3656, "loc": { "start": { - "line": 124, + "line": 123, "column": 8 }, "end": { - "line": 124, + "line": 123, "column": 43 } } @@ -18178,15 +18178,15 @@ "updateContext": null }, "value": "return", - "start": 3670, - "end": 3676, + "start": 3666, + "end": 3672, "loc": { "start": { - "line": 125, + "line": 124, "column": 8 }, "end": { - "line": 125, + "line": 124, "column": 14 } } @@ -18204,15 +18204,15 @@ "binop": null }, "value": "total", - "start": 3677, - "end": 3682, + "start": 3673, + "end": 3678, "loc": { "start": { - "line": 125, + "line": 124, "column": 15 }, "end": { - "line": 125, + "line": 124, "column": 20 } } @@ -18230,15 +18230,15 @@ "binop": null, "updateContext": null }, - "start": 3682, - "end": 3683, + "start": 3678, + "end": 3679, "loc": { "start": { - "line": 125, + "line": 124, "column": 20 }, "end": { - "line": 125, + "line": 124, "column": 21 } } @@ -18255,15 +18255,15 @@ "postfix": false, "binop": null }, - "start": 3689, - "end": 3690, + "start": 3685, + "end": 3686, "loc": { "start": { - "line": 126, + "line": 125, "column": 4 }, "end": { - "line": 126, + "line": 125, "column": 5 } } @@ -18271,15 +18271,15 @@ { "type": "CommentBlock", "value": "*\r\n * Format mass as text.\r\n * \r\n * @param {number} value - Value to format (must be a positive number).\r\n * @param {(number|string)} [unitValue = 1] - Value of unit or string mass unit signifier for lookup.\r\n * @param {(boolean|number)} [spaces = true] - Truthy values will add space between value and signifier.\r\n * @returns {(string|false)} Formatted mass string or, if value is negative or unit signifier lookup fails, false.\r\n ", - "start": 3698, - "end": 4162, + "start": 3694, + "end": 4158, "loc": { "start": { - "line": 128, + "line": 127, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 7 } } @@ -18297,15 +18297,15 @@ "binop": null }, "value": "format", - "start": 4168, - "end": 4174, + "start": 4164, + "end": 4170, "loc": { "start": { - "line": 136, + "line": 135, "column": 4 }, "end": { - "line": 136, + "line": 135, "column": 10 } } @@ -18322,15 +18322,15 @@ "postfix": false, "binop": null }, - "start": 4174, - "end": 4175, + "start": 4170, + "end": 4171, "loc": { "start": { - "line": 136, + "line": 135, "column": 10 }, "end": { - "line": 136, + "line": 135, "column": 11 } } @@ -18348,15 +18348,15 @@ "binop": null }, "value": "value", - "start": 4175, - "end": 4180, + "start": 4171, + "end": 4176, "loc": { "start": { - "line": 136, + "line": 135, "column": 11 }, "end": { - "line": 136, + "line": 135, "column": 16 } } @@ -18374,15 +18374,15 @@ "binop": null, "updateContext": null }, - "start": 4180, - "end": 4181, + "start": 4176, + "end": 4177, "loc": { "start": { - "line": 136, + "line": 135, "column": 16 }, "end": { - "line": 136, + "line": 135, "column": 17 } } @@ -18400,15 +18400,15 @@ "binop": null }, "value": "unitValue", - "start": 4182, - "end": 4191, + "start": 4178, + "end": 4187, "loc": { "start": { - "line": 136, + "line": 135, "column": 18 }, "end": { - "line": 136, + "line": 135, "column": 27 } } @@ -18427,15 +18427,15 @@ "updateContext": null }, "value": "=", - "start": 4192, - "end": 4193, + "start": 4188, + "end": 4189, "loc": { "start": { - "line": 136, + "line": 135, "column": 28 }, "end": { - "line": 136, + "line": 135, "column": 29 } } @@ -18454,15 +18454,15 @@ "updateContext": null }, "value": 1, - "start": 4194, - "end": 4195, + "start": 4190, + "end": 4191, "loc": { "start": { - "line": 136, + "line": 135, "column": 30 }, "end": { - "line": 136, + "line": 135, "column": 31 } } @@ -18480,15 +18480,15 @@ "binop": null, "updateContext": null }, - "start": 4195, - "end": 4196, + "start": 4191, + "end": 4192, "loc": { "start": { - "line": 136, + "line": 135, "column": 31 }, "end": { - "line": 136, + "line": 135, "column": 32 } } @@ -18506,15 +18506,15 @@ "binop": null }, "value": "spaces", - "start": 4197, - "end": 4203, + "start": 4193, + "end": 4199, "loc": { "start": { - "line": 136, + "line": 135, "column": 33 }, "end": { - "line": 136, + "line": 135, "column": 39 } } @@ -18533,15 +18533,15 @@ "updateContext": null }, "value": "=", - "start": 4204, - "end": 4205, + "start": 4200, + "end": 4201, "loc": { "start": { - "line": 136, + "line": 135, "column": 40 }, "end": { - "line": 136, + "line": 135, "column": 41 } } @@ -18561,15 +18561,15 @@ "updateContext": null }, "value": "true", - "start": 4206, - "end": 4210, + "start": 4202, + "end": 4206, "loc": { "start": { - "line": 136, + "line": 135, "column": 42 }, "end": { - "line": 136, + "line": 135, "column": 46 } } @@ -18586,15 +18586,15 @@ "postfix": false, "binop": null }, - "start": 4210, - "end": 4211, + "start": 4206, + "end": 4207, "loc": { "start": { - "line": 136, + "line": 135, "column": 46 }, "end": { - "line": 136, + "line": 135, "column": 47 } } @@ -18611,15 +18611,15 @@ "postfix": false, "binop": null }, - "start": 4217, - "end": 4218, + "start": 4213, + "end": 4214, "loc": { "start": { - "line": 137, + "line": 136, "column": 4 }, "end": { - "line": 137, + "line": 136, "column": 5 } } @@ -18627,15 +18627,15 @@ { "type": "CommentLine", "value": " Validate value parameter", - "start": 4228, - "end": 4255, + "start": 4224, + "end": 4251, "loc": { "start": { - "line": 138, + "line": 137, "column": 8 }, "end": { - "line": 138, + "line": 137, "column": 35 } } @@ -18655,15 +18655,15 @@ "updateContext": null }, "value": "if", - "start": 4265, - "end": 4267, + "start": 4261, + "end": 4263, "loc": { "start": { - "line": 139, + "line": 138, "column": 8 }, "end": { - "line": 139, + "line": 138, "column": 10 } } @@ -18680,15 +18680,15 @@ "postfix": false, "binop": null }, - "start": 4268, - "end": 4269, + "start": 4264, + "end": 4265, "loc": { "start": { - "line": 139, + "line": 138, "column": 11 }, "end": { - "line": 139, + "line": 138, "column": 12 } } @@ -18708,15 +18708,15 @@ "updateContext": null }, "value": "typeof", - "start": 4269, - "end": 4275, + "start": 4265, + "end": 4271, "loc": { "start": { - "line": 139, + "line": 138, "column": 12 }, "end": { - "line": 139, + "line": 138, "column": 18 } } @@ -18734,15 +18734,15 @@ "binop": null }, "value": "value", - "start": 4276, - "end": 4281, + "start": 4272, + "end": 4277, "loc": { "start": { - "line": 139, + "line": 138, "column": 19 }, "end": { - "line": 139, + "line": 138, "column": 24 } } @@ -18761,15 +18761,15 @@ "updateContext": null }, "value": "!==", - "start": 4282, - "end": 4285, + "start": 4278, + "end": 4281, "loc": { "start": { - "line": 139, + "line": 138, "column": 25 }, "end": { - "line": 139, + "line": 138, "column": 28 } } @@ -18788,15 +18788,15 @@ "updateContext": null }, "value": "number", - "start": 4286, - "end": 4294, + "start": 4282, + "end": 4290, "loc": { "start": { - "line": 139, + "line": 138, "column": 29 }, "end": { - "line": 139, + "line": 138, "column": 37 } } @@ -18813,15 +18813,15 @@ "postfix": false, "binop": null }, - "start": 4294, - "end": 4295, + "start": 4290, + "end": 4291, "loc": { "start": { - "line": 139, + "line": 138, "column": 37 }, "end": { - "line": 139, + "line": 138, "column": 38 } } @@ -18838,15 +18838,15 @@ "postfix": false, "binop": null }, - "start": 4296, - "end": 4297, + "start": 4292, + "end": 4293, "loc": { "start": { - "line": 139, + "line": 138, "column": 39 }, "end": { - "line": 139, + "line": 138, "column": 40 } } @@ -18866,15 +18866,15 @@ "updateContext": null }, "value": "throw", - "start": 4311, - "end": 4316, + "start": 4307, + "end": 4312, "loc": { "start": { - "line": 140, + "line": 139, "column": 12 }, "end": { - "line": 140, + "line": 139, "column": 17 } } @@ -18894,15 +18894,15 @@ "updateContext": null }, "value": "new", - "start": 4317, - "end": 4320, + "start": 4313, + "end": 4316, "loc": { "start": { - "line": 140, + "line": 139, "column": 18 }, "end": { - "line": 140, + "line": 139, "column": 21 } } @@ -18920,15 +18920,15 @@ "binop": null }, "value": "Error", - "start": 4321, - "end": 4326, + "start": 4317, + "end": 4322, "loc": { "start": { - "line": 140, + "line": 139, "column": 22 }, "end": { - "line": 140, + "line": 139, "column": 27 } } @@ -18945,15 +18945,15 @@ "postfix": false, "binop": null }, - "start": 4326, - "end": 4327, + "start": 4322, + "end": 4323, "loc": { "start": { - "line": 140, + "line": 139, "column": 27 }, "end": { - "line": 140, + "line": 139, "column": 28 } } @@ -18972,15 +18972,15 @@ "updateContext": null }, "value": "Parameter \"value\" must be of type \"number\".", - "start": 4327, - "end": 4372, + "start": 4323, + "end": 4368, "loc": { "start": { - "line": 140, + "line": 139, "column": 28 }, "end": { - "line": 140, + "line": 139, "column": 73 } } @@ -18997,15 +18997,15 @@ "postfix": false, "binop": null }, - "start": 4372, - "end": 4373, + "start": 4368, + "end": 4369, "loc": { "start": { - "line": 140, + "line": 139, "column": 73 }, "end": { - "line": 140, + "line": 139, "column": 74 } } @@ -19023,15 +19023,15 @@ "binop": null, "updateContext": null }, - "start": 4373, - "end": 4374, + "start": 4369, + "end": 4370, "loc": { "start": { - "line": 140, + "line": 139, "column": 74 }, "end": { - "line": 140, + "line": 139, "column": 75 } } @@ -19048,15 +19048,15 @@ "postfix": false, "binop": null }, - "start": 4384, - "end": 4385, + "start": 4380, + "end": 4381, "loc": { "start": { - "line": 141, + "line": 140, "column": 8 }, "end": { - "line": 141, + "line": 140, "column": 9 } } @@ -19064,15 +19064,15 @@ { "type": "CommentLine", "value": " Accepts any positive number", - "start": 4397, - "end": 4427, + "start": 4393, + "end": 4423, "loc": { "start": { - "line": 143, + "line": 142, "column": 8 }, "end": { - "line": 143, + "line": 142, "column": 38 } } @@ -19092,15 +19092,15 @@ "updateContext": null }, "value": "if", - "start": 4437, - "end": 4439, + "start": 4433, + "end": 4435, "loc": { "start": { - "line": 144, + "line": 143, "column": 8 }, "end": { - "line": 144, + "line": 143, "column": 10 } } @@ -19117,15 +19117,15 @@ "postfix": false, "binop": null }, - "start": 4440, - "end": 4441, + "start": 4436, + "end": 4437, "loc": { "start": { - "line": 144, + "line": 143, "column": 11 }, "end": { - "line": 144, + "line": 143, "column": 12 } } @@ -19143,15 +19143,15 @@ "binop": null }, "value": "value", - "start": 4441, - "end": 4446, + "start": 4437, + "end": 4442, "loc": { "start": { - "line": 144, + "line": 143, "column": 12 }, "end": { - "line": 144, + "line": 143, "column": 17 } } @@ -19170,15 +19170,15 @@ "updateContext": null }, "value": "<", - "start": 4447, - "end": 4448, + "start": 4443, + "end": 4444, "loc": { "start": { - "line": 144, + "line": 143, "column": 18 }, "end": { - "line": 144, + "line": 143, "column": 19 } } @@ -19197,15 +19197,15 @@ "updateContext": null }, "value": 0, - "start": 4449, - "end": 4450, + "start": 4445, + "end": 4446, "loc": { "start": { - "line": 144, + "line": 143, "column": 20 }, "end": { - "line": 144, + "line": 143, "column": 21 } } @@ -19222,15 +19222,15 @@ "postfix": false, "binop": null }, - "start": 4450, - "end": 4451, + "start": 4446, + "end": 4447, "loc": { "start": { - "line": 144, + "line": 143, "column": 21 }, "end": { - "line": 144, + "line": 143, "column": 22 } } @@ -19247,15 +19247,15 @@ "postfix": false, "binop": null }, - "start": 4452, - "end": 4453, + "start": 4448, + "end": 4449, "loc": { "start": { - "line": 144, + "line": 143, "column": 23 }, "end": { - "line": 144, + "line": 143, "column": 24 } } @@ -19275,15 +19275,15 @@ "updateContext": null }, "value": "return", - "start": 4467, - "end": 4473, + "start": 4463, + "end": 4469, "loc": { "start": { - "line": 145, + "line": 144, "column": 12 }, "end": { - "line": 145, + "line": 144, "column": 18 } } @@ -19303,15 +19303,15 @@ "updateContext": null }, "value": "false", - "start": 4474, - "end": 4479, + "start": 4470, + "end": 4475, "loc": { "start": { - "line": 145, + "line": 144, "column": 19 }, "end": { - "line": 145, + "line": 144, "column": 24 } } @@ -19329,15 +19329,15 @@ "binop": null, "updateContext": null }, - "start": 4479, - "end": 4480, + "start": 4475, + "end": 4476, "loc": { "start": { - "line": 145, + "line": 144, "column": 24 }, "end": { - "line": 145, + "line": 144, "column": 25 } } @@ -19354,15 +19354,15 @@ "postfix": false, "binop": null }, - "start": 4490, - "end": 4491, + "start": 4486, + "end": 4487, "loc": { "start": { - "line": 146, + "line": 145, "column": 8 }, "end": { - "line": 146, + "line": 145, "column": 9 } } @@ -19370,15 +19370,15 @@ { "type": "CommentLine", "value": " Did they supply custom unit ratio or signifier?", - "start": 4511, - "end": 4561, + "start": 4507, + "end": 4557, "loc": { "start": { - "line": 148, + "line": 147, "column": 8 }, "end": { - "line": 148, + "line": 147, "column": 58 } } @@ -19398,15 +19398,15 @@ "updateContext": null }, "value": "if", - "start": 4571, - "end": 4573, + "start": 4567, + "end": 4569, "loc": { "start": { - "line": 149, + "line": 148, "column": 8 }, "end": { - "line": 149, + "line": 148, "column": 10 } } @@ -19423,15 +19423,15 @@ "postfix": false, "binop": null }, - "start": 4574, - "end": 4575, + "start": 4570, + "end": 4571, "loc": { "start": { - "line": 149, + "line": 148, "column": 11 }, "end": { - "line": 149, + "line": 148, "column": 12 } } @@ -19449,15 +19449,15 @@ "binop": null }, "value": "unitValue", - "start": 4575, - "end": 4584, + "start": 4571, + "end": 4580, "loc": { "start": { - "line": 149, + "line": 148, "column": 12 }, "end": { - "line": 149, + "line": 148, "column": 21 } } @@ -19476,15 +19476,15 @@ "updateContext": null }, "value": "!==", - "start": 4585, - "end": 4588, + "start": 4581, + "end": 4584, "loc": { "start": { - "line": 149, + "line": 148, "column": 22 }, "end": { - "line": 149, + "line": 148, "column": 25 } } @@ -19503,15 +19503,15 @@ "updateContext": null }, "value": 1, - "start": 4589, - "end": 4590, + "start": 4585, + "end": 4586, "loc": { "start": { - "line": 149, + "line": 148, "column": 26 }, "end": { - "line": 149, + "line": 148, "column": 27 } } @@ -19528,15 +19528,15 @@ "postfix": false, "binop": null }, - "start": 4590, - "end": 4591, + "start": 4586, + "end": 4587, "loc": { "start": { - "line": 149, + "line": 148, "column": 27 }, "end": { - "line": 149, + "line": 148, "column": 28 } } @@ -19553,15 +19553,15 @@ "postfix": false, "binop": null }, - "start": 4592, - "end": 4593, + "start": 4588, + "end": 4589, "loc": { "start": { - "line": 149, + "line": 148, "column": 29 }, "end": { - "line": 149, + "line": 148, "column": 30 } } @@ -19581,15 +19581,15 @@ "updateContext": null }, "value": "if", - "start": 4607, - "end": 4609, + "start": 4603, + "end": 4605, "loc": { "start": { - "line": 150, + "line": 149, "column": 12 }, "end": { - "line": 150, + "line": 149, "column": 14 } } @@ -19606,15 +19606,15 @@ "postfix": false, "binop": null }, - "start": 4610, - "end": 4611, + "start": 4606, + "end": 4607, "loc": { "start": { - "line": 150, + "line": 149, "column": 15 }, "end": { - "line": 150, + "line": 149, "column": 16 } } @@ -19634,15 +19634,15 @@ "updateContext": null }, "value": "typeof", - "start": 4611, - "end": 4617, + "start": 4607, + "end": 4613, "loc": { "start": { - "line": 150, + "line": 149, "column": 16 }, "end": { - "line": 150, + "line": 149, "column": 22 } } @@ -19660,15 +19660,15 @@ "binop": null }, "value": "unitValue", - "start": 4618, - "end": 4627, + "start": 4614, + "end": 4623, "loc": { "start": { - "line": 150, + "line": 149, "column": 23 }, "end": { - "line": 150, + "line": 149, "column": 32 } } @@ -19687,15 +19687,15 @@ "updateContext": null }, "value": "===", - "start": 4628, - "end": 4631, + "start": 4624, + "end": 4627, "loc": { "start": { - "line": 150, + "line": 149, "column": 33 }, "end": { - "line": 150, + "line": 149, "column": 36 } } @@ -19714,15 +19714,15 @@ "updateContext": null }, "value": "number", - "start": 4632, - "end": 4640, + "start": 4628, + "end": 4636, "loc": { "start": { - "line": 150, + "line": 149, "column": 37 }, "end": { - "line": 150, + "line": 149, "column": 45 } } @@ -19739,15 +19739,15 @@ "postfix": false, "binop": null }, - "start": 4640, - "end": 4641, + "start": 4636, + "end": 4637, "loc": { "start": { - "line": 150, + "line": 149, "column": 45 }, "end": { - "line": 150, + "line": 149, "column": 46 } } @@ -19764,15 +19764,15 @@ "postfix": false, "binop": null }, - "start": 4642, - "end": 4643, + "start": 4638, + "end": 4639, "loc": { "start": { - "line": 150, + "line": 149, "column": 47 }, "end": { - "line": 150, + "line": 149, "column": 48 } } @@ -19780,15 +19780,15 @@ { "type": "CommentLine", "value": " Validate number", - "start": 4661, - "end": 4679, + "start": 4657, + "end": 4675, "loc": { "start": { - "line": 151, + "line": 150, "column": 16 }, "end": { - "line": 151, + "line": 150, "column": 34 } } @@ -19808,15 +19808,15 @@ "updateContext": null }, "value": "if", - "start": 4697, - "end": 4699, + "start": 4693, + "end": 4695, "loc": { "start": { - "line": 152, + "line": 151, "column": 16 }, "end": { - "line": 152, + "line": 151, "column": 18 } } @@ -19833,15 +19833,15 @@ "postfix": false, "binop": null }, - "start": 4700, - "end": 4701, + "start": 4696, + "end": 4697, "loc": { "start": { - "line": 152, + "line": 151, "column": 19 }, "end": { - "line": 152, + "line": 151, "column": 20 } } @@ -19859,15 +19859,15 @@ "binop": null }, "value": "unitValue", - "start": 4701, - "end": 4710, + "start": 4697, + "end": 4706, "loc": { "start": { - "line": 152, + "line": 151, "column": 20 }, "end": { - "line": 152, + "line": 151, "column": 29 } } @@ -19886,15 +19886,15 @@ "updateContext": null }, "value": "<", - "start": 4711, - "end": 4712, + "start": 4707, + "end": 4708, "loc": { "start": { - "line": 152, + "line": 151, "column": 30 }, "end": { - "line": 152, + "line": 151, "column": 31 } } @@ -19913,15 +19913,15 @@ "updateContext": null }, "value": 0, - "start": 4713, - "end": 4714, + "start": 4709, + "end": 4710, "loc": { "start": { - "line": 152, + "line": 151, "column": 32 }, "end": { - "line": 152, + "line": 151, "column": 33 } } @@ -19938,15 +19938,15 @@ "postfix": false, "binop": null }, - "start": 4714, - "end": 4715, + "start": 4710, + "end": 4711, "loc": { "start": { - "line": 152, + "line": 151, "column": 33 }, "end": { - "line": 152, + "line": 151, "column": 34 } } @@ -19963,15 +19963,15 @@ "postfix": false, "binop": null }, - "start": 4716, - "end": 4717, + "start": 4712, + "end": 4713, "loc": { "start": { - "line": 152, + "line": 151, "column": 35 }, "end": { - "line": 152, + "line": 151, "column": 36 } } @@ -19991,15 +19991,15 @@ "updateContext": null }, "value": "throw", - "start": 4739, - "end": 4744, + "start": 4735, + "end": 4740, "loc": { "start": { - "line": 153, + "line": 152, "column": 20 }, "end": { - "line": 153, + "line": 152, "column": 25 } } @@ -20019,15 +20019,15 @@ "updateContext": null }, "value": "new", - "start": 4745, - "end": 4748, + "start": 4741, + "end": 4744, "loc": { "start": { - "line": 153, + "line": 152, "column": 26 }, "end": { - "line": 153, + "line": 152, "column": 29 } } @@ -20045,15 +20045,15 @@ "binop": null }, "value": "Error", - "start": 4749, - "end": 4754, + "start": 4745, + "end": 4750, "loc": { "start": { - "line": 153, + "line": 152, "column": 30 }, "end": { - "line": 153, + "line": 152, "column": 35 } } @@ -20070,15 +20070,15 @@ "postfix": false, "binop": null }, - "start": 4754, - "end": 4755, + "start": 4750, + "end": 4751, "loc": { "start": { - "line": 153, + "line": 152, "column": 35 }, "end": { - "line": 153, + "line": 152, "column": 36 } } @@ -20097,15 +20097,15 @@ "updateContext": null }, "value": "Parameter \"unitValue\" cannot be a negative number.", - "start": 4755, - "end": 4807, + "start": 4751, + "end": 4803, "loc": { "start": { - "line": 153, + "line": 152, "column": 36 }, "end": { - "line": 153, + "line": 152, "column": 88 } } @@ -20122,15 +20122,15 @@ "postfix": false, "binop": null }, - "start": 4807, - "end": 4808, + "start": 4803, + "end": 4804, "loc": { "start": { - "line": 153, + "line": 152, "column": 88 }, "end": { - "line": 153, + "line": 152, "column": 89 } } @@ -20148,15 +20148,15 @@ "binop": null, "updateContext": null }, - "start": 4808, - "end": 4809, + "start": 4804, + "end": 4805, "loc": { "start": { - "line": 153, + "line": 152, "column": 89 }, "end": { - "line": 153, + "line": 152, "column": 90 } } @@ -20173,15 +20173,15 @@ "postfix": false, "binop": null }, - "start": 4827, - "end": 4828, + "start": 4823, + "end": 4824, "loc": { "start": { - "line": 154, + "line": 153, "column": 16 }, "end": { - "line": 154, + "line": 153, "column": 17 } } @@ -20198,15 +20198,15 @@ "postfix": false, "binop": null }, - "start": 4842, - "end": 4843, + "start": 4838, + "end": 4839, "loc": { "start": { - "line": 155, + "line": 154, "column": 12 }, "end": { - "line": 155, + "line": 154, "column": 13 } } @@ -20226,15 +20226,15 @@ "updateContext": null }, "value": "else", - "start": 4844, - "end": 4848, + "start": 4840, + "end": 4844, "loc": { "start": { - "line": 155, + "line": 154, "column": 14 }, "end": { - "line": 155, + "line": 154, "column": 18 } } @@ -20254,15 +20254,15 @@ "updateContext": null }, "value": "if", - "start": 4849, - "end": 4851, + "start": 4845, + "end": 4847, "loc": { "start": { - "line": 155, + "line": 154, "column": 19 }, "end": { - "line": 155, + "line": 154, "column": 21 } } @@ -20279,15 +20279,15 @@ "postfix": false, "binop": null }, - "start": 4852, - "end": 4853, + "start": 4848, + "end": 4849, "loc": { "start": { - "line": 155, + "line": 154, "column": 22 }, "end": { - "line": 155, + "line": 154, "column": 23 } } @@ -20307,15 +20307,15 @@ "updateContext": null }, "value": "typeof", - "start": 4853, - "end": 4859, + "start": 4849, + "end": 4855, "loc": { "start": { - "line": 155, + "line": 154, "column": 23 }, "end": { - "line": 155, + "line": 154, "column": 29 } } @@ -20333,15 +20333,15 @@ "binop": null }, "value": "unitValue", - "start": 4860, - "end": 4869, + "start": 4856, + "end": 4865, "loc": { "start": { - "line": 155, + "line": 154, "column": 30 }, "end": { - "line": 155, + "line": 154, "column": 39 } } @@ -20360,15 +20360,15 @@ "updateContext": null }, "value": "===", - "start": 4870, - "end": 4873, + "start": 4866, + "end": 4869, "loc": { "start": { - "line": 155, + "line": 154, "column": 40 }, "end": { - "line": 155, + "line": 154, "column": 43 } } @@ -20387,15 +20387,15 @@ "updateContext": null }, "value": "string", - "start": 4874, - "end": 4882, + "start": 4870, + "end": 4878, "loc": { "start": { - "line": 155, + "line": 154, "column": 44 }, "end": { - "line": 155, + "line": 154, "column": 52 } } @@ -20412,15 +20412,15 @@ "postfix": false, "binop": null }, - "start": 4882, - "end": 4883, + "start": 4878, + "end": 4879, "loc": { "start": { - "line": 155, + "line": 154, "column": 52 }, "end": { - "line": 155, + "line": 154, "column": 53 } } @@ -20437,15 +20437,15 @@ "postfix": false, "binop": null }, - "start": 4884, - "end": 4885, + "start": 4880, + "end": 4881, "loc": { "start": { - "line": 155, + "line": 154, "column": 54 }, "end": { - "line": 155, + "line": 154, "column": 55 } } @@ -20453,15 +20453,15 @@ { "type": "CommentLine", "value": " Perform lookup using signifier", - "start": 4903, - "end": 4936, + "start": 4899, + "end": 4932, "loc": { "start": { - "line": 156, + "line": 155, "column": 16 }, "end": { - "line": 156, + "line": 155, "column": 49 } } @@ -20479,15 +20479,15 @@ "binop": null }, "value": "unitValue", - "start": 4954, - "end": 4963, + "start": 4950, + "end": 4959, "loc": { "start": { - "line": 157, + "line": 156, "column": 16 }, "end": { - "line": 157, + "line": 156, "column": 25 } } @@ -20506,15 +20506,15 @@ "updateContext": null }, "value": "=", - "start": 4964, - "end": 4965, + "start": 4960, + "end": 4961, "loc": { "start": { - "line": 157, + "line": 156, "column": 26 }, "end": { - "line": 157, + "line": 156, "column": 27 } } @@ -20534,15 +20534,15 @@ "updateContext": null }, "value": "this", - "start": 4966, - "end": 4970, + "start": 4962, + "end": 4966, "loc": { "start": { - "line": 157, + "line": 156, "column": 28 }, "end": { - "line": 157, + "line": 156, "column": 32 } } @@ -20560,15 +20560,15 @@ "binop": null, "updateContext": null }, - "start": 4970, - "end": 4971, + "start": 4966, + "end": 4967, "loc": { "start": { - "line": 157, + "line": 156, "column": 32 }, "end": { - "line": 157, + "line": 156, "column": 33 } } @@ -20586,15 +20586,15 @@ "binop": null }, "value": "lookup", - "start": 4971, - "end": 4977, + "start": 4967, + "end": 4973, "loc": { "start": { - "line": 157, + "line": 156, "column": 33 }, "end": { - "line": 157, + "line": 156, "column": 39 } } @@ -20611,15 +20611,15 @@ "postfix": false, "binop": null }, - "start": 4977, - "end": 4978, + "start": 4973, + "end": 4974, "loc": { "start": { - "line": 157, + "line": 156, "column": 39 }, "end": { - "line": 157, + "line": 156, "column": 40 } } @@ -20637,15 +20637,15 @@ "binop": null }, "value": "unitValue", - "start": 4978, - "end": 4987, + "start": 4974, + "end": 4983, "loc": { "start": { - "line": 157, + "line": 156, "column": 40 }, "end": { - "line": 157, + "line": 156, "column": 49 } } @@ -20662,15 +20662,15 @@ "postfix": false, "binop": null }, - "start": 4987, - "end": 4988, + "start": 4983, + "end": 4984, "loc": { "start": { - "line": 157, + "line": 156, "column": 49 }, "end": { - "line": 157, + "line": 156, "column": 50 } } @@ -20688,15 +20688,15 @@ "binop": null, "updateContext": null }, - "start": 4988, - "end": 4989, + "start": 4984, + "end": 4985, "loc": { "start": { - "line": 157, + "line": 156, "column": 50 }, "end": { - "line": 157, + "line": 156, "column": 51 } } @@ -20704,15 +20704,15 @@ { "type": "CommentLine", "value": " Validate Unit lookup", - "start": 5009, - "end": 5032, + "start": 5005, + "end": 5028, "loc": { "start": { - "line": 159, + "line": 158, "column": 16 }, "end": { - "line": 159, + "line": 158, "column": 39 } } @@ -20732,15 +20732,15 @@ "updateContext": null }, "value": "if", - "start": 5050, - "end": 5052, + "start": 5046, + "end": 5048, "loc": { "start": { - "line": 160, + "line": 159, "column": 16 }, "end": { - "line": 160, + "line": 159, "column": 18 } } @@ -20757,15 +20757,15 @@ "postfix": false, "binop": null }, - "start": 5053, - "end": 5054, + "start": 5049, + "end": 5050, "loc": { "start": { - "line": 160, + "line": 159, "column": 19 }, "end": { - "line": 160, + "line": 159, "column": 20 } } @@ -20783,15 +20783,15 @@ "binop": null }, "value": "unitValue", - "start": 5054, - "end": 5063, + "start": 5050, + "end": 5059, "loc": { "start": { - "line": 160, + "line": 159, "column": 20 }, "end": { - "line": 160, + "line": 159, "column": 29 } } @@ -20810,15 +20810,15 @@ "updateContext": null }, "value": "===", - "start": 5064, - "end": 5067, + "start": 5060, + "end": 5063, "loc": { "start": { - "line": 160, + "line": 159, "column": 30 }, "end": { - "line": 160, + "line": 159, "column": 33 } } @@ -20836,15 +20836,15 @@ "binop": null }, "value": "undefined", - "start": 5068, - "end": 5077, + "start": 5064, + "end": 5073, "loc": { "start": { - "line": 160, + "line": 159, "column": 34 }, "end": { - "line": 160, + "line": 159, "column": 43 } } @@ -20861,15 +20861,15 @@ "postfix": false, "binop": null }, - "start": 5077, - "end": 5078, + "start": 5073, + "end": 5074, "loc": { "start": { - "line": 160, + "line": 159, "column": 43 }, "end": { - "line": 160, + "line": 159, "column": 44 } } @@ -20886,15 +20886,15 @@ "postfix": false, "binop": null }, - "start": 5079, - "end": 5080, + "start": 5075, + "end": 5076, "loc": { "start": { - "line": 160, + "line": 159, "column": 45 }, "end": { - "line": 160, + "line": 159, "column": 46 } } @@ -20914,15 +20914,15 @@ "updateContext": null }, "value": "return", - "start": 5102, - "end": 5108, + "start": 5098, + "end": 5104, "loc": { "start": { - "line": 161, + "line": 160, "column": 20 }, "end": { - "line": 161, + "line": 160, "column": 26 } } @@ -20942,15 +20942,15 @@ "updateContext": null }, "value": "false", - "start": 5109, - "end": 5114, + "start": 5105, + "end": 5110, "loc": { "start": { - "line": 161, + "line": 160, "column": 27 }, "end": { - "line": 161, + "line": 160, "column": 32 } } @@ -20968,15 +20968,15 @@ "binop": null, "updateContext": null }, - "start": 5114, - "end": 5115, + "start": 5110, + "end": 5111, "loc": { "start": { - "line": 161, + "line": 160, "column": 32 }, "end": { - "line": 161, + "line": 160, "column": 33 } } @@ -20993,15 +20993,15 @@ "postfix": false, "binop": null }, - "start": 5133, - "end": 5134, + "start": 5129, + "end": 5130, "loc": { "start": { - "line": 162, + "line": 161, "column": 16 }, "end": { - "line": 162, + "line": 161, "column": 17 } } @@ -21009,15 +21009,15 @@ { "type": "CommentLine", "value": " We want unit value", - "start": 5154, - "end": 5175, + "start": 5150, + "end": 5171, "loc": { "start": { - "line": 164, + "line": 163, "column": 16 }, "end": { - "line": 164, + "line": 163, "column": 37 } } @@ -21035,15 +21035,15 @@ "binop": null }, "value": "unitValue", - "start": 5193, - "end": 5202, + "start": 5189, + "end": 5198, "loc": { "start": { - "line": 165, + "line": 164, "column": 16 }, "end": { - "line": 165, + "line": 164, "column": 25 } } @@ -21062,15 +21062,15 @@ "updateContext": null }, "value": "=", - "start": 5203, - "end": 5204, + "start": 5199, + "end": 5200, "loc": { "start": { - "line": 165, + "line": 164, "column": 26 }, "end": { - "line": 165, + "line": 164, "column": 27 } } @@ -21088,15 +21088,15 @@ "binop": null }, "value": "unitValue", - "start": 5205, - "end": 5214, + "start": 5201, + "end": 5210, "loc": { "start": { - "line": 165, + "line": 164, "column": 28 }, "end": { - "line": 165, + "line": 164, "column": 37 } } @@ -21114,15 +21114,15 @@ "binop": null, "updateContext": null }, - "start": 5214, - "end": 5215, + "start": 5210, + "end": 5211, "loc": { "start": { - "line": 165, + "line": 164, "column": 37 }, "end": { - "line": 165, + "line": 164, "column": 38 } } @@ -21140,15 +21140,15 @@ "binop": null }, "value": "value", - "start": 5215, - "end": 5220, + "start": 5211, + "end": 5216, "loc": { "start": { - "line": 165, + "line": 164, "column": 38 }, "end": { - "line": 165, + "line": 164, "column": 43 } } @@ -21166,15 +21166,15 @@ "binop": null, "updateContext": null }, - "start": 5220, - "end": 5221, + "start": 5216, + "end": 5217, "loc": { "start": { - "line": 165, + "line": 164, "column": 43 }, "end": { - "line": 165, + "line": 164, "column": 44 } } @@ -21191,15 +21191,15 @@ "postfix": false, "binop": null }, - "start": 5235, - "end": 5236, + "start": 5231, + "end": 5232, "loc": { "start": { - "line": 166, + "line": 165, "column": 12 }, "end": { - "line": 166, + "line": 165, "column": 13 } } @@ -21219,15 +21219,15 @@ "updateContext": null }, "value": "else", - "start": 5237, - "end": 5241, + "start": 5233, + "end": 5237, "loc": { "start": { - "line": 166, + "line": 165, "column": 14 }, "end": { - "line": 166, + "line": 165, "column": 18 } } @@ -21244,15 +21244,15 @@ "postfix": false, "binop": null }, - "start": 5242, - "end": 5243, + "start": 5238, + "end": 5239, "loc": { "start": { - "line": 166, + "line": 165, "column": 19 }, "end": { - "line": 166, + "line": 165, "column": 20 } } @@ -21272,15 +21272,15 @@ "updateContext": null }, "value": "throw", - "start": 5261, - "end": 5266, + "start": 5257, + "end": 5262, "loc": { "start": { - "line": 167, + "line": 166, "column": 16 }, "end": { - "line": 167, + "line": 166, "column": 21 } } @@ -21300,15 +21300,15 @@ "updateContext": null }, "value": "new", - "start": 5267, - "end": 5270, + "start": 5263, + "end": 5266, "loc": { "start": { - "line": 167, + "line": 166, "column": 22 }, "end": { - "line": 167, + "line": 166, "column": 25 } } @@ -21326,15 +21326,15 @@ "binop": null }, "value": "Error", - "start": 5271, - "end": 5276, + "start": 5267, + "end": 5272, "loc": { "start": { - "line": 167, + "line": 166, "column": 26 }, "end": { - "line": 167, + "line": 166, "column": 31 } } @@ -21351,15 +21351,15 @@ "postfix": false, "binop": null }, - "start": 5276, - "end": 5277, + "start": 5272, + "end": 5273, "loc": { "start": { - "line": 167, + "line": 166, "column": 31 }, "end": { - "line": 167, + "line": 166, "column": 32 } } @@ -21378,15 +21378,15 @@ "updateContext": null }, "value": "Parameter \"unitValue\" must be of type \"number\" or \"string\".", - "start": 5277, - "end": 5338, + "start": 5273, + "end": 5334, "loc": { "start": { - "line": 167, + "line": 166, "column": 32 }, "end": { - "line": 167, + "line": 166, "column": 93 } } @@ -21403,15 +21403,15 @@ "postfix": false, "binop": null }, - "start": 5338, - "end": 5339, + "start": 5334, + "end": 5335, "loc": { "start": { - "line": 167, + "line": 166, "column": 93 }, "end": { - "line": 167, + "line": 166, "column": 94 } } @@ -21429,15 +21429,15 @@ "binop": null, "updateContext": null }, - "start": 5339, - "end": 5340, + "start": 5335, + "end": 5336, "loc": { "start": { - "line": 167, + "line": 166, "column": 94 }, "end": { - "line": 167, + "line": 166, "column": 95 } } @@ -21454,15 +21454,15 @@ "postfix": false, "binop": null }, - "start": 5354, - "end": 5355, + "start": 5350, + "end": 5351, "loc": { "start": { - "line": 168, + "line": 167, "column": 12 }, "end": { - "line": 168, + "line": 167, "column": 13 } } @@ -21470,15 +21470,15 @@ { "type": "CommentLine", "value": " Convert value to base unit value", - "start": 5371, - "end": 5406, + "start": 5367, + "end": 5402, "loc": { "start": { - "line": 170, + "line": 169, "column": 12 }, "end": { - "line": 170, + "line": 169, "column": 47 } } @@ -21496,15 +21496,15 @@ "binop": null }, "value": "value", - "start": 5420, - "end": 5425, + "start": 5416, + "end": 5421, "loc": { "start": { - "line": 171, + "line": 170, "column": 12 }, "end": { - "line": 171, + "line": 170, "column": 17 } } @@ -21523,15 +21523,15 @@ "updateContext": null }, "value": "=", - "start": 5426, - "end": 5427, + "start": 5422, + "end": 5423, "loc": { "start": { - "line": 171, + "line": 170, "column": 18 }, "end": { - "line": 171, + "line": 170, "column": 19 } } @@ -21549,15 +21549,15 @@ "binop": null }, "value": "value", - "start": 5428, - "end": 5433, + "start": 5424, + "end": 5429, "loc": { "start": { - "line": 171, + "line": 170, "column": 20 }, "end": { - "line": 171, + "line": 170, "column": 25 } } @@ -21576,15 +21576,15 @@ "updateContext": null }, "value": "*", - "start": 5434, - "end": 5435, + "start": 5430, + "end": 5431, "loc": { "start": { - "line": 171, + "line": 170, "column": 26 }, "end": { - "line": 171, + "line": 170, "column": 27 } } @@ -21602,15 +21602,15 @@ "binop": null }, "value": "unitValue", - "start": 5436, - "end": 5445, + "start": 5432, + "end": 5441, "loc": { "start": { - "line": 171, + "line": 170, "column": 28 }, "end": { - "line": 171, + "line": 170, "column": 37 } } @@ -21628,15 +21628,15 @@ "binop": null, "updateContext": null }, - "start": 5445, - "end": 5446, + "start": 5441, + "end": 5442, "loc": { "start": { - "line": 171, + "line": 170, "column": 37 }, "end": { - "line": 171, + "line": 170, "column": 38 } } @@ -21653,15 +21653,15 @@ "postfix": false, "binop": null }, - "start": 5456, - "end": 5457, + "start": 5452, + "end": 5453, "loc": { "start": { - "line": 172, + "line": 171, "column": 8 }, "end": { - "line": 172, + "line": 171, "column": 9 } } @@ -21681,15 +21681,15 @@ "updateContext": null }, "value": "let", - "start": 5469, - "end": 5472, + "start": 5465, + "end": 5468, "loc": { "start": { - "line": 174, + "line": 173, "column": 8 }, "end": { - "line": 174, + "line": 173, "column": 11 } } @@ -21707,15 +21707,15 @@ "binop": null }, "value": "formatted", - "start": 5473, - "end": 5482, + "start": 5469, + "end": 5478, "loc": { "start": { - "line": 174, + "line": 173, "column": 12 }, "end": { - "line": 174, + "line": 173, "column": 21 } } @@ -21734,15 +21734,15 @@ "updateContext": null }, "value": "=", - "start": 5483, - "end": 5484, + "start": 5479, + "end": 5480, "loc": { "start": { - "line": 174, + "line": 173, "column": 22 }, "end": { - "line": 174, + "line": 173, "column": 23 } } @@ -21761,15 +21761,15 @@ "updateContext": null }, "value": "", - "start": 5485, - "end": 5487, + "start": 5481, + "end": 5483, "loc": { "start": { - "line": 174, + "line": 173, "column": 24 }, "end": { - "line": 174, + "line": 173, "column": 26 } } @@ -21787,15 +21787,15 @@ "binop": null, "updateContext": null }, - "start": 5487, - "end": 5488, + "start": 5483, + "end": 5484, "loc": { "start": { - "line": 174, + "line": 173, "column": 26 }, "end": { - "line": 174, + "line": 173, "column": 27 } } @@ -21803,15 +21803,15 @@ { "type": "CommentLine", "value": " Loop through Units", - "start": 5500, - "end": 5521, + "start": 5496, + "end": 5517, "loc": { "start": { - "line": 176, + "line": 175, "column": 8 }, "end": { - "line": 176, + "line": 175, "column": 29 } } @@ -21831,15 +21831,15 @@ "updateContext": null }, "value": "for", - "start": 5531, - "end": 5534, + "start": 5527, + "end": 5530, "loc": { "start": { - "line": 177, + "line": 176, "column": 8 }, "end": { - "line": 177, + "line": 176, "column": 11 } } @@ -21856,15 +21856,15 @@ "postfix": false, "binop": null }, - "start": 5535, - "end": 5536, + "start": 5531, + "end": 5532, "loc": { "start": { - "line": 177, + "line": 176, "column": 12 }, "end": { - "line": 177, + "line": 176, "column": 13 } } @@ -21884,15 +21884,15 @@ "updateContext": null }, "value": "let", - "start": 5536, - "end": 5539, + "start": 5532, + "end": 5535, "loc": { "start": { - "line": 177, + "line": 176, "column": 13 }, "end": { - "line": 177, + "line": 176, "column": 16 } } @@ -21910,15 +21910,15 @@ "binop": null }, "value": "unit", - "start": 5540, - "end": 5544, + "start": 5536, + "end": 5540, "loc": { "start": { - "line": 177, + "line": 176, "column": 17 }, "end": { - "line": 177, + "line": 176, "column": 21 } } @@ -21936,15 +21936,15 @@ "binop": null }, "value": "of", - "start": 5545, - "end": 5547, + "start": 5541, + "end": 5543, "loc": { "start": { - "line": 177, + "line": 176, "column": 22 }, "end": { - "line": 177, + "line": 176, "column": 24 } } @@ -21964,15 +21964,15 @@ "updateContext": null }, "value": "this", - "start": 5548, - "end": 5552, + "start": 5544, + "end": 5548, "loc": { "start": { - "line": 177, + "line": 176, "column": 25 }, "end": { - "line": 177, + "line": 176, "column": 29 } } @@ -21990,15 +21990,15 @@ "binop": null, "updateContext": null }, - "start": 5552, - "end": 5553, + "start": 5548, + "end": 5549, "loc": { "start": { - "line": 177, + "line": 176, "column": 29 }, "end": { - "line": 177, + "line": 176, "column": 30 } } @@ -22016,15 +22016,15 @@ "binop": null }, "value": "Units", - "start": 5553, - "end": 5558, + "start": 5549, + "end": 5554, "loc": { "start": { - "line": 177, + "line": 176, "column": 30 }, "end": { - "line": 177, + "line": 176, "column": 35 } } @@ -22041,15 +22041,15 @@ "postfix": false, "binop": null }, - "start": 5558, - "end": 5559, + "start": 5554, + "end": 5555, "loc": { "start": { - "line": 177, + "line": 176, "column": 35 }, "end": { - "line": 177, + "line": 176, "column": 36 } } @@ -22066,15 +22066,15 @@ "postfix": false, "binop": null }, - "start": 5560, - "end": 5561, + "start": 5556, + "end": 5557, "loc": { "start": { - "line": 177, + "line": 176, "column": 37 }, "end": { - "line": 177, + "line": 176, "column": 38 } } @@ -22082,15 +22082,15 @@ { "type": "CommentLine", "value": " Check if Unit is displaying and value is greater than unit value", - "start": 5575, - "end": 5642, + "start": 5571, + "end": 5638, "loc": { "start": { - "line": 178, + "line": 177, "column": 12 }, "end": { - "line": 178, + "line": 177, "column": 79 } } @@ -22110,15 +22110,15 @@ "updateContext": null }, "value": "if", - "start": 5656, - "end": 5658, + "start": 5652, + "end": 5654, "loc": { "start": { - "line": 179, + "line": 178, "column": 12 }, "end": { - "line": 179, + "line": 178, "column": 14 } } @@ -22135,15 +22135,15 @@ "postfix": false, "binop": null }, - "start": 5659, - "end": 5660, + "start": 5655, + "end": 5656, "loc": { "start": { - "line": 179, + "line": 178, "column": 15 }, "end": { - "line": 179, + "line": 178, "column": 16 } } @@ -22161,15 +22161,15 @@ "binop": null }, "value": "unit", - "start": 5660, - "end": 5664, + "start": 5656, + "end": 5660, "loc": { "start": { - "line": 179, + "line": 178, "column": 16 }, "end": { - "line": 179, + "line": 178, "column": 20 } } @@ -22187,15 +22187,15 @@ "binop": null, "updateContext": null }, - "start": 5664, - "end": 5665, + "start": 5660, + "end": 5661, "loc": { "start": { - "line": 179, + "line": 178, "column": 20 }, "end": { - "line": 179, + "line": 178, "column": 21 } } @@ -22213,15 +22213,15 @@ "binop": null }, "value": "display", - "start": 5665, - "end": 5672, + "start": 5661, + "end": 5668, "loc": { "start": { - "line": 179, + "line": 178, "column": 21 }, "end": { - "line": 179, + "line": 178, "column": 28 } } @@ -22240,15 +22240,15 @@ "updateContext": null }, "value": "&&", - "start": 5673, - "end": 5675, + "start": 5669, + "end": 5671, "loc": { "start": { - "line": 179, + "line": 178, "column": 29 }, "end": { - "line": 179, + "line": 178, "column": 31 } } @@ -22266,15 +22266,15 @@ "binop": null }, "value": "value", - "start": 5676, - "end": 5681, + "start": 5672, + "end": 5677, "loc": { "start": { - "line": 179, + "line": 178, "column": 32 }, "end": { - "line": 179, + "line": 178, "column": 37 } } @@ -22293,15 +22293,15 @@ "updateContext": null }, "value": ">=", - "start": 5682, - "end": 5684, + "start": 5678, + "end": 5680, "loc": { "start": { - "line": 179, + "line": 178, "column": 38 }, "end": { - "line": 179, + "line": 178, "column": 40 } } @@ -22319,15 +22319,15 @@ "binop": null }, "value": "unit", - "start": 5685, - "end": 5689, + "start": 5681, + "end": 5685, "loc": { "start": { - "line": 179, + "line": 178, "column": 41 }, "end": { - "line": 179, + "line": 178, "column": 45 } } @@ -22345,15 +22345,15 @@ "binop": null, "updateContext": null }, - "start": 5689, - "end": 5690, + "start": 5685, + "end": 5686, "loc": { "start": { - "line": 179, + "line": 178, "column": 45 }, "end": { - "line": 179, + "line": 178, "column": 46 } } @@ -22371,15 +22371,15 @@ "binop": null }, "value": "value", - "start": 5690, - "end": 5695, + "start": 5686, + "end": 5691, "loc": { "start": { - "line": 179, + "line": 178, "column": 46 }, "end": { - "line": 179, + "line": 178, "column": 51 } } @@ -22396,15 +22396,15 @@ "postfix": false, "binop": null }, - "start": 5695, - "end": 5696, + "start": 5691, + "end": 5692, "loc": { "start": { - "line": 179, + "line": 178, "column": 51 }, "end": { - "line": 179, + "line": 178, "column": 52 } } @@ -22421,15 +22421,15 @@ "postfix": false, "binop": null }, - "start": 5697, - "end": 5698, + "start": 5693, + "end": 5694, "loc": { "start": { - "line": 179, + "line": 178, "column": 53 }, "end": { - "line": 179, + "line": 178, "column": 54 } } @@ -22437,15 +22437,15 @@ { "type": "CommentLine", "value": " Calculate quantity of unit", - "start": 5716, - "end": 5745, + "start": 5712, + "end": 5741, "loc": { "start": { - "line": 180, + "line": 179, "column": 16 }, "end": { - "line": 180, + "line": 179, "column": 45 } } @@ -22465,15 +22465,15 @@ "updateContext": null }, "value": "let", - "start": 5763, - "end": 5766, + "start": 5759, + "end": 5762, "loc": { "start": { - "line": 181, + "line": 180, "column": 16 }, "end": { - "line": 181, + "line": 180, "column": 19 } } @@ -22491,15 +22491,15 @@ "binop": null }, "value": "q", - "start": 5767, - "end": 5768, + "start": 5763, + "end": 5764, "loc": { "start": { - "line": 181, + "line": 180, "column": 20 }, "end": { - "line": 181, + "line": 180, "column": 21 } } @@ -22518,15 +22518,15 @@ "updateContext": null }, "value": "=", - "start": 5769, - "end": 5770, + "start": 5765, + "end": 5766, "loc": { "start": { - "line": 181, + "line": 180, "column": 22 }, "end": { - "line": 181, + "line": 180, "column": 23 } } @@ -22544,15 +22544,15 @@ "binop": null }, "value": "value", - "start": 5771, - "end": 5776, + "start": 5767, + "end": 5772, "loc": { "start": { - "line": 181, + "line": 180, "column": 24 }, "end": { - "line": 181, + "line": 180, "column": 29 } } @@ -22571,15 +22571,15 @@ "updateContext": null }, "value": "/", - "start": 5777, - "end": 5778, + "start": 5773, + "end": 5774, "loc": { "start": { - "line": 181, + "line": 180, "column": 30 }, "end": { - "line": 181, + "line": 180, "column": 31 } } @@ -22597,15 +22597,15 @@ "binop": null }, "value": "unit", - "start": 5779, - "end": 5783, + "start": 5775, + "end": 5779, "loc": { "start": { - "line": 181, + "line": 180, "column": 32 }, "end": { - "line": 181, + "line": 180, "column": 36 } } @@ -22623,15 +22623,15 @@ "binop": null, "updateContext": null }, - "start": 5783, - "end": 5784, + "start": 5779, + "end": 5780, "loc": { "start": { - "line": 181, + "line": 180, "column": 36 }, "end": { - "line": 181, + "line": 180, "column": 37 } } @@ -22649,15 +22649,15 @@ "binop": null }, "value": "value", - "start": 5784, - "end": 5789, + "start": 5780, + "end": 5785, "loc": { "start": { - "line": 181, + "line": 180, "column": 37 }, "end": { - "line": 181, + "line": 180, "column": 42 } } @@ -22675,15 +22675,15 @@ "binop": null, "updateContext": null }, - "start": 5789, - "end": 5790, + "start": 5785, + "end": 5786, "loc": { "start": { - "line": 181, + "line": 180, "column": 42 }, "end": { - "line": 181, + "line": 180, "column": 43 } } @@ -22691,15 +22691,15 @@ { "type": "CommentLine", "value": " Exclusive means it will display the whole value under its sole unit", - "start": 5810, - "end": 5880, + "start": 5806, + "end": 5876, "loc": { "start": { - "line": 183, + "line": 182, "column": 16 }, "end": { - "line": 183, + "line": 182, "column": 86 } } @@ -22707,15 +22707,15 @@ { "type": "CommentLine", "value": " Here we check to make sure it isn't exclusive so we can remove the change from value and make it whole", - "start": 5898, - "end": 6003, + "start": 5894, + "end": 5999, "loc": { "start": { - "line": 184, + "line": 183, "column": 16 }, "end": { - "line": 184, + "line": 183, "column": 121 } } @@ -22735,15 +22735,15 @@ "updateContext": null }, "value": "if", - "start": 6021, - "end": 6023, + "start": 6017, + "end": 6019, "loc": { "start": { - "line": 185, + "line": 184, "column": 16 }, "end": { - "line": 185, + "line": 184, "column": 18 } } @@ -22760,15 +22760,15 @@ "postfix": false, "binop": null }, - "start": 6024, - "end": 6025, + "start": 6020, + "end": 6021, "loc": { "start": { - "line": 185, + "line": 184, "column": 19 }, "end": { - "line": 185, + "line": 184, "column": 20 } } @@ -22787,15 +22787,15 @@ "updateContext": null }, "value": "!", - "start": 6025, - "end": 6026, + "start": 6021, + "end": 6022, "loc": { "start": { - "line": 185, + "line": 184, "column": 20 }, "end": { - "line": 185, + "line": 184, "column": 21 } } @@ -22813,15 +22813,15 @@ "binop": null }, "value": "unit", - "start": 6026, - "end": 6030, + "start": 6022, + "end": 6026, "loc": { "start": { - "line": 185, + "line": 184, "column": 21 }, "end": { - "line": 185, + "line": 184, "column": 25 } } @@ -22839,15 +22839,15 @@ "binop": null, "updateContext": null }, - "start": 6030, - "end": 6031, + "start": 6026, + "end": 6027, "loc": { "start": { - "line": 185, + "line": 184, "column": 25 }, "end": { - "line": 185, + "line": 184, "column": 26 } } @@ -22865,15 +22865,15 @@ "binop": null }, "value": "display", - "start": 6031, - "end": 6038, + "start": 6027, + "end": 6034, "loc": { "start": { - "line": 185, + "line": 184, "column": 26 }, "end": { - "line": 185, + "line": 184, "column": 33 } } @@ -22891,15 +22891,15 @@ "binop": null, "updateContext": null }, - "start": 6038, - "end": 6039, + "start": 6034, + "end": 6035, "loc": { "start": { - "line": 185, + "line": 184, "column": 33 }, "end": { - "line": 185, + "line": 184, "column": 34 } } @@ -22917,15 +22917,15 @@ "binop": null }, "value": "exclusive", - "start": 6039, - "end": 6048, + "start": 6035, + "end": 6044, "loc": { "start": { - "line": 185, + "line": 184, "column": 34 }, "end": { - "line": 185, + "line": 184, "column": 43 } } @@ -22942,15 +22942,15 @@ "postfix": false, "binop": null }, - "start": 6048, - "end": 6049, + "start": 6044, + "end": 6045, "loc": { "start": { - "line": 185, + "line": 184, "column": 43 }, "end": { - "line": 185, + "line": 184, "column": 44 } } @@ -22967,15 +22967,15 @@ "postfix": false, "binop": null }, - "start": 6050, - "end": 6051, + "start": 6046, + "end": 6047, "loc": { "start": { - "line": 185, + "line": 184, "column": 45 }, "end": { - "line": 185, + "line": 184, "column": 46 } } @@ -22983,15 +22983,15 @@ { "type": "CommentLine", "value": " Whole unit quantity", - "start": 6073, - "end": 6095, + "start": 6069, + "end": 6091, "loc": { "start": { - "line": 186, + "line": 185, "column": 20 }, "end": { - "line": 186, + "line": 185, "column": 42 } } @@ -23009,15 +23009,15 @@ "binop": null }, "value": "q", - "start": 6117, - "end": 6118, + "start": 6113, + "end": 6114, "loc": { "start": { - "line": 187, + "line": 186, "column": 20 }, "end": { - "line": 187, + "line": 186, "column": 21 } } @@ -23036,15 +23036,15 @@ "updateContext": null }, "value": "=", - "start": 6119, - "end": 6120, + "start": 6115, + "end": 6116, "loc": { "start": { - "line": 187, + "line": 186, "column": 22 }, "end": { - "line": 187, + "line": 186, "column": 23 } } @@ -23062,15 +23062,15 @@ "binop": null }, "value": "Math", - "start": 6121, - "end": 6125, + "start": 6117, + "end": 6121, "loc": { "start": { - "line": 187, + "line": 186, "column": 24 }, "end": { - "line": 187, + "line": 186, "column": 28 } } @@ -23088,15 +23088,15 @@ "binop": null, "updateContext": null }, - "start": 6125, - "end": 6126, + "start": 6121, + "end": 6122, "loc": { "start": { - "line": 187, + "line": 186, "column": 28 }, "end": { - "line": 187, + "line": 186, "column": 29 } } @@ -23114,15 +23114,15 @@ "binop": null }, "value": "floor", - "start": 6126, - "end": 6131, + "start": 6122, + "end": 6127, "loc": { "start": { - "line": 187, + "line": 186, "column": 29 }, "end": { - "line": 187, + "line": 186, "column": 34 } } @@ -23139,15 +23139,15 @@ "postfix": false, "binop": null }, - "start": 6131, - "end": 6132, + "start": 6127, + "end": 6128, "loc": { "start": { - "line": 187, + "line": 186, "column": 34 }, "end": { - "line": 187, + "line": 186, "column": 35 } } @@ -23165,15 +23165,15 @@ "binop": null }, "value": "q", - "start": 6132, - "end": 6133, + "start": 6128, + "end": 6129, "loc": { "start": { - "line": 187, + "line": 186, "column": 35 }, "end": { - "line": 187, + "line": 186, "column": 36 } } @@ -23190,15 +23190,15 @@ "postfix": false, "binop": null }, - "start": 6133, - "end": 6134, + "start": 6129, + "end": 6130, "loc": { "start": { - "line": 187, + "line": 186, "column": 36 }, "end": { - "line": 187, + "line": 186, "column": 37 } } @@ -23216,15 +23216,15 @@ "binop": null, "updateContext": null }, - "start": 6134, - "end": 6135, + "start": 6130, + "end": 6131, "loc": { "start": { - "line": 187, + "line": 186, "column": 37 }, "end": { - "line": 187, + "line": 186, "column": 38 } } @@ -23232,15 +23232,15 @@ { "type": "CommentLine", "value": " Subtract change from total", - "start": 6159, - "end": 6188, + "start": 6155, + "end": 6184, "loc": { "start": { - "line": 189, + "line": 188, "column": 20 }, "end": { - "line": 189, + "line": 188, "column": 49 } } @@ -23258,15 +23258,15 @@ "binop": null }, "value": "value", - "start": 6210, - "end": 6215, + "start": 6206, + "end": 6211, "loc": { "start": { - "line": 190, + "line": 189, "column": 20 }, "end": { - "line": 190, + "line": 189, "column": 25 } } @@ -23285,15 +23285,15 @@ "updateContext": null }, "value": "-=", - "start": 6216, - "end": 6218, + "start": 6212, + "end": 6214, "loc": { "start": { - "line": 190, + "line": 189, "column": 26 }, "end": { - "line": 190, + "line": 189, "column": 28 } } @@ -23311,15 +23311,15 @@ "binop": null }, "value": "q", - "start": 6219, - "end": 6220, + "start": 6215, + "end": 6216, "loc": { "start": { - "line": 190, + "line": 189, "column": 29 }, "end": { - "line": 190, + "line": 189, "column": 30 } } @@ -23338,15 +23338,15 @@ "updateContext": null }, "value": "*", - "start": 6221, - "end": 6222, + "start": 6217, + "end": 6218, "loc": { "start": { - "line": 190, + "line": 189, "column": 31 }, "end": { - "line": 190, + "line": 189, "column": 32 } } @@ -23364,15 +23364,15 @@ "binop": null }, "value": "unit", - "start": 6223, - "end": 6227, + "start": 6219, + "end": 6223, "loc": { "start": { - "line": 190, + "line": 189, "column": 33 }, "end": { - "line": 190, + "line": 189, "column": 37 } } @@ -23390,15 +23390,15 @@ "binop": null, "updateContext": null }, - "start": 6227, - "end": 6228, + "start": 6223, + "end": 6224, "loc": { "start": { - "line": 190, + "line": 189, "column": 37 }, "end": { - "line": 190, + "line": 189, "column": 38 } } @@ -23416,15 +23416,15 @@ "binop": null }, "value": "value", - "start": 6228, - "end": 6233, + "start": 6224, + "end": 6229, "loc": { "start": { - "line": 190, + "line": 189, "column": 38 }, "end": { - "line": 190, + "line": 189, "column": 43 } } @@ -23442,15 +23442,15 @@ "binop": null, "updateContext": null }, - "start": 6233, - "end": 6234, + "start": 6229, + "end": 6230, "loc": { "start": { - "line": 190, + "line": 189, "column": 43 }, "end": { - "line": 190, + "line": 189, "column": 44 } } @@ -23467,15 +23467,15 @@ "postfix": false, "binop": null }, - "start": 6252, - "end": 6253, + "start": 6248, + "end": 6249, "loc": { "start": { - "line": 191, + "line": 190, "column": 16 }, "end": { - "line": 191, + "line": 190, "column": 17 } } @@ -23483,15 +23483,15 @@ { "type": "CommentLine", "value": " Add space if text has content already", - "start": 6273, - "end": 6313, + "start": 6269, + "end": 6309, "loc": { "start": { - "line": 193, + "line": 192, "column": 16 }, "end": { - "line": 193, + "line": 192, "column": 56 } } @@ -23511,15 +23511,15 @@ "updateContext": null }, "value": "if", - "start": 6331, - "end": 6333, + "start": 6327, + "end": 6329, "loc": { "start": { - "line": 194, + "line": 193, "column": 16 }, "end": { - "line": 194, + "line": 193, "column": 18 } } @@ -23536,15 +23536,15 @@ "postfix": false, "binop": null }, - "start": 6334, - "end": 6335, + "start": 6330, + "end": 6331, "loc": { "start": { - "line": 194, + "line": 193, "column": 19 }, "end": { - "line": 194, + "line": 193, "column": 20 } } @@ -23562,15 +23562,15 @@ "binop": null }, "value": "formatted", - "start": 6335, - "end": 6344, + "start": 6331, + "end": 6340, "loc": { "start": { - "line": 194, + "line": 193, "column": 20 }, "end": { - "line": 194, + "line": 193, "column": 29 } } @@ -23588,15 +23588,15 @@ "binop": null, "updateContext": null }, - "start": 6344, - "end": 6345, + "start": 6340, + "end": 6341, "loc": { "start": { - "line": 194, + "line": 193, "column": 29 }, "end": { - "line": 194, + "line": 193, "column": 30 } } @@ -23614,15 +23614,15 @@ "binop": null }, "value": "length", - "start": 6345, - "end": 6351, + "start": 6341, + "end": 6347, "loc": { "start": { - "line": 194, + "line": 193, "column": 30 }, "end": { - "line": 194, + "line": 193, "column": 36 } } @@ -23641,15 +23641,15 @@ "updateContext": null }, "value": ">", - "start": 6352, - "end": 6353, + "start": 6348, + "end": 6349, "loc": { "start": { - "line": 194, + "line": 193, "column": 37 }, "end": { - "line": 194, + "line": 193, "column": 38 } } @@ -23668,15 +23668,15 @@ "updateContext": null }, "value": 0, - "start": 6354, - "end": 6355, + "start": 6350, + "end": 6351, "loc": { "start": { - "line": 194, + "line": 193, "column": 39 }, "end": { - "line": 194, + "line": 193, "column": 40 } } @@ -23693,15 +23693,15 @@ "postfix": false, "binop": null }, - "start": 6355, - "end": 6356, + "start": 6351, + "end": 6352, "loc": { "start": { - "line": 194, + "line": 193, "column": 40 }, "end": { - "line": 194, + "line": 193, "column": 41 } } @@ -23718,15 +23718,15 @@ "postfix": false, "binop": null }, - "start": 6357, - "end": 6358, + "start": 6353, + "end": 6354, "loc": { "start": { - "line": 194, + "line": 193, "column": 42 }, "end": { - "line": 194, + "line": 193, "column": 43 } } @@ -23744,15 +23744,15 @@ "binop": null }, "value": "formatted", - "start": 6380, - "end": 6389, + "start": 6376, + "end": 6385, "loc": { "start": { - "line": 195, + "line": 194, "column": 20 }, "end": { - "line": 195, + "line": 194, "column": 29 } } @@ -23771,15 +23771,15 @@ "updateContext": null }, "value": "+=", - "start": 6390, - "end": 6392, + "start": 6386, + "end": 6388, "loc": { "start": { - "line": 195, + "line": 194, "column": 30 }, "end": { - "line": 195, + "line": 194, "column": 32 } } @@ -23798,15 +23798,15 @@ "updateContext": null }, "value": " ", - "start": 6393, - "end": 6396, + "start": 6389, + "end": 6392, "loc": { "start": { - "line": 195, + "line": 194, "column": 33 }, "end": { - "line": 195, + "line": 194, "column": 36 } } @@ -23824,15 +23824,15 @@ "binop": null, "updateContext": null }, - "start": 6396, - "end": 6397, + "start": 6392, + "end": 6393, "loc": { "start": { - "line": 195, + "line": 194, "column": 36 }, "end": { - "line": 195, + "line": 194, "column": 37 } } @@ -23849,15 +23849,15 @@ "postfix": false, "binop": null }, - "start": 6415, - "end": 6416, + "start": 6411, + "end": 6412, "loc": { "start": { - "line": 196, + "line": 195, "column": 16 }, "end": { - "line": 196, + "line": 195, "column": 17 } } @@ -23865,15 +23865,15 @@ { "type": "CommentLine", "value": " Add formatted value", - "start": 6436, - "end": 6458, + "start": 6432, + "end": 6454, "loc": { "start": { - "line": 198, + "line": 197, "column": 16 }, "end": { - "line": 198, + "line": 197, "column": 38 } } @@ -23891,15 +23891,15 @@ "binop": null }, "value": "formatted", - "start": 6476, - "end": 6485, + "start": 6472, + "end": 6481, "loc": { "start": { - "line": 199, + "line": 198, "column": 16 }, "end": { - "line": 199, + "line": 198, "column": 25 } } @@ -23918,15 +23918,15 @@ "updateContext": null }, "value": "+=", - "start": 6486, - "end": 6488, + "start": 6482, + "end": 6484, "loc": { "start": { - "line": 199, + "line": 198, "column": 26 }, "end": { - "line": 199, + "line": 198, "column": 28 } } @@ -23944,15 +23944,15 @@ "binop": null }, "value": "q", - "start": 6489, - "end": 6490, + "start": 6485, + "end": 6486, "loc": { "start": { - "line": 199, + "line": 198, "column": 29 }, "end": { - "line": 199, + "line": 198, "column": 30 } } @@ -23970,15 +23970,15 @@ "binop": null, "updateContext": null }, - "start": 6490, - "end": 6491, + "start": 6486, + "end": 6487, "loc": { "start": { - "line": 199, + "line": 198, "column": 30 }, "end": { - "line": 199, + "line": 198, "column": 31 } } @@ -23996,15 +23996,15 @@ "binop": null }, "value": "toFixed", - "start": 6491, - "end": 6498, + "start": 6487, + "end": 6494, "loc": { "start": { - "line": 199, + "line": 198, "column": 31 }, "end": { - "line": 199, + "line": 198, "column": 38 } } @@ -24021,15 +24021,15 @@ "postfix": false, "binop": null }, - "start": 6498, - "end": 6499, + "start": 6494, + "end": 6495, "loc": { "start": { - "line": 199, + "line": 198, "column": 38 }, "end": { - "line": 199, + "line": 198, "column": 39 } } @@ -24047,15 +24047,15 @@ "binop": null }, "value": "unit", - "start": 6499, - "end": 6503, + "start": 6495, + "end": 6499, "loc": { "start": { - "line": 199, + "line": 198, "column": 39 }, "end": { - "line": 199, + "line": 198, "column": 43 } } @@ -24073,15 +24073,15 @@ "binop": null, "updateContext": null }, - "start": 6503, - "end": 6504, + "start": 6499, + "end": 6500, "loc": { "start": { - "line": 199, + "line": 198, "column": 43 }, "end": { - "line": 199, + "line": 198, "column": 44 } } @@ -24099,15 +24099,15 @@ "binop": null }, "value": "display", - "start": 6504, - "end": 6511, + "start": 6500, + "end": 6507, "loc": { "start": { - "line": 199, + "line": 198, "column": 44 }, "end": { - "line": 199, + "line": 198, "column": 51 } } @@ -24125,15 +24125,15 @@ "binop": null, "updateContext": null }, - "start": 6511, - "end": 6512, + "start": 6507, + "end": 6508, "loc": { "start": { - "line": 199, + "line": 198, "column": 51 }, "end": { - "line": 199, + "line": 198, "column": 52 } } @@ -24151,15 +24151,15 @@ "binop": null }, "value": "rounding", - "start": 6512, - "end": 6520, + "start": 6508, + "end": 6516, "loc": { "start": { - "line": 199, + "line": 198, "column": 52 }, "end": { - "line": 199, + "line": 198, "column": 60 } } @@ -24177,15 +24177,15 @@ "binop": null, "updateContext": null }, - "start": 6521, - "end": 6522, + "start": 6517, + "end": 6518, "loc": { "start": { - "line": 199, + "line": 198, "column": 61 }, "end": { - "line": 199, + "line": 198, "column": 62 } } @@ -24203,15 +24203,15 @@ "binop": null }, "value": "unit", - "start": 6523, - "end": 6527, + "start": 6519, + "end": 6523, "loc": { "start": { - "line": 199, + "line": 198, "column": 63 }, "end": { - "line": 199, + "line": 198, "column": 67 } } @@ -24229,15 +24229,15 @@ "binop": null, "updateContext": null }, - "start": 6527, - "end": 6528, + "start": 6523, + "end": 6524, "loc": { "start": { - "line": 199, + "line": 198, "column": 67 }, "end": { - "line": 199, + "line": 198, "column": 68 } } @@ -24255,15 +24255,15 @@ "binop": null }, "value": "display", - "start": 6528, - "end": 6535, + "start": 6524, + "end": 6531, "loc": { "start": { - "line": 199, + "line": 198, "column": 68 }, "end": { - "line": 199, + "line": 198, "column": 75 } } @@ -24281,15 +24281,15 @@ "binop": null, "updateContext": null }, - "start": 6535, - "end": 6536, + "start": 6531, + "end": 6532, "loc": { "start": { - "line": 199, + "line": 198, "column": 75 }, "end": { - "line": 199, + "line": 198, "column": 76 } } @@ -24307,15 +24307,15 @@ "binop": null }, "value": "rounding", - "start": 6536, - "end": 6544, + "start": 6532, + "end": 6540, "loc": { "start": { - "line": 199, + "line": 198, "column": 76 }, "end": { - "line": 199, + "line": 198, "column": 84 } } @@ -24333,15 +24333,15 @@ "binop": null, "updateContext": null }, - "start": 6545, - "end": 6546, + "start": 6541, + "end": 6542, "loc": { "start": { - "line": 199, + "line": 198, "column": 85 }, "end": { - "line": 199, + "line": 198, "column": 86 } } @@ -24360,15 +24360,15 @@ "updateContext": null }, "value": 0, - "start": 6547, - "end": 6548, + "start": 6543, + "end": 6544, "loc": { "start": { - "line": 199, + "line": 198, "column": 87 }, "end": { - "line": 199, + "line": 198, "column": 88 } } @@ -24385,15 +24385,15 @@ "postfix": false, "binop": null }, - "start": 6548, - "end": 6549, + "start": 6544, + "end": 6545, "loc": { "start": { - "line": 199, + "line": 198, "column": 88 }, "end": { - "line": 199, + "line": 198, "column": 89 } } @@ -24411,15 +24411,15 @@ "binop": null, "updateContext": null }, - "start": 6549, - "end": 6550, + "start": 6545, + "end": 6546, "loc": { "start": { - "line": 199, + "line": 198, "column": 89 }, "end": { - "line": 199, + "line": 198, "column": 90 } } @@ -24427,15 +24427,15 @@ { "type": "CommentLine", "value": " Add spaces (if applicable)", - "start": 6570, - "end": 6599, + "start": 6566, + "end": 6595, "loc": { "start": { - "line": 201, + "line": 200, "column": 16 }, "end": { - "line": 201, + "line": 200, "column": 45 } } @@ -24455,15 +24455,15 @@ "updateContext": null }, "value": "if", - "start": 6617, - "end": 6619, + "start": 6613, + "end": 6615, "loc": { "start": { - "line": 202, + "line": 201, "column": 16 }, "end": { - "line": 202, + "line": 201, "column": 18 } } @@ -24480,15 +24480,15 @@ "postfix": false, "binop": null }, - "start": 6620, - "end": 6621, + "start": 6616, + "end": 6617, "loc": { "start": { - "line": 202, + "line": 201, "column": 19 }, "end": { - "line": 202, + "line": 201, "column": 20 } } @@ -24506,15 +24506,15 @@ "binop": null }, "value": "spaces", - "start": 6621, - "end": 6627, + "start": 6617, + "end": 6623, "loc": { "start": { - "line": 202, + "line": 201, "column": 20 }, "end": { - "line": 202, + "line": 201, "column": 26 } } @@ -24531,15 +24531,15 @@ "postfix": false, "binop": null }, - "start": 6627, - "end": 6628, + "start": 6623, + "end": 6624, "loc": { "start": { - "line": 202, + "line": 201, "column": 26 }, "end": { - "line": 202, + "line": 201, "column": 27 } } @@ -24556,15 +24556,15 @@ "postfix": false, "binop": null }, - "start": 6629, - "end": 6630, + "start": 6625, + "end": 6626, "loc": { "start": { - "line": 202, + "line": 201, "column": 28 }, "end": { - "line": 202, + "line": 201, "column": 29 } } @@ -24582,15 +24582,15 @@ "binop": null }, "value": "formatted", - "start": 6652, - "end": 6661, + "start": 6648, + "end": 6657, "loc": { "start": { - "line": 203, + "line": 202, "column": 20 }, "end": { - "line": 203, + "line": 202, "column": 29 } } @@ -24609,15 +24609,15 @@ "updateContext": null }, "value": "+=", - "start": 6662, - "end": 6664, + "start": 6658, + "end": 6660, "loc": { "start": { - "line": 203, + "line": 202, "column": 30 }, "end": { - "line": 203, + "line": 202, "column": 32 } } @@ -24636,15 +24636,15 @@ "updateContext": null }, "value": " ", - "start": 6665, - "end": 6668, + "start": 6661, + "end": 6664, "loc": { "start": { - "line": 203, + "line": 202, "column": 33 }, "end": { - "line": 203, + "line": 202, "column": 36 } } @@ -24662,15 +24662,15 @@ "binop": null, "updateContext": null }, - "start": 6668, - "end": 6669, + "start": 6664, + "end": 6665, "loc": { "start": { - "line": 203, + "line": 202, "column": 36 }, "end": { - "line": 203, + "line": 202, "column": 37 } } @@ -24687,15 +24687,15 @@ "postfix": false, "binop": null }, - "start": 6687, - "end": 6688, + "start": 6683, + "end": 6684, "loc": { "start": { - "line": 204, + "line": 203, "column": 16 }, "end": { - "line": 204, + "line": 203, "column": 17 } } @@ -24703,15 +24703,15 @@ { "type": "CommentLine", "value": " Add unit signifier", - "start": 6708, - "end": 6729, + "start": 6704, + "end": 6725, "loc": { "start": { - "line": 206, + "line": 205, "column": 16 }, "end": { - "line": 206, + "line": 205, "column": 37 } } @@ -24731,15 +24731,15 @@ "updateContext": null }, "value": "if", - "start": 6747, - "end": 6749, + "start": 6743, + "end": 6745, "loc": { "start": { - "line": 207, + "line": 206, "column": 16 }, "end": { - "line": 207, + "line": 206, "column": 18 } } @@ -24756,15 +24756,15 @@ "postfix": false, "binop": null }, - "start": 6750, - "end": 6751, + "start": 6746, + "end": 6747, "loc": { "start": { - "line": 207, + "line": 206, "column": 19 }, "end": { - "line": 207, + "line": 206, "column": 20 } } @@ -24784,15 +24784,15 @@ "updateContext": null }, "value": "typeof", - "start": 6751, - "end": 6757, + "start": 6747, + "end": 6753, "loc": { "start": { - "line": 207, + "line": 206, "column": 20 }, "end": { - "line": 207, + "line": 206, "column": 26 } } @@ -24810,15 +24810,15 @@ "binop": null }, "value": "unit", - "start": 6758, - "end": 6762, + "start": 6754, + "end": 6758, "loc": { "start": { - "line": 207, + "line": 206, "column": 27 }, "end": { - "line": 207, + "line": 206, "column": 31 } } @@ -24836,15 +24836,15 @@ "binop": null, "updateContext": null }, - "start": 6762, - "end": 6763, + "start": 6758, + "end": 6759, "loc": { "start": { - "line": 207, + "line": 206, "column": 31 }, "end": { - "line": 207, + "line": 206, "column": 32 } } @@ -24862,15 +24862,15 @@ "binop": null }, "value": "display", - "start": 6763, - "end": 6770, + "start": 6759, + "end": 6766, "loc": { "start": { - "line": 207, + "line": 206, "column": 32 }, "end": { - "line": 207, + "line": 206, "column": 39 } } @@ -24889,15 +24889,15 @@ "updateContext": null }, "value": "===", - "start": 6771, - "end": 6774, + "start": 6767, + "end": 6770, "loc": { "start": { - "line": 207, + "line": 206, "column": 40 }, "end": { - "line": 207, + "line": 206, "column": 43 } } @@ -24916,15 +24916,15 @@ "updateContext": null }, "value": "object", - "start": 6775, - "end": 6783, + "start": 6771, + "end": 6779, "loc": { "start": { - "line": 207, + "line": 206, "column": 44 }, "end": { - "line": 207, + "line": 206, "column": 52 } } @@ -24941,15 +24941,15 @@ "postfix": false, "binop": null }, - "start": 6783, - "end": 6784, + "start": 6779, + "end": 6780, "loc": { "start": { - "line": 207, + "line": 206, "column": 52 }, "end": { - "line": 207, + "line": 206, "column": 53 } } @@ -24966,15 +24966,15 @@ "postfix": false, "binop": null }, - "start": 6785, - "end": 6786, + "start": 6781, + "end": 6782, "loc": { "start": { - "line": 207, + "line": 206, "column": 54 }, "end": { - "line": 207, + "line": 206, "column": 55 } } @@ -24992,15 +24992,15 @@ "binop": null }, "value": "formatted", - "start": 6808, - "end": 6817, + "start": 6804, + "end": 6813, "loc": { "start": { - "line": 208, + "line": 207, "column": 20 }, "end": { - "line": 208, + "line": 207, "column": 29 } } @@ -25019,15 +25019,15 @@ "updateContext": null }, "value": "+=", - "start": 6818, - "end": 6820, + "start": 6814, + "end": 6816, "loc": { "start": { - "line": 208, + "line": 207, "column": 30 }, "end": { - "line": 208, + "line": 207, "column": 32 } } @@ -25045,15 +25045,15 @@ "binop": null }, "value": "unit", - "start": 6821, - "end": 6825, + "start": 6817, + "end": 6821, "loc": { "start": { - "line": 208, + "line": 207, "column": 33 }, "end": { - "line": 208, + "line": 207, "column": 37 } } @@ -25071,15 +25071,15 @@ "binop": null, "updateContext": null }, - "start": 6825, - "end": 6826, + "start": 6821, + "end": 6822, "loc": { "start": { - "line": 208, + "line": 207, "column": 37 }, "end": { - "line": 208, + "line": 207, "column": 38 } } @@ -25097,15 +25097,15 @@ "binop": null }, "value": "display", - "start": 6826, - "end": 6833, + "start": 6822, + "end": 6829, "loc": { "start": { - "line": 208, + "line": 207, "column": 38 }, "end": { - "line": 208, + "line": 207, "column": 45 } } @@ -25123,15 +25123,15 @@ "binop": null, "updateContext": null }, - "start": 6833, - "end": 6834, + "start": 6829, + "end": 6830, "loc": { "start": { - "line": 208, + "line": 207, "column": 45 }, "end": { - "line": 208, + "line": 207, "column": 46 } } @@ -25149,15 +25149,15 @@ "binop": null }, "value": "symbol", - "start": 6834, - "end": 6840, + "start": 6830, + "end": 6836, "loc": { "start": { - "line": 208, + "line": 207, "column": 46 }, "end": { - "line": 208, + "line": 207, "column": 52 } } @@ -25175,15 +25175,15 @@ "binop": null, "updateContext": null }, - "start": 6840, - "end": 6841, + "start": 6836, + "end": 6837, "loc": { "start": { - "line": 208, + "line": 207, "column": 52 }, "end": { - "line": 208, + "line": 207, "column": 53 } } @@ -25200,15 +25200,15 @@ "postfix": false, "binop": null }, - "start": 6859, - "end": 6860, + "start": 6855, + "end": 6856, "loc": { "start": { - "line": 209, + "line": 208, "column": 16 }, "end": { - "line": 209, + "line": 208, "column": 17 } } @@ -25228,15 +25228,15 @@ "updateContext": null }, "value": "else", - "start": 6861, - "end": 6865, + "start": 6857, + "end": 6861, "loc": { "start": { - "line": 209, + "line": 208, "column": 18 }, "end": { - "line": 209, + "line": 208, "column": 22 } } @@ -25253,15 +25253,15 @@ "postfix": false, "binop": null }, - "start": 6866, - "end": 6867, + "start": 6862, + "end": 6863, "loc": { "start": { - "line": 209, + "line": 208, "column": 23 }, "end": { - "line": 209, + "line": 208, "column": 24 } } @@ -25279,15 +25279,15 @@ "binop": null }, "value": "formatted", - "start": 6889, - "end": 6898, + "start": 6885, + "end": 6894, "loc": { "start": { - "line": 210, + "line": 209, "column": 20 }, "end": { - "line": 210, + "line": 209, "column": 29 } } @@ -25306,15 +25306,15 @@ "updateContext": null }, "value": "+=", - "start": 6899, - "end": 6901, + "start": 6895, + "end": 6897, "loc": { "start": { - "line": 210, + "line": 209, "column": 30 }, "end": { - "line": 210, + "line": 209, "column": 32 } } @@ -25332,15 +25332,15 @@ "binop": null }, "value": "unit", - "start": 6902, - "end": 6906, + "start": 6898, + "end": 6902, "loc": { "start": { - "line": 210, + "line": 209, "column": 33 }, "end": { - "line": 210, + "line": 209, "column": 37 } } @@ -25358,15 +25358,15 @@ "binop": null, "updateContext": null }, - "start": 6906, - "end": 6907, + "start": 6902, + "end": 6903, "loc": { "start": { - "line": 210, + "line": 209, "column": 37 }, "end": { - "line": 210, + "line": 209, "column": 38 } } @@ -25384,15 +25384,15 @@ "binop": null }, "value": "display", - "start": 6907, - "end": 6914, + "start": 6903, + "end": 6910, "loc": { "start": { - "line": 210, + "line": 209, "column": 38 }, "end": { - "line": 210, + "line": 209, "column": 45 } } @@ -25410,15 +25410,15 @@ "binop": null, "updateContext": null }, - "start": 6914, - "end": 6915, + "start": 6910, + "end": 6911, "loc": { "start": { - "line": 210, + "line": 209, "column": 45 }, "end": { - "line": 210, + "line": 209, "column": 46 } } @@ -25435,15 +25435,15 @@ "postfix": false, "binop": null }, - "start": 6933, - "end": 6934, + "start": 6929, + "end": 6930, "loc": { "start": { - "line": 211, + "line": 210, "column": 16 }, "end": { - "line": 211, + "line": 210, "column": 17 } } @@ -25451,15 +25451,15 @@ { "type": "CommentLine", "value": " Is unit exclusive or is there no longer any value to format?", - "start": 6954, - "end": 7017, + "start": 6950, + "end": 7013, "loc": { "start": { - "line": 213, + "line": 212, "column": 16 }, "end": { - "line": 213, + "line": 212, "column": 79 } } @@ -25479,15 +25479,15 @@ "updateContext": null }, "value": "if", - "start": 7035, - "end": 7037, + "start": 7031, + "end": 7033, "loc": { "start": { - "line": 214, + "line": 213, "column": 16 }, "end": { - "line": 214, + "line": 213, "column": 18 } } @@ -25504,15 +25504,15 @@ "postfix": false, "binop": null }, - "start": 7038, - "end": 7039, + "start": 7034, + "end": 7035, "loc": { "start": { - "line": 214, + "line": 213, "column": 19 }, "end": { - "line": 214, + "line": 213, "column": 20 } } @@ -25530,15 +25530,15 @@ "binop": null }, "value": "unit", - "start": 7039, - "end": 7043, + "start": 7035, + "end": 7039, "loc": { "start": { - "line": 214, + "line": 213, "column": 20 }, "end": { - "line": 214, + "line": 213, "column": 24 } } @@ -25556,15 +25556,15 @@ "binop": null, "updateContext": null }, - "start": 7043, - "end": 7044, + "start": 7039, + "end": 7040, "loc": { "start": { - "line": 214, + "line": 213, "column": 24 }, "end": { - "line": 214, + "line": 213, "column": 25 } } @@ -25582,15 +25582,15 @@ "binop": null }, "value": "display", - "start": 7044, - "end": 7051, + "start": 7040, + "end": 7047, "loc": { "start": { - "line": 214, + "line": 213, "column": 25 }, "end": { - "line": 214, + "line": 213, "column": 32 } } @@ -25608,15 +25608,15 @@ "binop": null, "updateContext": null }, - "start": 7051, - "end": 7052, + "start": 7047, + "end": 7048, "loc": { "start": { - "line": 214, + "line": 213, "column": 32 }, "end": { - "line": 214, + "line": 213, "column": 33 } } @@ -25634,15 +25634,15 @@ "binop": null }, "value": "exclusive", - "start": 7052, - "end": 7061, + "start": 7048, + "end": 7057, "loc": { "start": { - "line": 214, + "line": 213, "column": 33 }, "end": { - "line": 214, + "line": 213, "column": 42 } } @@ -25661,15 +25661,15 @@ "updateContext": null }, "value": "||", - "start": 7062, - "end": 7064, + "start": 7058, + "end": 7060, "loc": { "start": { - "line": 214, + "line": 213, "column": 43 }, "end": { - "line": 214, + "line": 213, "column": 45 } } @@ -25687,15 +25687,15 @@ "binop": null }, "value": "value", - "start": 7065, - "end": 7070, + "start": 7061, + "end": 7066, "loc": { "start": { - "line": 214, + "line": 213, "column": 46 }, "end": { - "line": 214, + "line": 213, "column": 51 } } @@ -25714,15 +25714,15 @@ "updateContext": null }, "value": "===", - "start": 7071, - "end": 7074, + "start": 7067, + "end": 7070, "loc": { "start": { - "line": 214, + "line": 213, "column": 52 }, "end": { - "line": 214, + "line": 213, "column": 55 } } @@ -25741,15 +25741,15 @@ "updateContext": null }, "value": 0, - "start": 7075, - "end": 7076, + "start": 7071, + "end": 7072, "loc": { "start": { - "line": 214, + "line": 213, "column": 56 }, "end": { - "line": 214, + "line": 213, "column": 57 } } @@ -25766,15 +25766,15 @@ "postfix": false, "binop": null }, - "start": 7076, - "end": 7077, + "start": 7072, + "end": 7073, "loc": { "start": { - "line": 214, + "line": 213, "column": 57 }, "end": { - "line": 214, + "line": 213, "column": 58 } } @@ -25791,15 +25791,15 @@ "postfix": false, "binop": null }, - "start": 7078, - "end": 7079, + "start": 7074, + "end": 7075, "loc": { "start": { - "line": 214, + "line": 213, "column": 59 }, "end": { - "line": 214, + "line": 213, "column": 60 } } @@ -25819,15 +25819,15 @@ "updateContext": null }, "value": "break", - "start": 7101, - "end": 7106, + "start": 7097, + "end": 7102, "loc": { "start": { - "line": 215, + "line": 214, "column": 20 }, "end": { - "line": 215, + "line": 214, "column": 25 } } @@ -25845,15 +25845,15 @@ "binop": null, "updateContext": null }, - "start": 7106, - "end": 7107, + "start": 7102, + "end": 7103, "loc": { "start": { - "line": 215, + "line": 214, "column": 25 }, "end": { - "line": 215, + "line": 214, "column": 26 } } @@ -25870,15 +25870,15 @@ "postfix": false, "binop": null }, - "start": 7125, - "end": 7126, + "start": 7121, + "end": 7122, "loc": { "start": { - "line": 216, + "line": 215, "column": 16 }, "end": { - "line": 216, + "line": 215, "column": 17 } } @@ -25895,15 +25895,15 @@ "postfix": false, "binop": null }, - "start": 7140, - "end": 7141, + "start": 7136, + "end": 7137, "loc": { "start": { - "line": 217, + "line": 216, "column": 12 }, "end": { - "line": 217, + "line": 216, "column": 13 } } @@ -25920,15 +25920,15 @@ "postfix": false, "binop": null }, - "start": 7151, - "end": 7152, + "start": 7147, + "end": 7148, "loc": { "start": { - "line": 218, + "line": 217, "column": 8 }, "end": { - "line": 218, + "line": 217, "column": 9 } } @@ -25948,15 +25948,15 @@ "updateContext": null }, "value": "return", - "start": 7164, - "end": 7170, + "start": 7160, + "end": 7166, "loc": { "start": { - "line": 220, + "line": 219, "column": 8 }, "end": { - "line": 220, + "line": 219, "column": 14 } } @@ -25974,15 +25974,15 @@ "binop": null }, "value": "formatted", - "start": 7171, - "end": 7180, + "start": 7167, + "end": 7176, "loc": { "start": { - "line": 220, + "line": 219, "column": 15 }, "end": { - "line": 220, + "line": 219, "column": 24 } } @@ -26000,15 +26000,15 @@ "binop": null, "updateContext": null }, - "start": 7180, - "end": 7181, + "start": 7176, + "end": 7177, "loc": { "start": { - "line": 220, + "line": 219, "column": 24 }, "end": { - "line": 220, + "line": 219, "column": 25 } } @@ -26025,15 +26025,15 @@ "postfix": false, "binop": null }, - "start": 7187, - "end": 7188, + "start": 7183, + "end": 7184, "loc": { "start": { - "line": 221, + "line": 220, "column": 4 }, "end": { - "line": 221, + "line": 220, "column": 5 } } @@ -26041,15 +26041,15 @@ { "type": "CommentBlock", "value": "*\r\n * Lookup string with signifier returning matching Unit.\r\n * \r\n * @param {string} signifier - Mass unit signifier string for lookup.\r\n * @return {(object|undefined)} Matching Unit object, if found, otherwise false.\r\n ", - "start": 7196, - "end": 7440, + "start": 7192, + "end": 7436, "loc": { "start": { - "line": 223, + "line": 222, "column": 4 }, "end": { - "line": 228, + "line": 227, "column": 7 } } @@ -26067,15 +26067,15 @@ "binop": null }, "value": "lookup", - "start": 7446, - "end": 7452, + "start": 7442, + "end": 7448, "loc": { "start": { - "line": 229, + "line": 228, "column": 4 }, "end": { - "line": 229, + "line": 228, "column": 10 } } @@ -26092,15 +26092,15 @@ "postfix": false, "binop": null }, - "start": 7452, - "end": 7453, + "start": 7448, + "end": 7449, "loc": { "start": { - "line": 229, + "line": 228, "column": 10 }, "end": { - "line": 229, + "line": 228, "column": 11 } } @@ -26118,15 +26118,15 @@ "binop": null }, "value": "signifier", - "start": 7453, - "end": 7462, + "start": 7449, + "end": 7458, "loc": { "start": { - "line": 229, + "line": 228, "column": 11 }, "end": { - "line": 229, + "line": 228, "column": 20 } } @@ -26143,15 +26143,15 @@ "postfix": false, "binop": null }, - "start": 7462, - "end": 7463, + "start": 7458, + "end": 7459, "loc": { "start": { - "line": 229, + "line": 228, "column": 20 }, "end": { - "line": 229, + "line": 228, "column": 21 } } @@ -26168,15 +26168,15 @@ "postfix": false, "binop": null }, - "start": 7469, - "end": 7470, + "start": 7465, + "end": 7466, "loc": { "start": { - "line": 230, + "line": 229, "column": 4 }, "end": { - "line": 230, + "line": 229, "column": 5 } } @@ -26184,15 +26184,15 @@ { "type": "CommentLine", "value": " Validate signifier parameter type", - "start": 7480, - "end": 7516, + "start": 7476, + "end": 7512, "loc": { "start": { - "line": 231, + "line": 230, "column": 8 }, "end": { - "line": 231, + "line": 230, "column": 44 } } @@ -26212,15 +26212,15 @@ "updateContext": null }, "value": "if", - "start": 7526, - "end": 7528, + "start": 7522, + "end": 7524, "loc": { "start": { - "line": 232, + "line": 231, "column": 8 }, "end": { - "line": 232, + "line": 231, "column": 10 } } @@ -26237,15 +26237,15 @@ "postfix": false, "binop": null }, - "start": 7529, - "end": 7530, + "start": 7525, + "end": 7526, "loc": { "start": { - "line": 232, + "line": 231, "column": 11 }, "end": { - "line": 232, + "line": 231, "column": 12 } } @@ -26265,15 +26265,15 @@ "updateContext": null }, "value": "typeof", - "start": 7530, - "end": 7536, + "start": 7526, + "end": 7532, "loc": { "start": { - "line": 232, + "line": 231, "column": 12 }, "end": { - "line": 232, + "line": 231, "column": 18 } } @@ -26291,15 +26291,15 @@ "binop": null }, "value": "signifier", - "start": 7537, - "end": 7546, + "start": 7533, + "end": 7542, "loc": { "start": { - "line": 232, + "line": 231, "column": 19 }, "end": { - "line": 232, + "line": 231, "column": 28 } } @@ -26318,15 +26318,15 @@ "updateContext": null }, "value": "!==", - "start": 7547, - "end": 7550, + "start": 7543, + "end": 7546, "loc": { "start": { - "line": 232, + "line": 231, "column": 29 }, "end": { - "line": 232, + "line": 231, "column": 32 } } @@ -26345,15 +26345,15 @@ "updateContext": null }, "value": "string", - "start": 7551, - "end": 7559, + "start": 7547, + "end": 7555, "loc": { "start": { - "line": 232, + "line": 231, "column": 33 }, "end": { - "line": 232, + "line": 231, "column": 41 } } @@ -26370,15 +26370,15 @@ "postfix": false, "binop": null }, - "start": 7559, - "end": 7560, + "start": 7555, + "end": 7556, "loc": { "start": { - "line": 232, + "line": 231, "column": 41 }, "end": { - "line": 232, + "line": 231, "column": 42 } } @@ -26395,15 +26395,15 @@ "postfix": false, "binop": null }, - "start": 7561, - "end": 7562, + "start": 7557, + "end": 7558, "loc": { "start": { - "line": 232, + "line": 231, "column": 43 }, "end": { - "line": 232, + "line": 231, "column": 44 } } @@ -26423,15 +26423,15 @@ "updateContext": null }, "value": "throw", - "start": 7576, - "end": 7581, + "start": 7572, + "end": 7577, "loc": { "start": { - "line": 233, + "line": 232, "column": 12 }, "end": { - "line": 233, + "line": 232, "column": 17 } } @@ -26451,15 +26451,15 @@ "updateContext": null }, "value": "new", - "start": 7582, - "end": 7585, + "start": 7578, + "end": 7581, "loc": { "start": { - "line": 233, + "line": 232, "column": 18 }, "end": { - "line": 233, + "line": 232, "column": 21 } } @@ -26477,15 +26477,15 @@ "binop": null }, "value": "Error", - "start": 7586, - "end": 7591, + "start": 7582, + "end": 7587, "loc": { "start": { - "line": 233, + "line": 232, "column": 22 }, "end": { - "line": 233, + "line": 232, "column": 27 } } @@ -26502,15 +26502,15 @@ "postfix": false, "binop": null }, - "start": 7591, - "end": 7592, + "start": 7587, + "end": 7588, "loc": { "start": { - "line": 233, + "line": 232, "column": 27 }, "end": { - "line": 233, + "line": 232, "column": 28 } } @@ -26529,15 +26529,15 @@ "updateContext": null }, "value": "Parameter \"signifier\" must be of type \"string\".", - "start": 7592, - "end": 7641, + "start": 7588, + "end": 7637, "loc": { "start": { - "line": 233, + "line": 232, "column": 28 }, "end": { - "line": 233, + "line": 232, "column": 77 } } @@ -26554,15 +26554,15 @@ "postfix": false, "binop": null }, - "start": 7641, - "end": 7642, + "start": 7637, + "end": 7638, "loc": { "start": { - "line": 233, + "line": 232, "column": 77 }, "end": { - "line": 233, + "line": 232, "column": 78 } } @@ -26580,15 +26580,15 @@ "binop": null, "updateContext": null }, - "start": 7642, - "end": 7643, + "start": 7638, + "end": 7639, "loc": { "start": { - "line": 233, + "line": 232, "column": 78 }, "end": { - "line": 233, + "line": 232, "column": 79 } } @@ -26605,15 +26605,15 @@ "postfix": false, "binop": null }, - "start": 7653, - "end": 7654, + "start": 7649, + "end": 7650, "loc": { "start": { - "line": 234, + "line": 233, "column": 8 }, "end": { - "line": 234, + "line": 233, "column": 9 } } @@ -26621,15 +26621,15 @@ { "type": "CommentLine", "value": " Search through units", - "start": 7666, - "end": 7689, + "start": 7662, + "end": 7685, "loc": { "start": { - "line": 236, + "line": 235, "column": 8 }, "end": { - "line": 236, + "line": 235, "column": 31 } } @@ -26649,15 +26649,15 @@ "updateContext": null }, "value": "return", - "start": 7699, - "end": 7705, + "start": 7695, + "end": 7701, "loc": { "start": { - "line": 237, + "line": 236, "column": 8 }, "end": { - "line": 237, + "line": 236, "column": 14 } } @@ -26677,15 +26677,15 @@ "updateContext": null }, "value": "this", - "start": 7706, - "end": 7710, + "start": 7702, + "end": 7706, "loc": { "start": { - "line": 237, + "line": 236, "column": 15 }, "end": { - "line": 237, + "line": 236, "column": 19 } } @@ -26703,15 +26703,15 @@ "binop": null, "updateContext": null }, - "start": 7710, - "end": 7711, + "start": 7706, + "end": 7707, "loc": { "start": { - "line": 237, + "line": 236, "column": 19 }, "end": { - "line": 237, + "line": 236, "column": 20 } } @@ -26729,15 +26729,15 @@ "binop": null }, "value": "Units", - "start": 7711, - "end": 7716, + "start": 7707, + "end": 7712, "loc": { "start": { - "line": 237, + "line": 236, "column": 20 }, "end": { - "line": 237, + "line": 236, "column": 25 } } @@ -26755,15 +26755,15 @@ "binop": null, "updateContext": null }, - "start": 7716, - "end": 7717, + "start": 7712, + "end": 7713, "loc": { "start": { - "line": 237, + "line": 236, "column": 25 }, "end": { - "line": 237, + "line": 236, "column": 26 } } @@ -26781,15 +26781,15 @@ "binop": null }, "value": "find", - "start": 7717, - "end": 7721, + "start": 7713, + "end": 7717, "loc": { "start": { - "line": 237, + "line": 236, "column": 26 }, "end": { - "line": 237, + "line": 236, "column": 30 } } @@ -26806,15 +26806,15 @@ "postfix": false, "binop": null }, - "start": 7721, - "end": 7722, + "start": 7717, + "end": 7718, "loc": { "start": { - "line": 237, + "line": 236, "column": 30 }, "end": { - "line": 237, + "line": 236, "column": 31 } } @@ -26831,15 +26831,15 @@ "postfix": false, "binop": null }, - "start": 7722, - "end": 7723, + "start": 7718, + "end": 7719, "loc": { "start": { - "line": 237, + "line": 236, "column": 31 }, "end": { - "line": 237, + "line": 236, "column": 32 } } @@ -26857,15 +26857,15 @@ "binop": null }, "value": "unit", - "start": 7723, - "end": 7727, + "start": 7719, + "end": 7723, "loc": { "start": { - "line": 237, + "line": 236, "column": 32 }, "end": { - "line": 237, + "line": 236, "column": 36 } } @@ -26882,15 +26882,15 @@ "postfix": false, "binop": null }, - "start": 7727, - "end": 7728, + "start": 7723, + "end": 7724, "loc": { "start": { - "line": 237, + "line": 236, "column": 36 }, "end": { - "line": 237, + "line": 236, "column": 37 } } @@ -26908,15 +26908,15 @@ "binop": null, "updateContext": null }, - "start": 7729, - "end": 7731, + "start": 7725, + "end": 7727, "loc": { "start": { - "line": 237, + "line": 236, "column": 38 }, "end": { - "line": 237, + "line": 236, "column": 40 } } @@ -26933,15 +26933,15 @@ "postfix": false, "binop": null }, - "start": 7732, - "end": 7733, + "start": 7728, + "end": 7729, "loc": { "start": { - "line": 237, + "line": 236, "column": 41 }, "end": { - "line": 237, + "line": 236, "column": 42 } } @@ -26949,15 +26949,15 @@ { "type": "CommentLine", "value": " Search for matching signifier within unit", - "start": 7747, - "end": 7791, + "start": 7743, + "end": 7787, "loc": { "start": { - "line": 238, + "line": 237, "column": 12 }, "end": { - "line": 238, + "line": 237, "column": 56 } } @@ -26977,15 +26977,15 @@ "updateContext": null }, "value": "return", - "start": 7805, - "end": 7811, + "start": 7801, + "end": 7807, "loc": { "start": { - "line": 239, + "line": 238, "column": 12 }, "end": { - "line": 239, + "line": 238, "column": 18 } } @@ -27003,15 +27003,15 @@ "binop": null }, "value": "unit", - "start": 7812, - "end": 7816, + "start": 7808, + "end": 7812, "loc": { "start": { - "line": 239, + "line": 238, "column": 19 }, "end": { - "line": 239, + "line": 238, "column": 23 } } @@ -27029,15 +27029,15 @@ "binop": null, "updateContext": null }, - "start": 7816, - "end": 7817, + "start": 7812, + "end": 7813, "loc": { "start": { - "line": 239, + "line": 238, "column": 23 }, "end": { - "line": 239, + "line": 238, "column": 24 } } @@ -27055,15 +27055,15 @@ "binop": null }, "value": "signifiers", - "start": 7817, - "end": 7827, + "start": 7813, + "end": 7823, "loc": { "start": { - "line": 239, + "line": 238, "column": 24 }, "end": { - "line": 239, + "line": 238, "column": 34 } } @@ -27081,15 +27081,15 @@ "binop": null, "updateContext": null }, - "start": 7827, - "end": 7828, + "start": 7823, + "end": 7824, "loc": { "start": { - "line": 239, + "line": 238, "column": 34 }, "end": { - "line": 239, + "line": 238, "column": 35 } } @@ -27107,15 +27107,15 @@ "binop": null }, "value": "includes", - "start": 7828, - "end": 7836, + "start": 7824, + "end": 7832, "loc": { "start": { - "line": 239, + "line": 238, "column": 35 }, "end": { - "line": 239, + "line": 238, "column": 43 } } @@ -27132,15 +27132,15 @@ "postfix": false, "binop": null }, - "start": 7836, - "end": 7837, + "start": 7832, + "end": 7833, "loc": { "start": { - "line": 239, + "line": 238, "column": 43 }, "end": { - "line": 239, + "line": 238, "column": 44 } } @@ -27158,15 +27158,15 @@ "binop": null }, "value": "signifier", - "start": 7837, - "end": 7846, + "start": 7833, + "end": 7842, "loc": { "start": { - "line": 239, + "line": 238, "column": 44 }, "end": { - "line": 239, + "line": 238, "column": 53 } } @@ -27183,15 +27183,15 @@ "postfix": false, "binop": null }, - "start": 7846, - "end": 7847, + "start": 7842, + "end": 7843, "loc": { "start": { - "line": 239, + "line": 238, "column": 53 }, "end": { - "line": 239, + "line": 238, "column": 54 } } @@ -27209,15 +27209,15 @@ "binop": null, "updateContext": null }, - "start": 7847, - "end": 7848, + "start": 7843, + "end": 7844, "loc": { "start": { - "line": 239, + "line": 238, "column": 54 }, "end": { - "line": 239, + "line": 238, "column": 55 } } @@ -27234,15 +27234,15 @@ "postfix": false, "binop": null }, - "start": 7858, - "end": 7859, + "start": 7854, + "end": 7855, "loc": { "start": { - "line": 240, + "line": 239, "column": 8 }, "end": { - "line": 240, + "line": 239, "column": 9 } } @@ -27259,15 +27259,15 @@ "postfix": false, "binop": null }, - "start": 7859, - "end": 7860, + "start": 7855, + "end": 7856, "loc": { "start": { - "line": 240, + "line": 239, "column": 9 }, "end": { - "line": 240, + "line": 239, "column": 10 } } @@ -27285,15 +27285,15 @@ "binop": null, "updateContext": null }, - "start": 7860, - "end": 7861, + "start": 7856, + "end": 7857, "loc": { "start": { - "line": 240, + "line": 239, "column": 10 }, "end": { - "line": 240, + "line": 239, "column": 11 } } @@ -27310,15 +27310,15 @@ "postfix": false, "binop": null }, - "start": 7867, - "end": 7868, + "start": 7863, + "end": 7864, "loc": { "start": { - "line": 241, + "line": 240, "column": 4 }, "end": { - "line": 241, + "line": 240, "column": 5 } } @@ -27335,15 +27335,15 @@ "postfix": false, "binop": null }, - "start": 7870, - "end": 7871, + "start": 7866, + "end": 7867, "loc": { "start": { - "line": 242, + "line": 241, "column": 0 }, "end": { - "line": 242, + "line": 241, "column": 1 } } @@ -27361,15 +27361,15 @@ "binop": null, "updateContext": null }, - "start": 7871, - "end": 7871, + "start": 7867, + "end": 7867, "loc": { "start": { - "line": 242, + "line": 241, "column": 1 }, "end": { - "line": 242, + "line": 241, "column": 1 } } diff --git a/docs/ast/source/Mass_SI.js.json b/docs/ast/source/Mass_SI.js.json index c30363e..03dbed1 100644 --- a/docs/ast/source/Mass_SI.js.json +++ b/docs/ast/source/Mass_SI.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 657, + "end": 811, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 41, + "line": 48, "column": 20 } }, "program": { "type": "Program", "start": 0, - "end": 657, + "end": 811, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 41, + "line": 48, "column": 20 } }, @@ -30,63 +30,65 @@ "body": [ { "type": "ImportDeclaration", - "start": 0, - "end": 30, + "start": 172, + "end": 202, "loc": { "start": { - "line": 1, + "line": 9, "column": 0 }, "end": { - "line": 1, + "line": 9, "column": 30 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 7, - "end": 13, + "start": 179, + "end": 185, "loc": { "start": { - "line": 1, + "line": 9, "column": 7 }, "end": { - "line": 1, + "line": 9, "column": 13 } }, "local": { "type": "Identifier", - "start": 7, - "end": 13, + "start": 179, + "end": 185, "loc": { "start": { - "line": 1, + "line": 9, "column": 7 }, "end": { - "line": 1, + "line": 9, "column": 13 }, "identifierName": "MassJS" }, - "name": "MassJS" - } + "name": "MassJS", + "leadingComments": null + }, + "leadingComments": null } ], "source": { "type": "StringLiteral", - "start": 19, - "end": 29, + "start": 191, + "end": 201, "loc": { "start": { - "line": 1, + "line": 9, "column": 19 }, "end": { - "line": 1, + "line": 9, "column": 29 } }, @@ -96,20 +98,20 @@ }, "value": "./MassJS" }, - "trailingComments": [ + "leadingComments": [ { - "type": "CommentLine", - "value": " US Mass units", - "start": 34, - "end": 50, + "type": "CommentBlock", + "value": "* \r\n * Entry-point containing International System of Units units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n ", + "start": 0, + "end": 168, "loc": { "start": { - "line": 3, + "line": 1, "column": 0 }, "end": { - "line": 3, - "column": 16 + "line": 7, + "column": 3 } } } @@ -117,76 +119,75 @@ }, { "type": "Identifier", - "start": 52, - "end": 633, + "start": 206, + "end": 787, "loc": { "start": { - "line": 4, + "line": 11, "column": 0 }, "end": { - "line": 39, + "line": 46, "column": 4 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56, - "end": 632, + "start": 210, + "end": 786, "loc": { "start": { - "line": 4, + "line": 11, "column": 4 }, "end": { - "line": 39, + "line": 46, "column": 3 } }, "id": { "type": "Identifier", - "start": 56, - "end": 60, + "start": 210, + "end": 214, "loc": { "start": { - "line": 4, + "line": 11, "column": 4 }, "end": { - "line": 4, + "line": 11, "column": 8 }, "identifierName": "Mass" }, - "name": "Mass", - "leadingComments": null + "name": "Mass" }, "init": { "type": "NewExpression", - "start": 63, - "end": 632, + "start": 217, + "end": 786, "loc": { "start": { - "line": 4, + "line": 11, "column": 11 }, "end": { - "line": 39, + "line": 46, "column": 3 } }, "callee": { "type": "Identifier", - "start": 67, - "end": 73, + "start": 221, + "end": 227, "loc": { "start": { - "line": 4, + "line": 11, "column": 15 }, "end": { - "line": 4, + "line": 11, "column": 21 }, "identifierName": "MassJS" @@ -196,45 +197,45 @@ "arguments": [ { "type": "ArrayExpression", - "start": 74, - "end": 631, + "start": 228, + "end": 785, "loc": { "start": { - "line": 4, + "line": 11, "column": 22 }, "end": { - "line": 39, + "line": 46, "column": 2 } }, "elements": [ { "type": "ObjectExpression", - "start": 75, - "end": 317, + "start": 229, + "end": 471, "loc": { "start": { - "line": 4, + "line": 11, "column": 23 }, "end": { - "line": 19, + "line": 26, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 82, - "end": 93, + "start": 236, + "end": 247, "loc": { "start": { - "line": 5, + "line": 12, "column": 4 }, "end": { - "line": 5, + "line": 12, "column": 15 } }, @@ -243,15 +244,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 82, - "end": 86, + "start": 236, + "end": 240, "loc": { "start": { - "line": 5, + "line": 12, "column": 4 }, "end": { - "line": 5, + "line": 12, "column": 8 }, "identifierName": "name" @@ -260,15 +261,15 @@ }, "value": { "type": "StringLiteral", - "start": 88, - "end": 93, + "start": 242, + "end": 247, "loc": { "start": { - "line": 5, + "line": 12, "column": 10 }, "end": { - "line": 5, + "line": 12, "column": 15 } }, @@ -281,15 +282,15 @@ }, { "type": "ObjectProperty", - "start": 100, - "end": 111, + "start": 254, + "end": 265, "loc": { "start": { - "line": 6, + "line": 13, "column": 4 }, "end": { - "line": 6, + "line": 13, "column": 15 } }, @@ -298,15 +299,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 100, - "end": 105, + "start": 254, + "end": 259, "loc": { "start": { - "line": 6, + "line": 13, "column": 4 }, "end": { - "line": 6, + "line": 13, "column": 9 }, "identifierName": "value" @@ -315,15 +316,15 @@ }, "value": { "type": "NumericLiteral", - "start": 107, - "end": 111, + "start": 261, + "end": 265, "loc": { "start": { - "line": 6, + "line": 13, "column": 11 }, "end": { - "line": 6, + "line": 13, "column": 15 } }, @@ -336,15 +337,15 @@ }, { "type": "ObjectProperty", - "start": 118, - "end": 204, + "start": 272, + "end": 358, "loc": { "start": { - "line": 7, + "line": 14, "column": 4 }, "end": { - "line": 11, + "line": 18, "column": 5 } }, @@ -353,15 +354,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 118, - "end": 125, + "start": 272, + "end": 279, "loc": { "start": { - "line": 7, + "line": 14, "column": 4 }, "end": { - "line": 7, + "line": 14, "column": 11 }, "identifierName": "display" @@ -370,30 +371,30 @@ }, "value": { "type": "ObjectExpression", - "start": 127, - "end": 204, + "start": 281, + "end": 358, "loc": { "start": { - "line": 7, + "line": 14, "column": 13 }, "end": { - "line": 11, + "line": 18, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 138, - "end": 149, + "start": 292, + "end": 303, "loc": { "start": { - "line": 8, + "line": 15, "column": 8 }, "end": { - "line": 8, + "line": 15, "column": 19 } }, @@ -402,15 +403,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 138, - "end": 144, + "start": 292, + "end": 298, "loc": { "start": { - "line": 8, + "line": 15, "column": 8 }, "end": { - "line": 8, + "line": 15, "column": 14 }, "identifierName": "symbol" @@ -419,15 +420,15 @@ }, "value": { "type": "StringLiteral", - "start": 146, - "end": 149, + "start": 300, + "end": 303, "loc": { "start": { - "line": 8, + "line": 15, "column": 16 }, "end": { - "line": 8, + "line": 15, "column": 19 } }, @@ -440,15 +441,15 @@ }, { "type": "ObjectProperty", - "start": 160, - "end": 175, + "start": 314, + "end": 329, "loc": { "start": { - "line": 9, + "line": 16, "column": 8 }, "end": { - "line": 9, + "line": 16, "column": 23 } }, @@ -457,15 +458,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 160, - "end": 169, + "start": 314, + "end": 323, "loc": { "start": { - "line": 9, + "line": 16, "column": 8 }, "end": { - "line": 9, + "line": 16, "column": 17 }, "identifierName": "exclusive" @@ -474,15 +475,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 171, - "end": 175, + "start": 325, + "end": 329, "loc": { "start": { - "line": 9, + "line": 16, "column": 19 }, "end": { - "line": 9, + "line": 16, "column": 23 } }, @@ -491,15 +492,15 @@ }, { "type": "ObjectProperty", - "start": 186, - "end": 197, + "start": 340, + "end": 351, "loc": { "start": { - "line": 10, + "line": 17, "column": 8 }, "end": { - "line": 10, + "line": 17, "column": 19 } }, @@ -508,15 +509,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 186, - "end": 194, + "start": 340, + "end": 348, "loc": { "start": { - "line": 10, + "line": 17, "column": 8 }, "end": { - "line": 10, + "line": 17, "column": 16 }, "identifierName": "rounding" @@ -525,15 +526,15 @@ }, "value": { "type": "NumericLiteral", - "start": 196, - "end": 197, + "start": 350, + "end": 351, "loc": { "start": { - "line": 10, + "line": 17, "column": 18 }, "end": { - "line": 10, + "line": 17, "column": 19 } }, @@ -549,15 +550,15 @@ }, { "type": "ObjectProperty", - "start": 211, - "end": 314, + "start": 365, + "end": 468, "loc": { "start": { - "line": 12, + "line": 19, "column": 4 }, "end": { - "line": 18, + "line": 25, "column": 5 } }, @@ -566,15 +567,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 211, - "end": 221, + "start": 365, + "end": 375, "loc": { "start": { - "line": 12, + "line": 19, "column": 4 }, "end": { - "line": 12, + "line": 19, "column": 14 }, "identifierName": "signifiers" @@ -583,30 +584,30 @@ }, "value": { "type": "ArrayExpression", - "start": 223, - "end": 314, + "start": 377, + "end": 468, "loc": { "start": { - "line": 12, + "line": 19, "column": 16 }, "end": { - "line": 18, + "line": 25, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 234, - "end": 237, + "start": 388, + "end": 391, "loc": { "start": { - "line": 13, + "line": 20, "column": 8 }, "end": { - "line": 13, + "line": 20, "column": 11 } }, @@ -618,15 +619,15 @@ }, { "type": "StringLiteral", - "start": 248, - "end": 253, + "start": 402, + "end": 407, "loc": { "start": { - "line": 14, + "line": 21, "column": 8 }, "end": { - "line": 14, + "line": 21, "column": 13 } }, @@ -638,15 +639,15 @@ }, { "type": "StringLiteral", - "start": 264, - "end": 270, + "start": 418, + "end": 424, "loc": { "start": { - "line": 15, + "line": 22, "column": 8 }, "end": { - "line": 15, + "line": 22, "column": 14 } }, @@ -658,15 +659,15 @@ }, { "type": "StringLiteral", - "start": 281, - "end": 288, + "start": 435, + "end": 442, "loc": { "start": { - "line": 16, + "line": 23, "column": 8 }, "end": { - "line": 16, + "line": 23, "column": 15 } }, @@ -678,15 +679,15 @@ }, { "type": "StringLiteral", - "start": 299, - "end": 307, + "start": 453, + "end": 461, "loc": { "start": { - "line": 17, + "line": 24, "column": 8 }, "end": { - "line": 17, + "line": 24, "column": 16 } }, @@ -703,30 +704,30 @@ }, { "type": "ObjectExpression", - "start": 318, - "end": 479, + "start": 472, + "end": 633, "loc": { "start": { - "line": 19, + "line": 26, "column": 2 }, "end": { - "line": 29, + "line": 36, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 325, - "end": 341, + "start": 479, + "end": 495, "loc": { "start": { - "line": 20, + "line": 27, "column": 4 }, "end": { - "line": 20, + "line": 27, "column": 20 } }, @@ -735,15 +736,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 325, - "end": 329, + "start": 479, + "end": 483, "loc": { "start": { - "line": 20, + "line": 27, "column": 4 }, "end": { - "line": 20, + "line": 27, "column": 8 }, "identifierName": "name" @@ -752,15 +753,15 @@ }, "value": { "type": "StringLiteral", - "start": 331, - "end": 341, + "start": 485, + "end": 495, "loc": { "start": { - "line": 20, + "line": 27, "column": 10 }, "end": { - "line": 20, + "line": 27, "column": 20 } }, @@ -773,15 +774,15 @@ }, { "type": "ObjectProperty", - "start": 348, - "end": 356, + "start": 502, + "end": 510, "loc": { "start": { - "line": 21, + "line": 28, "column": 4 }, "end": { - "line": 21, + "line": 28, "column": 12 } }, @@ -790,15 +791,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 348, - "end": 353, + "start": 502, + "end": 507, "loc": { "start": { - "line": 21, + "line": 28, "column": 4 }, "end": { - "line": 21, + "line": 28, "column": 9 }, "identifierName": "value" @@ -807,15 +808,15 @@ }, "value": { "type": "NumericLiteral", - "start": 355, - "end": 356, + "start": 509, + "end": 510, "loc": { "start": { - "line": 21, + "line": 28, "column": 11 }, "end": { - "line": 21, + "line": 28, "column": 12 } }, @@ -828,15 +829,15 @@ }, { "type": "ObjectProperty", - "start": 363, - "end": 376, + "start": 517, + "end": 530, "loc": { "start": { - "line": 22, + "line": 29, "column": 4 }, "end": { - "line": 22, + "line": 29, "column": 17 } }, @@ -845,15 +846,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 363, - "end": 370, + "start": 517, + "end": 524, "loc": { "start": { - "line": 22, + "line": 29, "column": 4 }, "end": { - "line": 22, + "line": 29, "column": 11 }, "identifierName": "display" @@ -862,15 +863,15 @@ }, "value": { "type": "StringLiteral", - "start": 372, - "end": 376, + "start": 526, + "end": 530, "loc": { "start": { - "line": 22, + "line": 29, "column": 13 }, "end": { - "line": 22, + "line": 29, "column": 17 } }, @@ -883,15 +884,15 @@ }, { "type": "ObjectProperty", - "start": 383, - "end": 476, + "start": 537, + "end": 630, "loc": { "start": { - "line": 23, + "line": 30, "column": 4 }, "end": { - "line": 28, + "line": 35, "column": 5 } }, @@ -900,15 +901,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 383, - "end": 393, + "start": 537, + "end": 547, "loc": { "start": { - "line": 23, + "line": 30, "column": 4 }, "end": { - "line": 23, + "line": 30, "column": 14 }, "identifierName": "signifiers" @@ -917,30 +918,30 @@ }, "value": { "type": "ArrayExpression", - "start": 395, - "end": 476, + "start": 549, + "end": 630, "loc": { "start": { - "line": 23, + "line": 30, "column": 16 }, "end": { - "line": 28, + "line": 35, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 406, - "end": 410, + "start": 560, + "end": 564, "loc": { "start": { - "line": 24, + "line": 31, "column": 8 }, "end": { - "line": 24, + "line": 31, "column": 12 } }, @@ -952,15 +953,15 @@ }, { "type": "StringLiteral", - "start": 421, - "end": 426, + "start": 575, + "end": 580, "loc": { "start": { - "line": 25, + "line": 32, "column": 8 }, "end": { - "line": 25, + "line": 32, "column": 13 } }, @@ -972,15 +973,15 @@ }, { "type": "StringLiteral", - "start": 437, - "end": 447, + "start": 591, + "end": 601, "loc": { "start": { - "line": 26, + "line": 33, "column": 8 }, "end": { - "line": 26, + "line": 33, "column": 18 } }, @@ -992,15 +993,15 @@ }, { "type": "StringLiteral", - "start": 458, - "end": 469, + "start": 612, + "end": 623, "loc": { "start": { - "line": 27, + "line": 34, "column": 8 }, "end": { - "line": 27, + "line": 34, "column": 19 } }, @@ -1017,30 +1018,30 @@ }, { "type": "ObjectExpression", - "start": 480, - "end": 630, + "start": 634, + "end": 784, "loc": { "start": { - "line": 29, + "line": 36, "column": 2 }, "end": { - "line": 39, + "line": 46, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 487, - "end": 499, + "start": 641, + "end": 653, "loc": { "start": { - "line": 30, + "line": 37, "column": 4 }, "end": { - "line": 30, + "line": 37, "column": 16 } }, @@ -1049,15 +1050,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 487, - "end": 491, + "start": 641, + "end": 645, "loc": { "start": { - "line": 30, + "line": 37, "column": 4 }, "end": { - "line": 30, + "line": 37, "column": 8 }, "identifierName": "name" @@ -1066,15 +1067,15 @@ }, "value": { "type": "StringLiteral", - "start": 493, - "end": 499, + "start": 647, + "end": 653, "loc": { "start": { - "line": 30, + "line": 37, "column": 10 }, "end": { - "line": 30, + "line": 37, "column": 16 } }, @@ -1087,15 +1088,15 @@ }, { "type": "ObjectProperty", - "start": 506, - "end": 518, + "start": 660, + "end": 672, "loc": { "start": { - "line": 31, + "line": 38, "column": 4 }, "end": { - "line": 31, + "line": 38, "column": 16 } }, @@ -1104,15 +1105,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 506, - "end": 511, + "start": 660, + "end": 665, "loc": { "start": { - "line": 31, + "line": 38, "column": 4 }, "end": { - "line": 31, + "line": 38, "column": 9 }, "identifierName": "value" @@ -1121,15 +1122,15 @@ }, "value": { "type": "NumericLiteral", - "start": 513, - "end": 518, + "start": 667, + "end": 672, "loc": { "start": { - "line": 31, + "line": 38, "column": 11 }, "end": { - "line": 31, + "line": 38, "column": 16 } }, @@ -1142,15 +1143,15 @@ }, { "type": "ObjectProperty", - "start": 525, - "end": 537, + "start": 679, + "end": 691, "loc": { "start": { - "line": 32, + "line": 39, "column": 4 }, "end": { - "line": 32, + "line": 39, "column": 16 } }, @@ -1159,15 +1160,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 525, - "end": 532, + "start": 679, + "end": 686, "loc": { "start": { - "line": 32, + "line": 39, "column": 4 }, "end": { - "line": 32, + "line": 39, "column": 11 }, "identifierName": "display" @@ -1176,15 +1177,15 @@ }, "value": { "type": "StringLiteral", - "start": 534, - "end": 537, + "start": 688, + "end": 691, "loc": { "start": { - "line": 32, + "line": 39, "column": 13 }, "end": { - "line": 32, + "line": 39, "column": 16 } }, @@ -1197,15 +1198,15 @@ }, { "type": "ObjectProperty", - "start": 544, - "end": 627, + "start": 698, + "end": 781, "loc": { "start": { - "line": 33, + "line": 40, "column": 4 }, "end": { - "line": 38, + "line": 45, "column": 5 } }, @@ -1214,15 +1215,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 544, - "end": 554, + "start": 698, + "end": 708, "loc": { "start": { - "line": 33, + "line": 40, "column": 4 }, "end": { - "line": 33, + "line": 40, "column": 14 }, "identifierName": "signifiers" @@ -1231,30 +1232,30 @@ }, "value": { "type": "ArrayExpression", - "start": 556, - "end": 627, + "start": 710, + "end": 781, "loc": { "start": { - "line": 33, + "line": 40, "column": 16 }, "end": { - "line": 38, + "line": 45, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 567, - "end": 570, + "start": 721, + "end": 724, "loc": { "start": { - "line": 34, + "line": 41, "column": 8 }, "end": { - "line": 34, + "line": 41, "column": 11 } }, @@ -1266,15 +1267,15 @@ }, { "type": "StringLiteral", - "start": 581, - "end": 585, + "start": 735, + "end": 739, "loc": { "start": { - "line": 35, + "line": 42, "column": 8 }, "end": { - "line": 35, + "line": 42, "column": 12 } }, @@ -1286,15 +1287,15 @@ }, { "type": "StringLiteral", - "start": 596, - "end": 602, + "start": 750, + "end": 756, "loc": { "start": { - "line": 36, + "line": 43, "column": 8 }, "end": { - "line": 36, + "line": 43, "column": 14 } }, @@ -1306,15 +1307,15 @@ }, { "type": "StringLiteral", - "start": 613, - "end": 620, + "start": 767, + "end": 774, "loc": { "start": { - "line": 37, + "line": 44, "column": 8 }, "end": { - "line": 37, + "line": 44, "column": 15 } }, @@ -1332,40 +1333,39 @@ ] } ] - }, - "leadingComments": null + } } ], "kind": "var", - "leadingComments": [], "name": "_", + "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", - "start": 637, - "end": 657, + "start": 791, + "end": 811, "loc": { "start": { - "line": 41, + "line": 48, "column": 0 }, "end": { - "line": 41, + "line": 48, "column": 20 } }, "declaration": { "type": "Identifier", - "start": 652, - "end": 656, + "start": 806, + "end": 810, "loc": { "start": { - "line": 41, + "line": 48, "column": 15 }, "end": { - "line": 41, + "line": 48, "column": 19 }, "identifierName": "Mass" @@ -1380,23 +1380,39 @@ }, "comments": [ { - "type": "CommentLine", - "value": " US Mass units", - "start": 34, - "end": 50, + "type": "CommentBlock", + "value": "* \r\n * Entry-point containing International System of Units units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n ", + "start": 0, + "end": 168, "loc": { "start": { - "line": 3, + "line": 1, "column": 0 }, "end": { - "line": 3, - "column": 16 + "line": 7, + "column": 3 } } } ], "tokens": [ + { + "type": "CommentBlock", + "value": "* \r\n * Entry-point containing International System of Units units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n ", + "start": 0, + "end": 168, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, { "type": { "label": "import", @@ -1412,15 +1428,15 @@ "updateContext": null }, "value": "import", - "start": 0, - "end": 6, + "start": 172, + "end": 178, "loc": { "start": { - "line": 1, + "line": 9, "column": 0 }, "end": { - "line": 1, + "line": 9, "column": 6 } } @@ -1438,15 +1454,15 @@ "binop": null }, "value": "MassJS", - "start": 7, - "end": 13, + "start": 179, + "end": 185, "loc": { "start": { - "line": 1, + "line": 9, "column": 7 }, "end": { - "line": 1, + "line": 9, "column": 13 } } @@ -1464,15 +1480,15 @@ "binop": null }, "value": "from", - "start": 14, - "end": 18, + "start": 186, + "end": 190, "loc": { "start": { - "line": 1, + "line": 9, "column": 14 }, "end": { - "line": 1, + "line": 9, "column": 18 } } @@ -1491,15 +1507,15 @@ "updateContext": null }, "value": "./MassJS", - "start": 19, - "end": 29, + "start": 191, + "end": 201, "loc": { "start": { - "line": 1, + "line": 9, "column": 19 }, "end": { - "line": 1, + "line": 9, "column": 29 } } @@ -1517,35 +1533,19 @@ "binop": null, "updateContext": null }, - "start": 29, - "end": 30, + "start": 201, + "end": 202, "loc": { "start": { - "line": 1, + "line": 9, "column": 29 }, "end": { - "line": 1, + "line": 9, "column": 30 } } }, - { - "type": "CommentLine", - "value": " US Mass units", - "start": 34, - "end": 50, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, { "type": { "label": "var", @@ -1561,15 +1561,15 @@ "updateContext": null }, "value": "var", - "start": 52, - "end": 55, + "start": 206, + "end": 209, "loc": { "start": { - "line": 4, + "line": 11, "column": 0 }, "end": { - "line": 4, + "line": 11, "column": 3 } } @@ -1587,15 +1587,15 @@ "binop": null }, "value": "Mass", - "start": 56, - "end": 60, + "start": 210, + "end": 214, "loc": { "start": { - "line": 4, + "line": 11, "column": 4 }, "end": { - "line": 4, + "line": 11, "column": 8 } } @@ -1614,15 +1614,15 @@ "updateContext": null }, "value": "=", - "start": 61, - "end": 62, + "start": 215, + "end": 216, "loc": { "start": { - "line": 4, + "line": 11, "column": 9 }, "end": { - "line": 4, + "line": 11, "column": 10 } } @@ -1642,15 +1642,15 @@ "updateContext": null }, "value": "new", - "start": 63, - "end": 66, + "start": 217, + "end": 220, "loc": { "start": { - "line": 4, + "line": 11, "column": 11 }, "end": { - "line": 4, + "line": 11, "column": 14 } } @@ -1668,15 +1668,15 @@ "binop": null }, "value": "MassJS", - "start": 67, - "end": 73, + "start": 221, + "end": 227, "loc": { "start": { - "line": 4, + "line": 11, "column": 15 }, "end": { - "line": 4, + "line": 11, "column": 21 } } @@ -1693,15 +1693,15 @@ "postfix": false, "binop": null }, - "start": 73, - "end": 74, + "start": 227, + "end": 228, "loc": { "start": { - "line": 4, + "line": 11, "column": 21 }, "end": { - "line": 4, + "line": 11, "column": 22 } } @@ -1719,15 +1719,15 @@ "binop": null, "updateContext": null }, - "start": 74, - "end": 75, + "start": 228, + "end": 229, "loc": { "start": { - "line": 4, + "line": 11, "column": 22 }, "end": { - "line": 4, + "line": 11, "column": 23 } } @@ -1744,15 +1744,15 @@ "postfix": false, "binop": null }, - "start": 75, - "end": 76, + "start": 229, + "end": 230, "loc": { "start": { - "line": 4, + "line": 11, "column": 23 }, "end": { - "line": 4, + "line": 11, "column": 24 } } @@ -1770,15 +1770,15 @@ "binop": null }, "value": "name", - "start": 82, - "end": 86, + "start": 236, + "end": 240, "loc": { "start": { - "line": 5, + "line": 12, "column": 4 }, "end": { - "line": 5, + "line": 12, "column": 8 } } @@ -1796,15 +1796,15 @@ "binop": null, "updateContext": null }, - "start": 86, - "end": 87, + "start": 240, + "end": 241, "loc": { "start": { - "line": 5, + "line": 12, "column": 8 }, "end": { - "line": 5, + "line": 12, "column": 9 } } @@ -1823,15 +1823,15 @@ "updateContext": null }, "value": "ton", - "start": 88, - "end": 93, + "start": 242, + "end": 247, "loc": { "start": { - "line": 5, + "line": 12, "column": 10 }, "end": { - "line": 5, + "line": 12, "column": 15 } } @@ -1849,15 +1849,15 @@ "binop": null, "updateContext": null }, - "start": 93, - "end": 94, + "start": 247, + "end": 248, "loc": { "start": { - "line": 5, + "line": 12, "column": 15 }, "end": { - "line": 5, + "line": 12, "column": 16 } } @@ -1875,15 +1875,15 @@ "binop": null }, "value": "value", - "start": 100, - "end": 105, + "start": 254, + "end": 259, "loc": { "start": { - "line": 6, + "line": 13, "column": 4 }, "end": { - "line": 6, + "line": 13, "column": 9 } } @@ -1901,15 +1901,15 @@ "binop": null, "updateContext": null }, - "start": 105, - "end": 106, + "start": 259, + "end": 260, "loc": { "start": { - "line": 6, + "line": 13, "column": 9 }, "end": { - "line": 6, + "line": 13, "column": 10 } } @@ -1928,15 +1928,15 @@ "updateContext": null }, "value": 1000, - "start": 107, - "end": 111, + "start": 261, + "end": 265, "loc": { "start": { - "line": 6, + "line": 13, "column": 11 }, "end": { - "line": 6, + "line": 13, "column": 15 } } @@ -1954,15 +1954,15 @@ "binop": null, "updateContext": null }, - "start": 111, - "end": 112, + "start": 265, + "end": 266, "loc": { "start": { - "line": 6, + "line": 13, "column": 15 }, "end": { - "line": 6, + "line": 13, "column": 16 } } @@ -1980,15 +1980,15 @@ "binop": null }, "value": "display", - "start": 118, - "end": 125, + "start": 272, + "end": 279, "loc": { "start": { - "line": 7, + "line": 14, "column": 4 }, "end": { - "line": 7, + "line": 14, "column": 11 } } @@ -2006,15 +2006,15 @@ "binop": null, "updateContext": null }, - "start": 125, - "end": 126, + "start": 279, + "end": 280, "loc": { "start": { - "line": 7, + "line": 14, "column": 11 }, "end": { - "line": 7, + "line": 14, "column": 12 } } @@ -2031,15 +2031,15 @@ "postfix": false, "binop": null }, - "start": 127, - "end": 128, + "start": 281, + "end": 282, "loc": { "start": { - "line": 7, + "line": 14, "column": 13 }, "end": { - "line": 7, + "line": 14, "column": 14 } } @@ -2057,15 +2057,15 @@ "binop": null }, "value": "symbol", - "start": 138, - "end": 144, + "start": 292, + "end": 298, "loc": { "start": { - "line": 8, + "line": 15, "column": 8 }, "end": { - "line": 8, + "line": 15, "column": 14 } } @@ -2083,15 +2083,15 @@ "binop": null, "updateContext": null }, - "start": 144, - "end": 145, + "start": 298, + "end": 299, "loc": { "start": { - "line": 8, + "line": 15, "column": 14 }, "end": { - "line": 8, + "line": 15, "column": 15 } } @@ -2110,15 +2110,15 @@ "updateContext": null }, "value": "t", - "start": 146, - "end": 149, + "start": 300, + "end": 303, "loc": { "start": { - "line": 8, + "line": 15, "column": 16 }, "end": { - "line": 8, + "line": 15, "column": 19 } } @@ -2136,15 +2136,15 @@ "binop": null, "updateContext": null }, - "start": 149, - "end": 150, + "start": 303, + "end": 304, "loc": { "start": { - "line": 8, + "line": 15, "column": 19 }, "end": { - "line": 8, + "line": 15, "column": 20 } } @@ -2162,15 +2162,15 @@ "binop": null }, "value": "exclusive", - "start": 160, - "end": 169, + "start": 314, + "end": 323, "loc": { "start": { - "line": 9, + "line": 16, "column": 8 }, "end": { - "line": 9, + "line": 16, "column": 17 } } @@ -2188,15 +2188,15 @@ "binop": null, "updateContext": null }, - "start": 169, - "end": 170, + "start": 323, + "end": 324, "loc": { "start": { - "line": 9, + "line": 16, "column": 17 }, "end": { - "line": 9, + "line": 16, "column": 18 } } @@ -2216,15 +2216,15 @@ "updateContext": null }, "value": "true", - "start": 171, - "end": 175, + "start": 325, + "end": 329, "loc": { "start": { - "line": 9, + "line": 16, "column": 19 }, "end": { - "line": 9, + "line": 16, "column": 23 } } @@ -2242,15 +2242,15 @@ "binop": null, "updateContext": null }, - "start": 175, - "end": 176, + "start": 329, + "end": 330, "loc": { "start": { - "line": 9, + "line": 16, "column": 23 }, "end": { - "line": 9, + "line": 16, "column": 24 } } @@ -2268,15 +2268,15 @@ "binop": null }, "value": "rounding", - "start": 186, - "end": 194, + "start": 340, + "end": 348, "loc": { "start": { - "line": 10, + "line": 17, "column": 8 }, "end": { - "line": 10, + "line": 17, "column": 16 } } @@ -2294,15 +2294,15 @@ "binop": null, "updateContext": null }, - "start": 194, - "end": 195, + "start": 348, + "end": 349, "loc": { "start": { - "line": 10, + "line": 17, "column": 16 }, "end": { - "line": 10, + "line": 17, "column": 17 } } @@ -2321,15 +2321,15 @@ "updateContext": null }, "value": 2, - "start": 196, - "end": 197, + "start": 350, + "end": 351, "loc": { "start": { - "line": 10, + "line": 17, "column": 18 }, "end": { - "line": 10, + "line": 17, "column": 19 } } @@ -2346,15 +2346,15 @@ "postfix": false, "binop": null }, - "start": 203, - "end": 204, + "start": 357, + "end": 358, "loc": { "start": { - "line": 11, + "line": 18, "column": 4 }, "end": { - "line": 11, + "line": 18, "column": 5 } } @@ -2372,15 +2372,15 @@ "binop": null, "updateContext": null }, - "start": 204, - "end": 205, + "start": 358, + "end": 359, "loc": { "start": { - "line": 11, + "line": 18, "column": 5 }, "end": { - "line": 11, + "line": 18, "column": 6 } } @@ -2398,15 +2398,15 @@ "binop": null }, "value": "signifiers", - "start": 211, - "end": 221, + "start": 365, + "end": 375, "loc": { "start": { - "line": 12, + "line": 19, "column": 4 }, "end": { - "line": 12, + "line": 19, "column": 14 } } @@ -2424,15 +2424,15 @@ "binop": null, "updateContext": null }, - "start": 221, - "end": 222, + "start": 375, + "end": 376, "loc": { "start": { - "line": 12, + "line": 19, "column": 14 }, "end": { - "line": 12, + "line": 19, "column": 15 } } @@ -2450,15 +2450,15 @@ "binop": null, "updateContext": null }, - "start": 223, - "end": 224, + "start": 377, + "end": 378, "loc": { "start": { - "line": 12, + "line": 19, "column": 16 }, "end": { - "line": 12, + "line": 19, "column": 17 } } @@ -2477,15 +2477,15 @@ "updateContext": null }, "value": "t", - "start": 234, - "end": 237, + "start": 388, + "end": 391, "loc": { "start": { - "line": 13, + "line": 20, "column": 8 }, "end": { - "line": 13, + "line": 20, "column": 11 } } @@ -2503,15 +2503,15 @@ "binop": null, "updateContext": null }, - "start": 237, - "end": 238, + "start": 391, + "end": 392, "loc": { "start": { - "line": 13, + "line": 20, "column": 11 }, "end": { - "line": 13, + "line": 20, "column": 12 } } @@ -2530,15 +2530,15 @@ "updateContext": null }, "value": "ton", - "start": 248, - "end": 253, + "start": 402, + "end": 407, "loc": { "start": { - "line": 14, + "line": 21, "column": 8 }, "end": { - "line": 14, + "line": 21, "column": 13 } } @@ -2556,15 +2556,15 @@ "binop": null, "updateContext": null }, - "start": 253, - "end": 254, + "start": 407, + "end": 408, "loc": { "start": { - "line": 14, + "line": 21, "column": 13 }, "end": { - "line": 14, + "line": 21, "column": 14 } } @@ -2583,15 +2583,15 @@ "updateContext": null }, "value": "tons", - "start": 264, - "end": 270, + "start": 418, + "end": 424, "loc": { "start": { - "line": 15, + "line": 22, "column": 8 }, "end": { - "line": 15, + "line": 22, "column": 14 } } @@ -2609,15 +2609,15 @@ "binop": null, "updateContext": null }, - "start": 270, - "end": 271, + "start": 424, + "end": 425, "loc": { "start": { - "line": 15, + "line": 22, "column": 14 }, "end": { - "line": 15, + "line": 22, "column": 15 } } @@ -2636,15 +2636,15 @@ "updateContext": null }, "value": "tonne", - "start": 281, - "end": 288, + "start": 435, + "end": 442, "loc": { "start": { - "line": 16, + "line": 23, "column": 8 }, "end": { - "line": 16, + "line": 23, "column": 15 } } @@ -2662,15 +2662,15 @@ "binop": null, "updateContext": null }, - "start": 288, - "end": 289, + "start": 442, + "end": 443, "loc": { "start": { - "line": 16, + "line": 23, "column": 15 }, "end": { - "line": 16, + "line": 23, "column": 16 } } @@ -2689,15 +2689,15 @@ "updateContext": null }, "value": "tonnes", - "start": 299, - "end": 307, + "start": 453, + "end": 461, "loc": { "start": { - "line": 17, + "line": 24, "column": 8 }, "end": { - "line": 17, + "line": 24, "column": 16 } } @@ -2715,15 +2715,15 @@ "binop": null, "updateContext": null }, - "start": 313, - "end": 314, + "start": 467, + "end": 468, "loc": { "start": { - "line": 18, + "line": 25, "column": 4 }, "end": { - "line": 18, + "line": 25, "column": 5 } } @@ -2740,15 +2740,15 @@ "postfix": false, "binop": null }, - "start": 316, - "end": 317, + "start": 470, + "end": 471, "loc": { "start": { - "line": 19, + "line": 26, "column": 0 }, "end": { - "line": 19, + "line": 26, "column": 1 } } @@ -2766,15 +2766,15 @@ "binop": null, "updateContext": null }, - "start": 317, - "end": 318, + "start": 471, + "end": 472, "loc": { "start": { - "line": 19, + "line": 26, "column": 1 }, "end": { - "line": 19, + "line": 26, "column": 2 } } @@ -2791,15 +2791,15 @@ "postfix": false, "binop": null }, - "start": 318, - "end": 319, + "start": 472, + "end": 473, "loc": { "start": { - "line": 19, + "line": 26, "column": 2 }, "end": { - "line": 19, + "line": 26, "column": 3 } } @@ -2817,15 +2817,15 @@ "binop": null }, "value": "name", - "start": 325, - "end": 329, + "start": 479, + "end": 483, "loc": { "start": { - "line": 20, + "line": 27, "column": 4 }, "end": { - "line": 20, + "line": 27, "column": 8 } } @@ -2843,15 +2843,15 @@ "binop": null, "updateContext": null }, - "start": 329, - "end": 330, + "start": 483, + "end": 484, "loc": { "start": { - "line": 20, + "line": 27, "column": 8 }, "end": { - "line": 20, + "line": 27, "column": 9 } } @@ -2870,15 +2870,15 @@ "updateContext": null }, "value": "kilogram", - "start": 331, - "end": 341, + "start": 485, + "end": 495, "loc": { "start": { - "line": 20, + "line": 27, "column": 10 }, "end": { - "line": 20, + "line": 27, "column": 20 } } @@ -2896,15 +2896,15 @@ "binop": null, "updateContext": null }, - "start": 341, - "end": 342, + "start": 495, + "end": 496, "loc": { "start": { - "line": 20, + "line": 27, "column": 20 }, "end": { - "line": 20, + "line": 27, "column": 21 } } @@ -2922,15 +2922,15 @@ "binop": null }, "value": "value", - "start": 348, - "end": 353, + "start": 502, + "end": 507, "loc": { "start": { - "line": 21, + "line": 28, "column": 4 }, "end": { - "line": 21, + "line": 28, "column": 9 } } @@ -2948,15 +2948,15 @@ "binop": null, "updateContext": null }, - "start": 353, - "end": 354, + "start": 507, + "end": 508, "loc": { "start": { - "line": 21, + "line": 28, "column": 9 }, "end": { - "line": 21, + "line": 28, "column": 10 } } @@ -2975,15 +2975,15 @@ "updateContext": null }, "value": 1, - "start": 355, - "end": 356, + "start": 509, + "end": 510, "loc": { "start": { - "line": 21, + "line": 28, "column": 11 }, "end": { - "line": 21, + "line": 28, "column": 12 } } @@ -3001,15 +3001,15 @@ "binop": null, "updateContext": null }, - "start": 356, - "end": 357, + "start": 510, + "end": 511, "loc": { "start": { - "line": 21, + "line": 28, "column": 12 }, "end": { - "line": 21, + "line": 28, "column": 13 } } @@ -3027,15 +3027,15 @@ "binop": null }, "value": "display", - "start": 363, - "end": 370, + "start": 517, + "end": 524, "loc": { "start": { - "line": 22, + "line": 29, "column": 4 }, "end": { - "line": 22, + "line": 29, "column": 11 } } @@ -3053,15 +3053,15 @@ "binop": null, "updateContext": null }, - "start": 370, - "end": 371, + "start": 524, + "end": 525, "loc": { "start": { - "line": 22, + "line": 29, "column": 11 }, "end": { - "line": 22, + "line": 29, "column": 12 } } @@ -3080,15 +3080,15 @@ "updateContext": null }, "value": "kg", - "start": 372, - "end": 376, + "start": 526, + "end": 530, "loc": { "start": { - "line": 22, + "line": 29, "column": 13 }, "end": { - "line": 22, + "line": 29, "column": 17 } } @@ -3106,15 +3106,15 @@ "binop": null, "updateContext": null }, - "start": 376, - "end": 377, + "start": 530, + "end": 531, "loc": { "start": { - "line": 22, + "line": 29, "column": 17 }, "end": { - "line": 22, + "line": 29, "column": 18 } } @@ -3132,15 +3132,15 @@ "binop": null }, "value": "signifiers", - "start": 383, - "end": 393, + "start": 537, + "end": 547, "loc": { "start": { - "line": 23, + "line": 30, "column": 4 }, "end": { - "line": 23, + "line": 30, "column": 14 } } @@ -3158,15 +3158,15 @@ "binop": null, "updateContext": null }, - "start": 393, - "end": 394, + "start": 547, + "end": 548, "loc": { "start": { - "line": 23, + "line": 30, "column": 14 }, "end": { - "line": 23, + "line": 30, "column": 15 } } @@ -3184,15 +3184,15 @@ "binop": null, "updateContext": null }, - "start": 395, - "end": 396, + "start": 549, + "end": 550, "loc": { "start": { - "line": 23, + "line": 30, "column": 16 }, "end": { - "line": 23, + "line": 30, "column": 17 } } @@ -3211,15 +3211,15 @@ "updateContext": null }, "value": "kg", - "start": 406, - "end": 410, + "start": 560, + "end": 564, "loc": { "start": { - "line": 24, + "line": 31, "column": 8 }, "end": { - "line": 24, + "line": 31, "column": 12 } } @@ -3237,15 +3237,15 @@ "binop": null, "updateContext": null }, - "start": 410, - "end": 411, + "start": 564, + "end": 565, "loc": { "start": { - "line": 24, + "line": 31, "column": 12 }, "end": { - "line": 24, + "line": 31, "column": 13 } } @@ -3264,15 +3264,15 @@ "updateContext": null }, "value": "kgs", - "start": 421, - "end": 426, + "start": 575, + "end": 580, "loc": { "start": { - "line": 25, + "line": 32, "column": 8 }, "end": { - "line": 25, + "line": 32, "column": 13 } } @@ -3290,15 +3290,15 @@ "binop": null, "updateContext": null }, - "start": 426, - "end": 427, + "start": 580, + "end": 581, "loc": { "start": { - "line": 25, + "line": 32, "column": 13 }, "end": { - "line": 25, + "line": 32, "column": 14 } } @@ -3317,15 +3317,15 @@ "updateContext": null }, "value": "kilogram", - "start": 437, - "end": 447, + "start": 591, + "end": 601, "loc": { "start": { - "line": 26, + "line": 33, "column": 8 }, "end": { - "line": 26, + "line": 33, "column": 18 } } @@ -3343,15 +3343,15 @@ "binop": null, "updateContext": null }, - "start": 447, - "end": 448, + "start": 601, + "end": 602, "loc": { "start": { - "line": 26, + "line": 33, "column": 18 }, "end": { - "line": 26, + "line": 33, "column": 19 } } @@ -3370,15 +3370,15 @@ "updateContext": null }, "value": "kilograms", - "start": 458, - "end": 469, + "start": 612, + "end": 623, "loc": { "start": { - "line": 27, + "line": 34, "column": 8 }, "end": { - "line": 27, + "line": 34, "column": 19 } } @@ -3396,15 +3396,15 @@ "binop": null, "updateContext": null }, - "start": 475, - "end": 476, + "start": 629, + "end": 630, "loc": { "start": { - "line": 28, + "line": 35, "column": 4 }, "end": { - "line": 28, + "line": 35, "column": 5 } } @@ -3421,15 +3421,15 @@ "postfix": false, "binop": null }, - "start": 478, - "end": 479, + "start": 632, + "end": 633, "loc": { "start": { - "line": 29, + "line": 36, "column": 0 }, "end": { - "line": 29, + "line": 36, "column": 1 } } @@ -3447,15 +3447,15 @@ "binop": null, "updateContext": null }, - "start": 479, - "end": 480, + "start": 633, + "end": 634, "loc": { "start": { - "line": 29, + "line": 36, "column": 1 }, "end": { - "line": 29, + "line": 36, "column": 2 } } @@ -3472,15 +3472,15 @@ "postfix": false, "binop": null }, - "start": 480, - "end": 481, + "start": 634, + "end": 635, "loc": { "start": { - "line": 29, + "line": 36, "column": 2 }, "end": { - "line": 29, + "line": 36, "column": 3 } } @@ -3498,15 +3498,15 @@ "binop": null }, "value": "name", - "start": 487, - "end": 491, + "start": 641, + "end": 645, "loc": { "start": { - "line": 30, + "line": 37, "column": 4 }, "end": { - "line": 30, + "line": 37, "column": 8 } } @@ -3524,15 +3524,15 @@ "binop": null, "updateContext": null }, - "start": 491, - "end": 492, + "start": 645, + "end": 646, "loc": { "start": { - "line": 30, + "line": 37, "column": 8 }, "end": { - "line": 30, + "line": 37, "column": 9 } } @@ -3551,15 +3551,15 @@ "updateContext": null }, "value": "gram", - "start": 493, - "end": 499, + "start": 647, + "end": 653, "loc": { "start": { - "line": 30, + "line": 37, "column": 10 }, "end": { - "line": 30, + "line": 37, "column": 16 } } @@ -3577,15 +3577,15 @@ "binop": null, "updateContext": null }, - "start": 499, - "end": 500, + "start": 653, + "end": 654, "loc": { "start": { - "line": 30, + "line": 37, "column": 16 }, "end": { - "line": 30, + "line": 37, "column": 17 } } @@ -3603,15 +3603,15 @@ "binop": null }, "value": "value", - "start": 506, - "end": 511, + "start": 660, + "end": 665, "loc": { "start": { - "line": 31, + "line": 38, "column": 4 }, "end": { - "line": 31, + "line": 38, "column": 9 } } @@ -3629,15 +3629,15 @@ "binop": null, "updateContext": null }, - "start": 511, - "end": 512, + "start": 665, + "end": 666, "loc": { "start": { - "line": 31, + "line": 38, "column": 9 }, "end": { - "line": 31, + "line": 38, "column": 10 } } @@ -3656,15 +3656,15 @@ "updateContext": null }, "value": 0.001, - "start": 513, - "end": 518, + "start": 667, + "end": 672, "loc": { "start": { - "line": 31, + "line": 38, "column": 11 }, "end": { - "line": 31, + "line": 38, "column": 16 } } @@ -3682,15 +3682,15 @@ "binop": null, "updateContext": null }, - "start": 518, - "end": 519, + "start": 672, + "end": 673, "loc": { "start": { - "line": 31, + "line": 38, "column": 16 }, "end": { - "line": 31, + "line": 38, "column": 17 } } @@ -3708,15 +3708,15 @@ "binop": null }, "value": "display", - "start": 525, - "end": 532, + "start": 679, + "end": 686, "loc": { "start": { - "line": 32, + "line": 39, "column": 4 }, "end": { - "line": 32, + "line": 39, "column": 11 } } @@ -3734,15 +3734,15 @@ "binop": null, "updateContext": null }, - "start": 532, - "end": 533, + "start": 686, + "end": 687, "loc": { "start": { - "line": 32, + "line": 39, "column": 11 }, "end": { - "line": 32, + "line": 39, "column": 12 } } @@ -3761,15 +3761,15 @@ "updateContext": null }, "value": "g", - "start": 534, - "end": 537, + "start": 688, + "end": 691, "loc": { "start": { - "line": 32, + "line": 39, "column": 13 }, "end": { - "line": 32, + "line": 39, "column": 16 } } @@ -3787,15 +3787,15 @@ "binop": null, "updateContext": null }, - "start": 537, - "end": 538, + "start": 691, + "end": 692, "loc": { "start": { - "line": 32, + "line": 39, "column": 16 }, "end": { - "line": 32, + "line": 39, "column": 17 } } @@ -3813,15 +3813,15 @@ "binop": null }, "value": "signifiers", - "start": 544, - "end": 554, + "start": 698, + "end": 708, "loc": { "start": { - "line": 33, + "line": 40, "column": 4 }, "end": { - "line": 33, + "line": 40, "column": 14 } } @@ -3839,15 +3839,15 @@ "binop": null, "updateContext": null }, - "start": 554, - "end": 555, + "start": 708, + "end": 709, "loc": { "start": { - "line": 33, + "line": 40, "column": 14 }, "end": { - "line": 33, + "line": 40, "column": 15 } } @@ -3865,15 +3865,15 @@ "binop": null, "updateContext": null }, - "start": 556, - "end": 557, + "start": 710, + "end": 711, "loc": { "start": { - "line": 33, + "line": 40, "column": 16 }, "end": { - "line": 33, + "line": 40, "column": 17 } } @@ -3892,15 +3892,15 @@ "updateContext": null }, "value": "g", - "start": 567, - "end": 570, + "start": 721, + "end": 724, "loc": { "start": { - "line": 34, + "line": 41, "column": 8 }, "end": { - "line": 34, + "line": 41, "column": 11 } } @@ -3918,15 +3918,15 @@ "binop": null, "updateContext": null }, - "start": 570, - "end": 571, + "start": 724, + "end": 725, "loc": { "start": { - "line": 34, + "line": 41, "column": 11 }, "end": { - "line": 34, + "line": 41, "column": 12 } } @@ -3945,15 +3945,15 @@ "updateContext": null }, "value": "gs", - "start": 581, - "end": 585, + "start": 735, + "end": 739, "loc": { "start": { - "line": 35, + "line": 42, "column": 8 }, "end": { - "line": 35, + "line": 42, "column": 12 } } @@ -3971,15 +3971,15 @@ "binop": null, "updateContext": null }, - "start": 585, - "end": 586, + "start": 739, + "end": 740, "loc": { "start": { - "line": 35, + "line": 42, "column": 12 }, "end": { - "line": 35, + "line": 42, "column": 13 } } @@ -3998,15 +3998,15 @@ "updateContext": null }, "value": "gram", - "start": 596, - "end": 602, + "start": 750, + "end": 756, "loc": { "start": { - "line": 36, + "line": 43, "column": 8 }, "end": { - "line": 36, + "line": 43, "column": 14 } } @@ -4024,15 +4024,15 @@ "binop": null, "updateContext": null }, - "start": 602, - "end": 603, + "start": 756, + "end": 757, "loc": { "start": { - "line": 36, + "line": 43, "column": 14 }, "end": { - "line": 36, + "line": 43, "column": 15 } } @@ -4051,15 +4051,15 @@ "updateContext": null }, "value": "grams", - "start": 613, - "end": 620, + "start": 767, + "end": 774, "loc": { "start": { - "line": 37, + "line": 44, "column": 8 }, "end": { - "line": 37, + "line": 44, "column": 15 } } @@ -4077,15 +4077,15 @@ "binop": null, "updateContext": null }, - "start": 626, - "end": 627, + "start": 780, + "end": 781, "loc": { "start": { - "line": 38, + "line": 45, "column": 4 }, "end": { - "line": 38, + "line": 45, "column": 5 } } @@ -4102,15 +4102,15 @@ "postfix": false, "binop": null }, - "start": 629, - "end": 630, + "start": 783, + "end": 784, "loc": { "start": { - "line": 39, + "line": 46, "column": 0 }, "end": { - "line": 39, + "line": 46, "column": 1 } } @@ -4128,15 +4128,15 @@ "binop": null, "updateContext": null }, - "start": 630, - "end": 631, + "start": 784, + "end": 785, "loc": { "start": { - "line": 39, + "line": 46, "column": 1 }, "end": { - "line": 39, + "line": 46, "column": 2 } } @@ -4153,15 +4153,15 @@ "postfix": false, "binop": null }, - "start": 631, - "end": 632, + "start": 785, + "end": 786, "loc": { "start": { - "line": 39, + "line": 46, "column": 2 }, "end": { - "line": 39, + "line": 46, "column": 3 } } @@ -4179,15 +4179,15 @@ "binop": null, "updateContext": null }, - "start": 632, - "end": 633, + "start": 786, + "end": 787, "loc": { "start": { - "line": 39, + "line": 46, "column": 3 }, "end": { - "line": 39, + "line": 46, "column": 4 } } @@ -4207,15 +4207,15 @@ "updateContext": null }, "value": "export", - "start": 637, - "end": 643, + "start": 791, + "end": 797, "loc": { "start": { - "line": 41, + "line": 48, "column": 0 }, "end": { - "line": 41, + "line": 48, "column": 6 } } @@ -4235,15 +4235,15 @@ "updateContext": null }, "value": "default", - "start": 644, - "end": 651, + "start": 798, + "end": 805, "loc": { "start": { - "line": 41, + "line": 48, "column": 7 }, "end": { - "line": 41, + "line": 48, "column": 14 } } @@ -4261,15 +4261,15 @@ "binop": null }, "value": "Mass", - "start": 652, - "end": 656, + "start": 806, + "end": 810, "loc": { "start": { - "line": 41, + "line": 48, "column": 15 }, "end": { - "line": 41, + "line": 48, "column": 19 } } @@ -4287,15 +4287,15 @@ "binop": null, "updateContext": null }, - "start": 656, - "end": 657, + "start": 810, + "end": 811, "loc": { "start": { - "line": 41, + "line": 48, "column": 19 }, "end": { - "line": 41, + "line": 48, "column": 20 } } @@ -4313,15 +4313,15 @@ "binop": null, "updateContext": null }, - "start": 657, - "end": 657, + "start": 811, + "end": 811, "loc": { "start": { - "line": 41, + "line": 48, "column": 20 }, "end": { - "line": 41, + "line": 48, "column": 20 } } diff --git a/docs/ast/source/Mass_UK.js.json b/docs/ast/source/Mass_UK.js.json index 7a3e834..8048416 100644 --- a/docs/ast/source/Mass_UK.js.json +++ b/docs/ast/source/Mass_UK.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1291, + "end": 1424, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 80, + "line": 87, "column": 20 } }, "program": { "type": "Program", "start": 0, - "end": 1291, + "end": 1424, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 80, + "line": 87, "column": 20 } }, @@ -30,63 +30,65 @@ "body": [ { "type": "ImportDeclaration", - "start": 0, - "end": 30, + "start": 151, + "end": 181, "loc": { "start": { - "line": 1, + "line": 9, "column": 0 }, "end": { - "line": 1, + "line": 9, "column": 30 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 7, - "end": 13, + "start": 158, + "end": 164, "loc": { "start": { - "line": 1, + "line": 9, "column": 7 }, "end": { - "line": 1, + "line": 9, "column": 13 } }, "local": { "type": "Identifier", - "start": 7, - "end": 13, + "start": 158, + "end": 164, "loc": { "start": { - "line": 1, + "line": 9, "column": 7 }, "end": { - "line": 1, + "line": 9, "column": 13 }, "identifierName": "MassJS" }, - "name": "MassJS" - } + "name": "MassJS", + "leadingComments": null + }, + "leadingComments": null } ], "source": { "type": "StringLiteral", - "start": 19, - "end": 29, + "start": 170, + "end": 180, "loc": { "start": { - "line": 1, + "line": 9, "column": 19 }, "end": { - "line": 1, + "line": 9, "column": 29 } }, @@ -96,20 +98,20 @@ }, "value": "./MassJS" }, - "trailingComments": [ + "leadingComments": [ { - "type": "CommentLine", - "value": " US Mass units", - "start": 34, - "end": 50, + "type": "CommentBlock", + "value": "* \r\n * Entry-point containing Imperial units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n ", + "start": 0, + "end": 147, "loc": { "start": { - "line": 3, + "line": 1, "column": 0 }, "end": { - "line": 3, - "column": 16 + "line": 7, + "column": 3 } } } @@ -117,76 +119,75 @@ }, { "type": "Identifier", - "start": 52, - "end": 1267, + "start": 185, + "end": 1400, "loc": { "start": { - "line": 4, + "line": 11, "column": 0 }, "end": { - "line": 78, + "line": 85, "column": 4 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56, - "end": 1266, + "start": 189, + "end": 1399, "loc": { "start": { - "line": 4, + "line": 11, "column": 4 }, "end": { - "line": 78, + "line": 85, "column": 3 } }, "id": { "type": "Identifier", - "start": 56, - "end": 60, + "start": 189, + "end": 193, "loc": { "start": { - "line": 4, + "line": 11, "column": 4 }, "end": { - "line": 4, + "line": 11, "column": 8 }, "identifierName": "Mass" }, - "name": "Mass", - "leadingComments": null + "name": "Mass" }, "init": { "type": "NewExpression", - "start": 63, - "end": 1266, + "start": 196, + "end": 1399, "loc": { "start": { - "line": 4, + "line": 11, "column": 11 }, "end": { - "line": 78, + "line": 85, "column": 3 } }, "callee": { "type": "Identifier", - "start": 67, - "end": 73, + "start": 200, + "end": 206, "loc": { "start": { - "line": 4, + "line": 11, "column": 15 }, "end": { - "line": 4, + "line": 11, "column": 21 }, "identifierName": "MassJS" @@ -196,45 +197,45 @@ "arguments": [ { "type": "ArrayExpression", - "start": 74, - "end": 1265, + "start": 207, + "end": 1398, "loc": { "start": { - "line": 4, + "line": 11, "column": 22 }, "end": { - "line": 78, + "line": 85, "column": 2 } }, "elements": [ { "type": "ObjectExpression", - "start": 75, - "end": 280, + "start": 208, + "end": 413, "loc": { "start": { - "line": 4, + "line": 11, "column": 23 }, "end": { - "line": 17, + "line": 24, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 82, - "end": 93, + "start": 215, + "end": 226, "loc": { "start": { - "line": 5, + "line": 12, "column": 4 }, "end": { - "line": 5, + "line": 12, "column": 15 } }, @@ -243,15 +244,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 82, - "end": 86, + "start": 215, + "end": 219, "loc": { "start": { - "line": 5, + "line": 12, "column": 4 }, "end": { - "line": 5, + "line": 12, "column": 8 }, "identifierName": "name" @@ -260,15 +261,15 @@ }, "value": { "type": "StringLiteral", - "start": 88, - "end": 93, + "start": 221, + "end": 226, "loc": { "start": { - "line": 5, + "line": 12, "column": 10 }, "end": { - "line": 5, + "line": 12, "column": 15 } }, @@ -281,15 +282,15 @@ }, { "type": "ObjectProperty", - "start": 100, - "end": 111, + "start": 233, + "end": 244, "loc": { "start": { - "line": 6, + "line": 13, "column": 4 }, "end": { - "line": 6, + "line": 13, "column": 15 } }, @@ -298,15 +299,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 100, - "end": 105, + "start": 233, + "end": 238, "loc": { "start": { - "line": 6, + "line": 13, "column": 4 }, "end": { - "line": 6, + "line": 13, "column": 9 }, "identifierName": "value" @@ -315,15 +316,15 @@ }, "value": { "type": "NumericLiteral", - "start": 107, - "end": 111, + "start": 240, + "end": 244, "loc": { "start": { - "line": 6, + "line": 13, "column": 11 }, "end": { - "line": 6, + "line": 13, "column": 15 } }, @@ -336,15 +337,15 @@ }, { "type": "ObjectProperty", - "start": 118, - "end": 204, + "start": 251, + "end": 337, "loc": { "start": { - "line": 7, + "line": 14, "column": 4 }, "end": { - "line": 11, + "line": 18, "column": 5 } }, @@ -353,15 +354,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 118, - "end": 125, + "start": 251, + "end": 258, "loc": { "start": { - "line": 7, + "line": 14, "column": 4 }, "end": { - "line": 7, + "line": 14, "column": 11 }, "identifierName": "display" @@ -370,30 +371,30 @@ }, "value": { "type": "ObjectExpression", - "start": 127, - "end": 204, + "start": 260, + "end": 337, "loc": { "start": { - "line": 7, + "line": 14, "column": 13 }, "end": { - "line": 11, + "line": 18, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 138, - "end": 149, + "start": 271, + "end": 282, "loc": { "start": { - "line": 8, + "line": 15, "column": 8 }, "end": { - "line": 8, + "line": 15, "column": 19 } }, @@ -402,15 +403,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 138, - "end": 144, + "start": 271, + "end": 277, "loc": { "start": { - "line": 8, + "line": 15, "column": 8 }, "end": { - "line": 8, + "line": 15, "column": 14 }, "identifierName": "symbol" @@ -419,15 +420,15 @@ }, "value": { "type": "StringLiteral", - "start": 146, - "end": 149, + "start": 279, + "end": 282, "loc": { "start": { - "line": 8, + "line": 15, "column": 16 }, "end": { - "line": 8, + "line": 15, "column": 19 } }, @@ -440,15 +441,15 @@ }, { "type": "ObjectProperty", - "start": 160, - "end": 171, + "start": 293, + "end": 304, "loc": { "start": { - "line": 9, + "line": 16, "column": 8 }, "end": { - "line": 9, + "line": 16, "column": 19 } }, @@ -457,15 +458,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 160, - "end": 168, + "start": 293, + "end": 301, "loc": { "start": { - "line": 9, + "line": 16, "column": 8 }, "end": { - "line": 9, + "line": 16, "column": 16 }, "identifierName": "rounding" @@ -474,15 +475,15 @@ }, "value": { "type": "NumericLiteral", - "start": 170, - "end": 171, + "start": 303, + "end": 304, "loc": { "start": { - "line": 9, + "line": 16, "column": 18 }, "end": { - "line": 9, + "line": 16, "column": 19 } }, @@ -495,15 +496,15 @@ }, { "type": "ObjectProperty", - "start": 182, - "end": 197, + "start": 315, + "end": 330, "loc": { "start": { - "line": 10, + "line": 17, "column": 8 }, "end": { - "line": 10, + "line": 17, "column": 23 } }, @@ -512,15 +513,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 182, - "end": 191, + "start": 315, + "end": 324, "loc": { "start": { - "line": 10, + "line": 17, "column": 8 }, "end": { - "line": 10, + "line": 17, "column": 17 }, "identifierName": "exclusive" @@ -529,15 +530,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 193, - "end": 197, + "start": 326, + "end": 330, "loc": { "start": { - "line": 10, + "line": 17, "column": 19 }, "end": { - "line": 10, + "line": 17, "column": 23 } }, @@ -549,15 +550,15 @@ }, { "type": "ObjectProperty", - "start": 211, - "end": 277, + "start": 344, + "end": 410, "loc": { "start": { - "line": 12, + "line": 19, "column": 4 }, "end": { - "line": 16, + "line": 23, "column": 5 } }, @@ -566,15 +567,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 211, - "end": 221, + "start": 344, + "end": 354, "loc": { "start": { - "line": 12, + "line": 19, "column": 4 }, "end": { - "line": 12, + "line": 19, "column": 14 }, "identifierName": "signifiers" @@ -583,30 +584,30 @@ }, "value": { "type": "ArrayExpression", - "start": 223, - "end": 277, + "start": 356, + "end": 410, "loc": { "start": { - "line": 12, + "line": 19, "column": 16 }, "end": { - "line": 16, + "line": 23, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 234, - "end": 237, + "start": 367, + "end": 370, "loc": { "start": { - "line": 13, + "line": 20, "column": 8 }, "end": { - "line": 13, + "line": 20, "column": 11 } }, @@ -618,15 +619,15 @@ }, { "type": "StringLiteral", - "start": 248, - "end": 253, + "start": 381, + "end": 386, "loc": { "start": { - "line": 14, + "line": 21, "column": 8 }, "end": { - "line": 14, + "line": 21, "column": 13 } }, @@ -638,15 +639,15 @@ }, { "type": "StringLiteral", - "start": 264, - "end": 270, + "start": 397, + "end": 403, "loc": { "start": { - "line": 15, + "line": 22, "column": 8 }, "end": { - "line": 15, + "line": 22, "column": 14 } }, @@ -663,30 +664,30 @@ }, { "type": "ObjectExpression", - "start": 281, - "end": 397, + "start": 414, + "end": 530, "loc": { "start": { - "line": 17, + "line": 24, "column": 2 }, "end": { - "line": 24, + "line": 31, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 288, - "end": 309, + "start": 421, + "end": 442, "loc": { "start": { - "line": 18, + "line": 25, "column": 4 }, "end": { - "line": 18, + "line": 25, "column": 25 } }, @@ -695,15 +696,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 288, - "end": 292, + "start": 421, + "end": 425, "loc": { "start": { - "line": 18, + "line": 25, "column": 4 }, "end": { - "line": 18, + "line": 25, "column": 8 }, "identifierName": "name" @@ -712,15 +713,15 @@ }, "value": { "type": "StringLiteral", - "start": 294, - "end": 309, + "start": 427, + "end": 442, "loc": { "start": { - "line": 18, + "line": 25, "column": 10 }, "end": { - "line": 18, + "line": 25, "column": 25 } }, @@ -733,15 +734,15 @@ }, { "type": "ObjectProperty", - "start": 316, - "end": 326, + "start": 449, + "end": 459, "loc": { "start": { - "line": 19, + "line": 26, "column": 4 }, "end": { - "line": 19, + "line": 26, "column": 14 } }, @@ -750,15 +751,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 316, - "end": 321, + "start": 449, + "end": 454, "loc": { "start": { - "line": 19, + "line": 26, "column": 4 }, "end": { - "line": 19, + "line": 26, "column": 9 }, "identifierName": "value" @@ -767,15 +768,15 @@ }, "value": { "type": "NumericLiteral", - "start": 323, - "end": 326, + "start": 456, + "end": 459, "loc": { "start": { - "line": 19, + "line": 26, "column": 11 }, "end": { - "line": 19, + "line": 26, "column": 14 } }, @@ -788,15 +789,15 @@ }, { "type": "ObjectProperty", - "start": 333, - "end": 394, + "start": 466, + "end": 527, "loc": { "start": { - "line": 20, + "line": 27, "column": 4 }, "end": { - "line": 23, + "line": 30, "column": 5 } }, @@ -805,15 +806,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 333, - "end": 343, + "start": 466, + "end": 476, "loc": { "start": { - "line": 20, + "line": 27, "column": 4 }, "end": { - "line": 20, + "line": 27, "column": 14 }, "identifierName": "signifiers" @@ -822,30 +823,30 @@ }, "value": { "type": "ArrayExpression", - "start": 345, - "end": 394, + "start": 478, + "end": 527, "loc": { "start": { - "line": 20, + "line": 27, "column": 16 }, "end": { - "line": 23, + "line": 30, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 356, - "end": 361, + "start": 489, + "end": 494, "loc": { "start": { - "line": 21, + "line": 28, "column": 8 }, "end": { - "line": 21, + "line": 28, "column": 13 } }, @@ -857,15 +858,15 @@ }, { "type": "StringLiteral", - "start": 372, - "end": 387, + "start": 505, + "end": 520, "loc": { "start": { - "line": 22, + "line": 29, "column": 8 }, "end": { - "line": 22, + "line": 29, "column": 23 } }, @@ -882,30 +883,30 @@ }, { "type": "ObjectExpression", - "start": 398, - "end": 537, + "start": 531, + "end": 670, "loc": { "start": { - "line": 24, + "line": 31, "column": 2 }, "end": { - "line": 33, + "line": 40, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 405, - "end": 420, + "start": 538, + "end": 553, "loc": { "start": { - "line": 25, + "line": 32, "column": 4 }, "end": { - "line": 25, + "line": 32, "column": 19 } }, @@ -914,15 +915,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 405, - "end": 409, + "start": 538, + "end": 542, "loc": { "start": { - "line": 25, + "line": 32, "column": 4 }, "end": { - "line": 25, + "line": 32, "column": 8 }, "identifierName": "name" @@ -931,15 +932,15 @@ }, "value": { "type": "StringLiteral", - "start": 411, - "end": 420, + "start": 544, + "end": 553, "loc": { "start": { - "line": 25, + "line": 32, "column": 10 }, "end": { - "line": 25, + "line": 32, "column": 19 } }, @@ -952,15 +953,15 @@ }, { "type": "ObjectProperty", - "start": 427, - "end": 436, + "start": 560, + "end": 569, "loc": { "start": { - "line": 26, + "line": 33, "column": 4 }, "end": { - "line": 26, + "line": 33, "column": 13 } }, @@ -969,15 +970,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 427, - "end": 432, + "start": 560, + "end": 565, "loc": { "start": { - "line": 26, + "line": 33, "column": 4 }, "end": { - "line": 26, + "line": 33, "column": 9 }, "identifierName": "value" @@ -986,15 +987,15 @@ }, "value": { "type": "NumericLiteral", - "start": 434, - "end": 436, + "start": 567, + "end": 569, "loc": { "start": { - "line": 26, + "line": 33, "column": 11 }, "end": { - "line": 26, + "line": 33, "column": 13 } }, @@ -1007,15 +1008,15 @@ }, { "type": "ObjectProperty", - "start": 443, - "end": 534, + "start": 576, + "end": 667, "loc": { "start": { - "line": 27, + "line": 34, "column": 4 }, "end": { - "line": 32, + "line": 39, "column": 5 } }, @@ -1024,15 +1025,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 443, - "end": 453, + "start": 576, + "end": 586, "loc": { "start": { - "line": 27, + "line": 34, "column": 4 }, "end": { - "line": 27, + "line": 34, "column": 14 }, "identifierName": "signifiers" @@ -1041,30 +1042,30 @@ }, "value": { "type": "ArrayExpression", - "start": 455, - "end": 534, + "start": 588, + "end": 667, "loc": { "start": { - "line": 27, + "line": 34, "column": 16 }, "end": { - "line": 32, + "line": 39, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 466, - "end": 470, + "start": 599, + "end": 603, "loc": { "start": { - "line": 28, + "line": 35, "column": 8 }, "end": { - "line": 28, + "line": 35, "column": 12 } }, @@ -1076,15 +1077,15 @@ }, { "type": "StringLiteral", - "start": 481, - "end": 486, + "start": 614, + "end": 619, "loc": { "start": { - "line": 29, + "line": 36, "column": 8 }, "end": { - "line": 29, + "line": 36, "column": 13 } }, @@ -1096,15 +1097,15 @@ }, { "type": "StringLiteral", - "start": 497, - "end": 506, + "start": 630, + "end": 639, "loc": { "start": { - "line": 30, + "line": 37, "column": 8 }, "end": { - "line": 30, + "line": 37, "column": 17 } }, @@ -1116,15 +1117,15 @@ }, { "type": "StringLiteral", - "start": 517, - "end": 527, + "start": 650, + "end": 660, "loc": { "start": { - "line": 31, + "line": 38, "column": 8 }, "end": { - "line": 31, + "line": 38, "column": 18 } }, @@ -1141,30 +1142,30 @@ }, { "type": "ObjectExpression", - "start": 538, - "end": 655, + "start": 671, + "end": 788, "loc": { "start": { - "line": 33, + "line": 40, "column": 2 }, "end": { - "line": 41, + "line": 48, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 545, - "end": 558, + "start": 678, + "end": 691, "loc": { "start": { - "line": 34, + "line": 41, "column": 4 }, "end": { - "line": 34, + "line": 41, "column": 17 } }, @@ -1173,15 +1174,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 545, - "end": 549, + "start": 678, + "end": 682, "loc": { "start": { - "line": 34, + "line": 41, "column": 4 }, "end": { - "line": 34, + "line": 41, "column": 8 }, "identifierName": "name" @@ -1190,15 +1191,15 @@ }, "value": { "type": "StringLiteral", - "start": 551, - "end": 558, + "start": 684, + "end": 691, "loc": { "start": { - "line": 34, + "line": 41, "column": 10 }, "end": { - "line": 34, + "line": 41, "column": 17 } }, @@ -1211,15 +1212,15 @@ }, { "type": "ObjectProperty", - "start": 565, - "end": 574, + "start": 698, + "end": 707, "loc": { "start": { - "line": 35, + "line": 42, "column": 4 }, "end": { - "line": 35, + "line": 42, "column": 13 } }, @@ -1228,15 +1229,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 565, - "end": 570, + "start": 698, + "end": 703, "loc": { "start": { - "line": 35, + "line": 42, "column": 4 }, "end": { - "line": 35, + "line": 42, "column": 9 }, "identifierName": "value" @@ -1245,15 +1246,15 @@ }, "value": { "type": "NumericLiteral", - "start": 572, - "end": 574, + "start": 705, + "end": 707, "loc": { "start": { - "line": 35, + "line": 42, "column": 11 }, "end": { - "line": 35, + "line": 42, "column": 13 } }, @@ -1266,15 +1267,15 @@ }, { "type": "ObjectProperty", - "start": 581, - "end": 652, + "start": 714, + "end": 785, "loc": { "start": { - "line": 36, + "line": 43, "column": 4 }, "end": { - "line": 40, + "line": 47, "column": 5 } }, @@ -1283,15 +1284,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 581, - "end": 591, + "start": 714, + "end": 724, "loc": { "start": { - "line": 36, + "line": 43, "column": 4 }, "end": { - "line": 36, + "line": 43, "column": 14 }, "identifierName": "signifiers" @@ -1300,30 +1301,30 @@ }, "value": { "type": "ArrayExpression", - "start": 593, - "end": 652, + "start": 726, + "end": 785, "loc": { "start": { - "line": 36, + "line": 43, "column": 16 }, "end": { - "line": 40, + "line": 47, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 604, - "end": 608, + "start": 737, + "end": 741, "loc": { "start": { - "line": 37, + "line": 44, "column": 8 }, "end": { - "line": 37, + "line": 44, "column": 12 } }, @@ -1335,15 +1336,15 @@ }, { "type": "StringLiteral", - "start": 619, - "end": 626, + "start": 752, + "end": 759, "loc": { "start": { - "line": 38, + "line": 45, "column": 8 }, "end": { - "line": 38, + "line": 45, "column": 15 } }, @@ -1355,15 +1356,15 @@ }, { "type": "StringLiteral", - "start": 637, - "end": 645, + "start": 770, + "end": 778, "loc": { "start": { - "line": 39, + "line": 46, "column": 8 }, "end": { - "line": 39, + "line": 46, "column": 16 } }, @@ -1380,30 +1381,30 @@ }, { "type": "ObjectExpression", - "start": 656, - "end": 808, + "start": 789, + "end": 941, "loc": { "start": { - "line": 41, + "line": 48, "column": 2 }, "end": { - "line": 51, + "line": 58, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 663, - "end": 676, + "start": 796, + "end": 809, "loc": { "start": { - "line": 42, + "line": 49, "column": 4 }, "end": { - "line": 42, + "line": 49, "column": 17 } }, @@ -1412,15 +1413,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 663, - "end": 667, + "start": 796, + "end": 800, "loc": { "start": { - "line": 42, + "line": 49, "column": 4 }, "end": { - "line": 42, + "line": 49, "column": 8 }, "identifierName": "name" @@ -1429,15 +1430,15 @@ }, "value": { "type": "StringLiteral", - "start": 669, - "end": 676, + "start": 802, + "end": 809, "loc": { "start": { - "line": 42, + "line": 49, "column": 10 }, "end": { - "line": 42, + "line": 49, "column": 17 } }, @@ -1450,15 +1451,15 @@ }, { "type": "ObjectProperty", - "start": 683, - "end": 691, + "start": 816, + "end": 824, "loc": { "start": { - "line": 43, + "line": 50, "column": 4 }, "end": { - "line": 43, + "line": 50, "column": 12 } }, @@ -1467,15 +1468,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 683, - "end": 688, + "start": 816, + "end": 821, "loc": { "start": { - "line": 43, + "line": 50, "column": 4 }, "end": { - "line": 43, + "line": 50, "column": 9 }, "identifierName": "value" @@ -1484,15 +1485,15 @@ }, "value": { "type": "NumericLiteral", - "start": 690, - "end": 691, + "start": 823, + "end": 824, "loc": { "start": { - "line": 43, + "line": 50, "column": 11 }, "end": { - "line": 43, + "line": 50, "column": 12 } }, @@ -1505,15 +1506,15 @@ }, { "type": "ObjectProperty", - "start": 698, - "end": 711, + "start": 831, + "end": 844, "loc": { "start": { - "line": 44, + "line": 51, "column": 4 }, "end": { - "line": 44, + "line": 51, "column": 17 } }, @@ -1522,15 +1523,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 698, - "end": 705, + "start": 831, + "end": 838, "loc": { "start": { - "line": 44, + "line": 51, "column": 4 }, "end": { - "line": 44, + "line": 51, "column": 11 }, "identifierName": "display" @@ -1539,15 +1540,15 @@ }, "value": { "type": "StringLiteral", - "start": 707, - "end": 711, + "start": 840, + "end": 844, "loc": { "start": { - "line": 44, + "line": 51, "column": 13 }, "end": { - "line": 44, + "line": 51, "column": 17 } }, @@ -1560,15 +1561,15 @@ }, { "type": "ObjectProperty", - "start": 718, - "end": 805, + "start": 851, + "end": 938, "loc": { "start": { - "line": 45, + "line": 52, "column": 4 }, "end": { - "line": 50, + "line": 57, "column": 5 } }, @@ -1577,15 +1578,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 718, - "end": 728, + "start": 851, + "end": 861, "loc": { "start": { - "line": 45, + "line": 52, "column": 4 }, "end": { - "line": 45, + "line": 52, "column": 14 }, "identifierName": "signifiers" @@ -1594,30 +1595,30 @@ }, "value": { "type": "ArrayExpression", - "start": 730, - "end": 805, + "start": 863, + "end": 938, "loc": { "start": { - "line": 45, + "line": 52, "column": 16 }, "end": { - "line": 50, + "line": 57, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 741, - "end": 745, + "start": 874, + "end": 878, "loc": { "start": { - "line": 46, + "line": 53, "column": 8 }, "end": { - "line": 46, + "line": 53, "column": 12 } }, @@ -1629,15 +1630,15 @@ }, { "type": "StringLiteral", - "start": 756, - "end": 761, + "start": 889, + "end": 894, "loc": { "start": { - "line": 47, + "line": 54, "column": 8 }, "end": { - "line": 47, + "line": 54, "column": 13 } }, @@ -1649,15 +1650,15 @@ }, { "type": "StringLiteral", - "start": 772, - "end": 779, + "start": 905, + "end": 912, "loc": { "start": { - "line": 48, + "line": 55, "column": 8 }, "end": { - "line": 48, + "line": 55, "column": 15 } }, @@ -1669,15 +1670,15 @@ }, { "type": "StringLiteral", - "start": 790, - "end": 798, + "start": 923, + "end": 931, "loc": { "start": { - "line": 49, + "line": 56, "column": 8 }, "end": { - "line": 49, + "line": 56, "column": 16 } }, @@ -1694,30 +1695,30 @@ }, { "type": "ObjectExpression", - "start": 809, - "end": 950, + "start": 942, + "end": 1083, "loc": { "start": { - "line": 51, + "line": 58, "column": 2 }, "end": { - "line": 60, + "line": 67, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 816, - "end": 829, + "start": 949, + "end": 962, "loc": { "start": { - "line": 52, + "line": 59, "column": 4 }, "end": { - "line": 52, + "line": 59, "column": 17 } }, @@ -1726,15 +1727,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 816, - "end": 820, + "start": 949, + "end": 953, "loc": { "start": { - "line": 52, + "line": 59, "column": 4 }, "end": { - "line": 52, + "line": 59, "column": 8 }, "identifierName": "name" @@ -1743,15 +1744,15 @@ }, "value": { "type": "StringLiteral", - "start": 822, - "end": 829, + "start": 955, + "end": 962, "loc": { "start": { - "line": 52, + "line": 59, "column": 10 }, "end": { - "line": 52, + "line": 59, "column": 17 } }, @@ -1764,15 +1765,15 @@ }, { "type": "ObjectProperty", - "start": 836, - "end": 849, + "start": 969, + "end": 982, "loc": { "start": { - "line": 53, + "line": 60, "column": 4 }, "end": { - "line": 53, + "line": 60, "column": 17 } }, @@ -1781,15 +1782,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 836, - "end": 841, + "start": 969, + "end": 974, "loc": { "start": { - "line": 53, + "line": 60, "column": 4 }, "end": { - "line": 53, + "line": 60, "column": 9 }, "identifierName": "value" @@ -1798,15 +1799,15 @@ }, "value": { "type": "NumericLiteral", - "start": 843, - "end": 849, + "start": 976, + "end": 982, "loc": { "start": { - "line": 53, + "line": 60, "column": 11 }, "end": { - "line": 53, + "line": 60, "column": 17 } }, @@ -1819,15 +1820,15 @@ }, { "type": "ObjectProperty", - "start": 856, - "end": 869, + "start": 989, + "end": 1002, "loc": { "start": { - "line": 54, + "line": 61, "column": 4 }, "end": { - "line": 54, + "line": 61, "column": 17 } }, @@ -1836,15 +1837,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 856, - "end": 863, + "start": 989, + "end": 996, "loc": { "start": { - "line": 54, + "line": 61, "column": 4 }, "end": { - "line": 54, + "line": 61, "column": 11 }, "identifierName": "display" @@ -1853,15 +1854,15 @@ }, "value": { "type": "StringLiteral", - "start": 865, - "end": 869, + "start": 998, + "end": 1002, "loc": { "start": { - "line": 54, + "line": 61, "column": 13 }, "end": { - "line": 54, + "line": 61, "column": 17 } }, @@ -1874,15 +1875,15 @@ }, { "type": "ObjectProperty", - "start": 876, - "end": 947, + "start": 1009, + "end": 1080, "loc": { "start": { - "line": 55, + "line": 62, "column": 4 }, "end": { - "line": 59, + "line": 66, "column": 5 } }, @@ -1891,15 +1892,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 876, - "end": 886, + "start": 1009, + "end": 1019, "loc": { "start": { - "line": 55, + "line": 62, "column": 4 }, "end": { - "line": 55, + "line": 62, "column": 14 }, "identifierName": "signifiers" @@ -1908,30 +1909,30 @@ }, "value": { "type": "ArrayExpression", - "start": 888, - "end": 947, + "start": 1021, + "end": 1080, "loc": { "start": { - "line": 55, + "line": 62, "column": 16 }, "end": { - "line": 59, + "line": 66, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 899, - "end": 903, + "start": 1032, + "end": 1036, "loc": { "start": { - "line": 56, + "line": 63, "column": 8 }, "end": { - "line": 56, + "line": 63, "column": 12 } }, @@ -1943,15 +1944,15 @@ }, { "type": "StringLiteral", - "start": 914, - "end": 921, + "start": 1047, + "end": 1054, "loc": { "start": { - "line": 57, + "line": 64, "column": 8 }, "end": { - "line": 57, + "line": 64, "column": 15 } }, @@ -1963,15 +1964,15 @@ }, { "type": "StringLiteral", - "start": 932, - "end": 940, + "start": 1065, + "end": 1073, "loc": { "start": { - "line": 58, + "line": 65, "column": 8 }, "end": { - "line": 58, + "line": 65, "column": 16 } }, @@ -1988,30 +1989,30 @@ }, { "type": "ObjectExpression", - "start": 951, - "end": 1112, + "start": 1084, + "end": 1245, "loc": { "start": { - "line": 60, + "line": 67, "column": 2 }, "end": { - "line": 70, + "line": 77, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 958, - "end": 970, + "start": 1091, + "end": 1103, "loc": { "start": { - "line": 61, + "line": 68, "column": 4 }, "end": { - "line": 61, + "line": 68, "column": 16 } }, @@ -2020,15 +2021,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 958, - "end": 962, + "start": 1091, + "end": 1095, "loc": { "start": { - "line": 61, + "line": 68, "column": 4 }, "end": { - "line": 61, + "line": 68, "column": 8 }, "identifierName": "name" @@ -2037,15 +2038,15 @@ }, "value": { "type": "StringLiteral", - "start": 964, - "end": 970, + "start": 1097, + "end": 1103, "loc": { "start": { - "line": 61, + "line": 68, "column": 10 }, "end": { - "line": 61, + "line": 68, "column": 16 } }, @@ -2058,15 +2059,15 @@ }, { "type": "ObjectProperty", - "start": 977, - "end": 994, + "start": 1110, + "end": 1127, "loc": { "start": { - "line": 62, + "line": 69, "column": 4 }, "end": { - "line": 62, + "line": 69, "column": 21 } }, @@ -2075,15 +2076,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 977, - "end": 982, + "start": 1110, + "end": 1115, "loc": { "start": { - "line": 62, + "line": 69, "column": 4 }, "end": { - "line": 62, + "line": 69, "column": 9 }, "identifierName": "value" @@ -2092,15 +2093,15 @@ }, "value": { "type": "NumericLiteral", - "start": 984, - "end": 994, + "start": 1117, + "end": 1127, "loc": { "start": { - "line": 62, + "line": 69, "column": 11 }, "end": { - "line": 62, + "line": 69, "column": 21 } }, @@ -2113,15 +2114,15 @@ }, { "type": "ObjectProperty", - "start": 1001, - "end": 1109, + "start": 1134, + "end": 1242, "loc": { "start": { - "line": 63, + "line": 70, "column": 4 }, "end": { - "line": 69, + "line": 76, "column": 5 } }, @@ -2130,15 +2131,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1001, - "end": 1011, + "start": 1134, + "end": 1144, "loc": { "start": { - "line": 63, + "line": 70, "column": 4 }, "end": { - "line": 63, + "line": 70, "column": 14 }, "identifierName": "signifiers" @@ -2147,30 +2148,30 @@ }, "value": { "type": "ArrayExpression", - "start": 1013, - "end": 1109, + "start": 1146, + "end": 1242, "loc": { "start": { - "line": 63, + "line": 70, "column": 16 }, "end": { - "line": 69, + "line": 76, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 1024, - "end": 1028, + "start": 1157, + "end": 1161, "loc": { "start": { - "line": 64, + "line": 71, "column": 8 }, "end": { - "line": 64, + "line": 71, "column": 12 } }, @@ -2182,15 +2183,15 @@ }, { "type": "StringLiteral", - "start": 1039, - "end": 1045, + "start": 1172, + "end": 1178, "loc": { "start": { - "line": 65, + "line": 72, "column": 8 }, "end": { - "line": 65, + "line": 72, "column": 14 } }, @@ -2202,15 +2203,15 @@ }, { "type": "StringLiteral", - "start": 1056, - "end": 1063, + "start": 1189, + "end": 1196, "loc": { "start": { - "line": 66, + "line": 73, "column": 8 }, "end": { - "line": 66, + "line": 73, "column": 15 } }, @@ -2222,15 +2223,15 @@ }, { "type": "StringLiteral", - "start": 1074, - "end": 1082, + "start": 1207, + "end": 1215, "loc": { "start": { - "line": 67, + "line": 74, "column": 8 }, "end": { - "line": 67, + "line": 74, "column": 16 } }, @@ -2242,15 +2243,15 @@ }, { "type": "StringLiteral", - "start": 1093, - "end": 1102, + "start": 1226, + "end": 1235, "loc": { "start": { - "line": 68, + "line": 75, "column": 8 }, "end": { - "line": 68, + "line": 75, "column": 17 } }, @@ -2267,30 +2268,30 @@ }, { "type": "ObjectExpression", - "start": 1113, - "end": 1264, + "start": 1246, + "end": 1397, "loc": { "start": { - "line": 70, + "line": 77, "column": 2 }, "end": { - "line": 78, + "line": 85, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 1120, - "end": 1133, + "start": 1253, + "end": 1266, "loc": { "start": { - "line": 71, + "line": 78, "column": 4 }, "end": { - "line": 71, + "line": 78, "column": 17 } }, @@ -2299,15 +2300,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1120, - "end": 1124, + "start": 1253, + "end": 1257, "loc": { "start": { - "line": 71, + "line": 78, "column": 4 }, "end": { - "line": 71, + "line": 78, "column": 8 }, "identifierName": "name" @@ -2316,15 +2317,15 @@ }, "value": { "type": "StringLiteral", - "start": 1126, - "end": 1133, + "start": 1259, + "end": 1266, "loc": { "start": { - "line": 71, + "line": 78, "column": 10 }, "end": { - "line": 71, + "line": 78, "column": 17 } }, @@ -2337,15 +2338,15 @@ }, { "type": "ObjectProperty", - "start": 1140, - "end": 1183, + "start": 1273, + "end": 1316, "loc": { "start": { - "line": 72, + "line": 79, "column": 4 }, "end": { - "line": 72, + "line": 79, "column": 47 } }, @@ -2354,15 +2355,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1140, - "end": 1145, + "start": 1273, + "end": 1278, "loc": { "start": { - "line": 72, + "line": 79, "column": 4 }, "end": { - "line": 72, + "line": 79, "column": 9 }, "identifierName": "value" @@ -2371,15 +2372,15 @@ }, "value": { "type": "NumericLiteral", - "start": 1147, - "end": 1183, + "start": 1280, + "end": 1316, "loc": { "start": { - "line": 72, + "line": 79, "column": 11 }, "end": { - "line": 72, + "line": 79, "column": 47 } }, @@ -2392,15 +2393,15 @@ }, { "type": "ObjectProperty", - "start": 1190, - "end": 1261, + "start": 1323, + "end": 1394, "loc": { "start": { - "line": 73, + "line": 80, "column": 4 }, "end": { - "line": 77, + "line": 84, "column": 5 } }, @@ -2409,15 +2410,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1190, - "end": 1200, + "start": 1323, + "end": 1333, "loc": { "start": { - "line": 73, + "line": 80, "column": 4 }, "end": { - "line": 73, + "line": 80, "column": 14 }, "identifierName": "signifiers" @@ -2426,30 +2427,30 @@ }, "value": { "type": "ArrayExpression", - "start": 1202, - "end": 1261, + "start": 1335, + "end": 1394, "loc": { "start": { - "line": 73, + "line": 80, "column": 16 }, "end": { - "line": 77, + "line": 84, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 1213, - "end": 1217, + "start": 1346, + "end": 1350, "loc": { "start": { - "line": 74, + "line": 81, "column": 8 }, "end": { - "line": 74, + "line": 81, "column": 12 } }, @@ -2461,15 +2462,15 @@ }, { "type": "StringLiteral", - "start": 1228, - "end": 1235, + "start": 1361, + "end": 1368, "loc": { "start": { - "line": 75, + "line": 82, "column": 8 }, "end": { - "line": 75, + "line": 82, "column": 15 } }, @@ -2481,15 +2482,15 @@ }, { "type": "StringLiteral", - "start": 1246, - "end": 1254, + "start": 1379, + "end": 1387, "loc": { "start": { - "line": 76, + "line": 83, "column": 8 }, "end": { - "line": 76, + "line": 83, "column": 16 } }, @@ -2507,40 +2508,39 @@ ] } ] - }, - "leadingComments": null + } } ], "kind": "var", - "leadingComments": [], "name": "_", + "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", - "start": 1271, - "end": 1291, + "start": 1404, + "end": 1424, "loc": { "start": { - "line": 80, + "line": 87, "column": 0 }, "end": { - "line": 80, + "line": 87, "column": 20 } }, "declaration": { "type": "Identifier", - "start": 1286, - "end": 1290, + "start": 1419, + "end": 1423, "loc": { "start": { - "line": 80, + "line": 87, "column": 15 }, "end": { - "line": 80, + "line": 87, "column": 19 }, "identifierName": "Mass" @@ -2555,23 +2555,39 @@ }, "comments": [ { - "type": "CommentLine", - "value": " US Mass units", - "start": 34, - "end": 50, + "type": "CommentBlock", + "value": "* \r\n * Entry-point containing Imperial units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n ", + "start": 0, + "end": 147, "loc": { "start": { - "line": 3, + "line": 1, "column": 0 }, "end": { - "line": 3, - "column": 16 - } + "line": 7, + "column": 3 + } } } ], "tokens": [ + { + "type": "CommentBlock", + "value": "* \r\n * Entry-point containing Imperial units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n ", + "start": 0, + "end": 147, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, { "type": { "label": "import", @@ -2587,15 +2603,15 @@ "updateContext": null }, "value": "import", - "start": 0, - "end": 6, + "start": 151, + "end": 157, "loc": { "start": { - "line": 1, + "line": 9, "column": 0 }, "end": { - "line": 1, + "line": 9, "column": 6 } } @@ -2613,15 +2629,15 @@ "binop": null }, "value": "MassJS", - "start": 7, - "end": 13, + "start": 158, + "end": 164, "loc": { "start": { - "line": 1, + "line": 9, "column": 7 }, "end": { - "line": 1, + "line": 9, "column": 13 } } @@ -2639,15 +2655,15 @@ "binop": null }, "value": "from", - "start": 14, - "end": 18, + "start": 165, + "end": 169, "loc": { "start": { - "line": 1, + "line": 9, "column": 14 }, "end": { - "line": 1, + "line": 9, "column": 18 } } @@ -2666,15 +2682,15 @@ "updateContext": null }, "value": "./MassJS", - "start": 19, - "end": 29, + "start": 170, + "end": 180, "loc": { "start": { - "line": 1, + "line": 9, "column": 19 }, "end": { - "line": 1, + "line": 9, "column": 29 } } @@ -2692,35 +2708,19 @@ "binop": null, "updateContext": null }, - "start": 29, - "end": 30, + "start": 180, + "end": 181, "loc": { "start": { - "line": 1, + "line": 9, "column": 29 }, "end": { - "line": 1, + "line": 9, "column": 30 } } }, - { - "type": "CommentLine", - "value": " US Mass units", - "start": 34, - "end": 50, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, { "type": { "label": "var", @@ -2736,15 +2736,15 @@ "updateContext": null }, "value": "var", - "start": 52, - "end": 55, + "start": 185, + "end": 188, "loc": { "start": { - "line": 4, + "line": 11, "column": 0 }, "end": { - "line": 4, + "line": 11, "column": 3 } } @@ -2762,15 +2762,15 @@ "binop": null }, "value": "Mass", - "start": 56, - "end": 60, + "start": 189, + "end": 193, "loc": { "start": { - "line": 4, + "line": 11, "column": 4 }, "end": { - "line": 4, + "line": 11, "column": 8 } } @@ -2789,15 +2789,15 @@ "updateContext": null }, "value": "=", - "start": 61, - "end": 62, + "start": 194, + "end": 195, "loc": { "start": { - "line": 4, + "line": 11, "column": 9 }, "end": { - "line": 4, + "line": 11, "column": 10 } } @@ -2817,15 +2817,15 @@ "updateContext": null }, "value": "new", - "start": 63, - "end": 66, + "start": 196, + "end": 199, "loc": { "start": { - "line": 4, + "line": 11, "column": 11 }, "end": { - "line": 4, + "line": 11, "column": 14 } } @@ -2843,15 +2843,15 @@ "binop": null }, "value": "MassJS", - "start": 67, - "end": 73, + "start": 200, + "end": 206, "loc": { "start": { - "line": 4, + "line": 11, "column": 15 }, "end": { - "line": 4, + "line": 11, "column": 21 } } @@ -2868,15 +2868,15 @@ "postfix": false, "binop": null }, - "start": 73, - "end": 74, + "start": 206, + "end": 207, "loc": { "start": { - "line": 4, + "line": 11, "column": 21 }, "end": { - "line": 4, + "line": 11, "column": 22 } } @@ -2894,15 +2894,15 @@ "binop": null, "updateContext": null }, - "start": 74, - "end": 75, + "start": 207, + "end": 208, "loc": { "start": { - "line": 4, + "line": 11, "column": 22 }, "end": { - "line": 4, + "line": 11, "column": 23 } } @@ -2919,15 +2919,15 @@ "postfix": false, "binop": null }, - "start": 75, - "end": 76, + "start": 208, + "end": 209, "loc": { "start": { - "line": 4, + "line": 11, "column": 23 }, "end": { - "line": 4, + "line": 11, "column": 24 } } @@ -2945,15 +2945,15 @@ "binop": null }, "value": "name", - "start": 82, - "end": 86, + "start": 215, + "end": 219, "loc": { "start": { - "line": 5, + "line": 12, "column": 4 }, "end": { - "line": 5, + "line": 12, "column": 8 } } @@ -2971,15 +2971,15 @@ "binop": null, "updateContext": null }, - "start": 86, - "end": 87, + "start": 219, + "end": 220, "loc": { "start": { - "line": 5, + "line": 12, "column": 8 }, "end": { - "line": 5, + "line": 12, "column": 9 } } @@ -2998,15 +2998,15 @@ "updateContext": null }, "value": "ton", - "start": 88, - "end": 93, + "start": 221, + "end": 226, "loc": { "start": { - "line": 5, + "line": 12, "column": 10 }, "end": { - "line": 5, + "line": 12, "column": 15 } } @@ -3024,15 +3024,15 @@ "binop": null, "updateContext": null }, - "start": 93, - "end": 94, + "start": 226, + "end": 227, "loc": { "start": { - "line": 5, + "line": 12, "column": 15 }, "end": { - "line": 5, + "line": 12, "column": 16 } } @@ -3050,15 +3050,15 @@ "binop": null }, "value": "value", - "start": 100, - "end": 105, + "start": 233, + "end": 238, "loc": { "start": { - "line": 6, + "line": 13, "column": 4 }, "end": { - "line": 6, + "line": 13, "column": 9 } } @@ -3076,15 +3076,15 @@ "binop": null, "updateContext": null }, - "start": 105, - "end": 106, + "start": 238, + "end": 239, "loc": { "start": { - "line": 6, + "line": 13, "column": 9 }, "end": { - "line": 6, + "line": 13, "column": 10 } } @@ -3103,15 +3103,15 @@ "updateContext": null }, "value": 2240, - "start": 107, - "end": 111, + "start": 240, + "end": 244, "loc": { "start": { - "line": 6, + "line": 13, "column": 11 }, "end": { - "line": 6, + "line": 13, "column": 15 } } @@ -3129,15 +3129,15 @@ "binop": null, "updateContext": null }, - "start": 111, - "end": 112, + "start": 244, + "end": 245, "loc": { "start": { - "line": 6, + "line": 13, "column": 15 }, "end": { - "line": 6, + "line": 13, "column": 16 } } @@ -3155,15 +3155,15 @@ "binop": null }, "value": "display", - "start": 118, - "end": 125, + "start": 251, + "end": 258, "loc": { "start": { - "line": 7, + "line": 14, "column": 4 }, "end": { - "line": 7, + "line": 14, "column": 11 } } @@ -3181,15 +3181,15 @@ "binop": null, "updateContext": null }, - "start": 125, - "end": 126, + "start": 258, + "end": 259, "loc": { "start": { - "line": 7, + "line": 14, "column": 11 }, "end": { - "line": 7, + "line": 14, "column": 12 } } @@ -3206,15 +3206,15 @@ "postfix": false, "binop": null }, - "start": 127, - "end": 128, + "start": 260, + "end": 261, "loc": { "start": { - "line": 7, + "line": 14, "column": 13 }, "end": { - "line": 7, + "line": 14, "column": 14 } } @@ -3232,15 +3232,15 @@ "binop": null }, "value": "symbol", - "start": 138, - "end": 144, + "start": 271, + "end": 277, "loc": { "start": { - "line": 8, + "line": 15, "column": 8 }, "end": { - "line": 8, + "line": 15, "column": 14 } } @@ -3258,15 +3258,15 @@ "binop": null, "updateContext": null }, - "start": 144, - "end": 145, + "start": 277, + "end": 278, "loc": { "start": { - "line": 8, + "line": 15, "column": 14 }, "end": { - "line": 8, + "line": 15, "column": 15 } } @@ -3285,15 +3285,15 @@ "updateContext": null }, "value": "t", - "start": 146, - "end": 149, + "start": 279, + "end": 282, "loc": { "start": { - "line": 8, + "line": 15, "column": 16 }, "end": { - "line": 8, + "line": 15, "column": 19 } } @@ -3311,15 +3311,15 @@ "binop": null, "updateContext": null }, - "start": 149, - "end": 150, + "start": 282, + "end": 283, "loc": { "start": { - "line": 8, + "line": 15, "column": 19 }, "end": { - "line": 8, + "line": 15, "column": 20 } } @@ -3337,15 +3337,15 @@ "binop": null }, "value": "rounding", - "start": 160, - "end": 168, + "start": 293, + "end": 301, "loc": { "start": { - "line": 9, + "line": 16, "column": 8 }, "end": { - "line": 9, + "line": 16, "column": 16 } } @@ -3363,15 +3363,15 @@ "binop": null, "updateContext": null }, - "start": 168, - "end": 169, + "start": 301, + "end": 302, "loc": { "start": { - "line": 9, + "line": 16, "column": 16 }, "end": { - "line": 9, + "line": 16, "column": 17 } } @@ -3390,15 +3390,15 @@ "updateContext": null }, "value": 2, - "start": 170, - "end": 171, + "start": 303, + "end": 304, "loc": { "start": { - "line": 9, + "line": 16, "column": 18 }, "end": { - "line": 9, + "line": 16, "column": 19 } } @@ -3416,15 +3416,15 @@ "binop": null, "updateContext": null }, - "start": 171, - "end": 172, + "start": 304, + "end": 305, "loc": { "start": { - "line": 9, + "line": 16, "column": 19 }, "end": { - "line": 9, + "line": 16, "column": 20 } } @@ -3442,15 +3442,15 @@ "binop": null }, "value": "exclusive", - "start": 182, - "end": 191, + "start": 315, + "end": 324, "loc": { "start": { - "line": 10, + "line": 17, "column": 8 }, "end": { - "line": 10, + "line": 17, "column": 17 } } @@ -3468,15 +3468,15 @@ "binop": null, "updateContext": null }, - "start": 191, - "end": 192, + "start": 324, + "end": 325, "loc": { "start": { - "line": 10, + "line": 17, "column": 17 }, "end": { - "line": 10, + "line": 17, "column": 18 } } @@ -3496,15 +3496,15 @@ "updateContext": null }, "value": "true", - "start": 193, - "end": 197, + "start": 326, + "end": 330, "loc": { "start": { - "line": 10, + "line": 17, "column": 19 }, "end": { - "line": 10, + "line": 17, "column": 23 } } @@ -3521,15 +3521,15 @@ "postfix": false, "binop": null }, - "start": 203, - "end": 204, + "start": 336, + "end": 337, "loc": { "start": { - "line": 11, + "line": 18, "column": 4 }, "end": { - "line": 11, + "line": 18, "column": 5 } } @@ -3547,15 +3547,15 @@ "binop": null, "updateContext": null }, - "start": 204, - "end": 205, + "start": 337, + "end": 338, "loc": { "start": { - "line": 11, + "line": 18, "column": 5 }, "end": { - "line": 11, + "line": 18, "column": 6 } } @@ -3573,15 +3573,15 @@ "binop": null }, "value": "signifiers", - "start": 211, - "end": 221, + "start": 344, + "end": 354, "loc": { "start": { - "line": 12, + "line": 19, "column": 4 }, "end": { - "line": 12, + "line": 19, "column": 14 } } @@ -3599,15 +3599,15 @@ "binop": null, "updateContext": null }, - "start": 221, - "end": 222, + "start": 354, + "end": 355, "loc": { "start": { - "line": 12, + "line": 19, "column": 14 }, "end": { - "line": 12, + "line": 19, "column": 15 } } @@ -3625,15 +3625,15 @@ "binop": null, "updateContext": null }, - "start": 223, - "end": 224, + "start": 356, + "end": 357, "loc": { "start": { - "line": 12, + "line": 19, "column": 16 }, "end": { - "line": 12, + "line": 19, "column": 17 } } @@ -3652,15 +3652,15 @@ "updateContext": null }, "value": "t", - "start": 234, - "end": 237, + "start": 367, + "end": 370, "loc": { "start": { - "line": 13, + "line": 20, "column": 8 }, "end": { - "line": 13, + "line": 20, "column": 11 } } @@ -3678,15 +3678,15 @@ "binop": null, "updateContext": null }, - "start": 237, - "end": 238, + "start": 370, + "end": 371, "loc": { "start": { - "line": 13, + "line": 20, "column": 11 }, "end": { - "line": 13, + "line": 20, "column": 12 } } @@ -3705,15 +3705,15 @@ "updateContext": null }, "value": "ton", - "start": 248, - "end": 253, + "start": 381, + "end": 386, "loc": { "start": { - "line": 14, + "line": 21, "column": 8 }, "end": { - "line": 14, + "line": 21, "column": 13 } } @@ -3731,15 +3731,15 @@ "binop": null, "updateContext": null }, - "start": 253, - "end": 254, + "start": 386, + "end": 387, "loc": { "start": { - "line": 14, + "line": 21, "column": 13 }, "end": { - "line": 14, + "line": 21, "column": 14 } } @@ -3758,15 +3758,15 @@ "updateContext": null }, "value": "tons", - "start": 264, - "end": 270, + "start": 397, + "end": 403, "loc": { "start": { - "line": 15, + "line": 22, "column": 8 }, "end": { - "line": 15, + "line": 22, "column": 14 } } @@ -3784,15 +3784,15 @@ "binop": null, "updateContext": null }, - "start": 276, - "end": 277, + "start": 409, + "end": 410, "loc": { "start": { - "line": 16, + "line": 23, "column": 4 }, "end": { - "line": 16, + "line": 23, "column": 5 } } @@ -3809,15 +3809,15 @@ "postfix": false, "binop": null }, - "start": 279, - "end": 280, + "start": 412, + "end": 413, "loc": { "start": { - "line": 17, + "line": 24, "column": 0 }, "end": { - "line": 17, + "line": 24, "column": 1 } } @@ -3835,15 +3835,15 @@ "binop": null, "updateContext": null }, - "start": 280, - "end": 281, + "start": 413, + "end": 414, "loc": { "start": { - "line": 17, + "line": 24, "column": 1 }, "end": { - "line": 17, + "line": 24, "column": 2 } } @@ -3860,15 +3860,15 @@ "postfix": false, "binop": null }, - "start": 281, - "end": 282, + "start": 414, + "end": 415, "loc": { "start": { - "line": 17, + "line": 24, "column": 2 }, "end": { - "line": 17, + "line": 24, "column": 3 } } @@ -3886,15 +3886,15 @@ "binop": null }, "value": "name", - "start": 288, - "end": 292, + "start": 421, + "end": 425, "loc": { "start": { - "line": 18, + "line": 25, "column": 4 }, "end": { - "line": 18, + "line": 25, "column": 8 } } @@ -3912,15 +3912,15 @@ "binop": null, "updateContext": null }, - "start": 292, - "end": 293, + "start": 425, + "end": 426, "loc": { "start": { - "line": 18, + "line": 25, "column": 8 }, "end": { - "line": 18, + "line": 25, "column": 9 } } @@ -3939,15 +3939,15 @@ "updateContext": null }, "value": "hundredweight", - "start": 294, - "end": 309, + "start": 427, + "end": 442, "loc": { "start": { - "line": 18, + "line": 25, "column": 10 }, "end": { - "line": 18, + "line": 25, "column": 25 } } @@ -3965,15 +3965,15 @@ "binop": null, "updateContext": null }, - "start": 309, - "end": 310, + "start": 442, + "end": 443, "loc": { "start": { - "line": 18, + "line": 25, "column": 25 }, "end": { - "line": 18, + "line": 25, "column": 26 } } @@ -3991,15 +3991,15 @@ "binop": null }, "value": "value", - "start": 316, - "end": 321, + "start": 449, + "end": 454, "loc": { "start": { - "line": 19, + "line": 26, "column": 4 }, "end": { - "line": 19, + "line": 26, "column": 9 } } @@ -4017,15 +4017,15 @@ "binop": null, "updateContext": null }, - "start": 321, - "end": 322, + "start": 454, + "end": 455, "loc": { "start": { - "line": 19, + "line": 26, "column": 9 }, "end": { - "line": 19, + "line": 26, "column": 10 } } @@ -4044,15 +4044,15 @@ "updateContext": null }, "value": 112, - "start": 323, - "end": 326, + "start": 456, + "end": 459, "loc": { "start": { - "line": 19, + "line": 26, "column": 11 }, "end": { - "line": 19, + "line": 26, "column": 14 } } @@ -4070,15 +4070,15 @@ "binop": null, "updateContext": null }, - "start": 326, - "end": 327, + "start": 459, + "end": 460, "loc": { "start": { - "line": 19, + "line": 26, "column": 14 }, "end": { - "line": 19, + "line": 26, "column": 15 } } @@ -4096,15 +4096,15 @@ "binop": null }, "value": "signifiers", - "start": 333, - "end": 343, + "start": 466, + "end": 476, "loc": { "start": { - "line": 20, + "line": 27, "column": 4 }, "end": { - "line": 20, + "line": 27, "column": 14 } } @@ -4122,15 +4122,15 @@ "binop": null, "updateContext": null }, - "start": 343, - "end": 344, + "start": 476, + "end": 477, "loc": { "start": { - "line": 20, + "line": 27, "column": 14 }, "end": { - "line": 20, + "line": 27, "column": 15 } } @@ -4148,15 +4148,15 @@ "binop": null, "updateContext": null }, - "start": 345, - "end": 346, + "start": 478, + "end": 479, "loc": { "start": { - "line": 20, + "line": 27, "column": 16 }, "end": { - "line": 20, + "line": 27, "column": 17 } } @@ -4175,15 +4175,15 @@ "updateContext": null }, "value": "cwt", - "start": 356, - "end": 361, + "start": 489, + "end": 494, "loc": { "start": { - "line": 21, + "line": 28, "column": 8 }, "end": { - "line": 21, + "line": 28, "column": 13 } } @@ -4201,15 +4201,15 @@ "binop": null, "updateContext": null }, - "start": 361, - "end": 362, + "start": 494, + "end": 495, "loc": { "start": { - "line": 21, + "line": 28, "column": 13 }, "end": { - "line": 21, + "line": 28, "column": 14 } } @@ -4228,15 +4228,15 @@ "updateContext": null }, "value": "hundredweight", - "start": 372, - "end": 387, + "start": 505, + "end": 520, "loc": { "start": { - "line": 22, + "line": 29, "column": 8 }, "end": { - "line": 22, + "line": 29, "column": 23 } } @@ -4254,15 +4254,15 @@ "binop": null, "updateContext": null }, - "start": 393, - "end": 394, + "start": 526, + "end": 527, "loc": { "start": { - "line": 23, + "line": 30, "column": 4 }, "end": { - "line": 23, + "line": 30, "column": 5 } } @@ -4279,15 +4279,15 @@ "postfix": false, "binop": null }, - "start": 396, - "end": 397, + "start": 529, + "end": 530, "loc": { "start": { - "line": 24, + "line": 31, "column": 0 }, "end": { - "line": 24, + "line": 31, "column": 1 } } @@ -4305,15 +4305,15 @@ "binop": null, "updateContext": null }, - "start": 397, - "end": 398, + "start": 530, + "end": 531, "loc": { "start": { - "line": 24, + "line": 31, "column": 1 }, "end": { - "line": 24, + "line": 31, "column": 2 } } @@ -4330,15 +4330,15 @@ "postfix": false, "binop": null }, - "start": 398, - "end": 399, + "start": 531, + "end": 532, "loc": { "start": { - "line": 24, + "line": 31, "column": 2 }, "end": { - "line": 24, + "line": 31, "column": 3 } } @@ -4356,15 +4356,15 @@ "binop": null }, "value": "name", - "start": 405, - "end": 409, + "start": 538, + "end": 542, "loc": { "start": { - "line": 25, + "line": 32, "column": 4 }, "end": { - "line": 25, + "line": 32, "column": 8 } } @@ -4382,15 +4382,15 @@ "binop": null, "updateContext": null }, - "start": 409, - "end": 410, + "start": 542, + "end": 543, "loc": { "start": { - "line": 25, + "line": 32, "column": 8 }, "end": { - "line": 25, + "line": 32, "column": 9 } } @@ -4409,15 +4409,15 @@ "updateContext": null }, "value": "quarter", - "start": 411, - "end": 420, + "start": 544, + "end": 553, "loc": { "start": { - "line": 25, + "line": 32, "column": 10 }, "end": { - "line": 25, + "line": 32, "column": 19 } } @@ -4435,15 +4435,15 @@ "binop": null, "updateContext": null }, - "start": 420, - "end": 421, + "start": 553, + "end": 554, "loc": { "start": { - "line": 25, + "line": 32, "column": 19 }, "end": { - "line": 25, + "line": 32, "column": 20 } } @@ -4461,15 +4461,15 @@ "binop": null }, "value": "value", - "start": 427, - "end": 432, + "start": 560, + "end": 565, "loc": { "start": { - "line": 26, + "line": 33, "column": 4 }, "end": { - "line": 26, + "line": 33, "column": 9 } } @@ -4487,15 +4487,15 @@ "binop": null, "updateContext": null }, - "start": 432, - "end": 433, + "start": 565, + "end": 566, "loc": { "start": { - "line": 26, + "line": 33, "column": 9 }, "end": { - "line": 26, + "line": 33, "column": 10 } } @@ -4514,15 +4514,15 @@ "updateContext": null }, "value": 28, - "start": 434, - "end": 436, + "start": 567, + "end": 569, "loc": { "start": { - "line": 26, + "line": 33, "column": 11 }, "end": { - "line": 26, + "line": 33, "column": 13 } } @@ -4540,15 +4540,15 @@ "binop": null, "updateContext": null }, - "start": 436, - "end": 437, + "start": 569, + "end": 570, "loc": { "start": { - "line": 26, + "line": 33, "column": 13 }, "end": { - "line": 26, + "line": 33, "column": 14 } } @@ -4566,15 +4566,15 @@ "binop": null }, "value": "signifiers", - "start": 443, - "end": 453, + "start": 576, + "end": 586, "loc": { "start": { - "line": 27, + "line": 34, "column": 4 }, "end": { - "line": 27, + "line": 34, "column": 14 } } @@ -4592,15 +4592,15 @@ "binop": null, "updateContext": null }, - "start": 453, - "end": 454, + "start": 586, + "end": 587, "loc": { "start": { - "line": 27, + "line": 34, "column": 14 }, "end": { - "line": 27, + "line": 34, "column": 15 } } @@ -4618,15 +4618,15 @@ "binop": null, "updateContext": null }, - "start": 455, - "end": 456, + "start": 588, + "end": 589, "loc": { "start": { - "line": 27, + "line": 34, "column": 16 }, "end": { - "line": 27, + "line": 34, "column": 17 } } @@ -4645,15 +4645,15 @@ "updateContext": null }, "value": "qr", - "start": 466, - "end": 470, + "start": 599, + "end": 603, "loc": { "start": { - "line": 28, + "line": 35, "column": 8 }, "end": { - "line": 28, + "line": 35, "column": 12 } } @@ -4671,15 +4671,15 @@ "binop": null, "updateContext": null }, - "start": 470, - "end": 471, + "start": 603, + "end": 604, "loc": { "start": { - "line": 28, + "line": 35, "column": 12 }, "end": { - "line": 28, + "line": 35, "column": 13 } } @@ -4698,15 +4698,15 @@ "updateContext": null }, "value": "qtr", - "start": 481, - "end": 486, + "start": 614, + "end": 619, "loc": { "start": { - "line": 29, + "line": 36, "column": 8 }, "end": { - "line": 29, + "line": 36, "column": 13 } } @@ -4724,15 +4724,15 @@ "binop": null, "updateContext": null }, - "start": 486, - "end": 487, + "start": 619, + "end": 620, "loc": { "start": { - "line": 29, + "line": 36, "column": 13 }, "end": { - "line": 29, + "line": 36, "column": 14 } } @@ -4751,15 +4751,15 @@ "updateContext": null }, "value": "quarter", - "start": 497, - "end": 506, + "start": 630, + "end": 639, "loc": { "start": { - "line": 30, + "line": 37, "column": 8 }, "end": { - "line": 30, + "line": 37, "column": 17 } } @@ -4777,15 +4777,15 @@ "binop": null, "updateContext": null }, - "start": 506, - "end": 507, + "start": 639, + "end": 640, "loc": { "start": { - "line": 30, + "line": 37, "column": 17 }, "end": { - "line": 30, + "line": 37, "column": 18 } } @@ -4804,15 +4804,15 @@ "updateContext": null }, "value": "quarters", - "start": 517, - "end": 527, + "start": 650, + "end": 660, "loc": { "start": { - "line": 31, + "line": 38, "column": 8 }, "end": { - "line": 31, + "line": 38, "column": 18 } } @@ -4830,15 +4830,15 @@ "binop": null, "updateContext": null }, - "start": 533, - "end": 534, + "start": 666, + "end": 667, "loc": { "start": { - "line": 32, + "line": 39, "column": 4 }, "end": { - "line": 32, + "line": 39, "column": 5 } } @@ -4855,15 +4855,15 @@ "postfix": false, "binop": null }, - "start": 536, - "end": 537, + "start": 669, + "end": 670, "loc": { "start": { - "line": 33, + "line": 40, "column": 0 }, "end": { - "line": 33, + "line": 40, "column": 1 } } @@ -4881,15 +4881,15 @@ "binop": null, "updateContext": null }, - "start": 537, - "end": 538, + "start": 670, + "end": 671, "loc": { "start": { - "line": 33, + "line": 40, "column": 1 }, "end": { - "line": 33, + "line": 40, "column": 2 } } @@ -4906,15 +4906,15 @@ "postfix": false, "binop": null }, - "start": 538, - "end": 539, + "start": 671, + "end": 672, "loc": { "start": { - "line": 33, + "line": 40, "column": 2 }, "end": { - "line": 33, + "line": 40, "column": 3 } } @@ -4932,15 +4932,15 @@ "binop": null }, "value": "name", - "start": 545, - "end": 549, + "start": 678, + "end": 682, "loc": { "start": { - "line": 34, + "line": 41, "column": 4 }, "end": { - "line": 34, + "line": 41, "column": 8 } } @@ -4958,15 +4958,15 @@ "binop": null, "updateContext": null }, - "start": 549, - "end": 550, + "start": 682, + "end": 683, "loc": { "start": { - "line": 34, + "line": 41, "column": 8 }, "end": { - "line": 34, + "line": 41, "column": 9 } } @@ -4985,15 +4985,15 @@ "updateContext": null }, "value": "stone", - "start": 551, - "end": 558, + "start": 684, + "end": 691, "loc": { "start": { - "line": 34, + "line": 41, "column": 10 }, "end": { - "line": 34, + "line": 41, "column": 17 } } @@ -5011,15 +5011,15 @@ "binop": null, "updateContext": null }, - "start": 558, - "end": 559, + "start": 691, + "end": 692, "loc": { "start": { - "line": 34, + "line": 41, "column": 17 }, "end": { - "line": 34, + "line": 41, "column": 18 } } @@ -5037,15 +5037,15 @@ "binop": null }, "value": "value", - "start": 565, - "end": 570, + "start": 698, + "end": 703, "loc": { "start": { - "line": 35, + "line": 42, "column": 4 }, "end": { - "line": 35, + "line": 42, "column": 9 } } @@ -5063,15 +5063,15 @@ "binop": null, "updateContext": null }, - "start": 570, - "end": 571, + "start": 703, + "end": 704, "loc": { "start": { - "line": 35, + "line": 42, "column": 9 }, "end": { - "line": 35, + "line": 42, "column": 10 } } @@ -5090,15 +5090,15 @@ "updateContext": null }, "value": 14, - "start": 572, - "end": 574, + "start": 705, + "end": 707, "loc": { "start": { - "line": 35, + "line": 42, "column": 11 }, "end": { - "line": 35, + "line": 42, "column": 13 } } @@ -5116,15 +5116,15 @@ "binop": null, "updateContext": null }, - "start": 574, - "end": 575, + "start": 707, + "end": 708, "loc": { "start": { - "line": 35, + "line": 42, "column": 13 }, "end": { - "line": 35, + "line": 42, "column": 14 } } @@ -5142,15 +5142,15 @@ "binop": null }, "value": "signifiers", - "start": 581, - "end": 591, + "start": 714, + "end": 724, "loc": { "start": { - "line": 36, + "line": 43, "column": 4 }, "end": { - "line": 36, + "line": 43, "column": 14 } } @@ -5168,15 +5168,15 @@ "binop": null, "updateContext": null }, - "start": 591, - "end": 592, + "start": 724, + "end": 725, "loc": { "start": { - "line": 36, + "line": 43, "column": 14 }, "end": { - "line": 36, + "line": 43, "column": 15 } } @@ -5194,15 +5194,15 @@ "binop": null, "updateContext": null }, - "start": 593, - "end": 594, + "start": 726, + "end": 727, "loc": { "start": { - "line": 36, + "line": 43, "column": 16 }, "end": { - "line": 36, + "line": 43, "column": 17 } } @@ -5221,15 +5221,15 @@ "updateContext": null }, "value": "st", - "start": 604, - "end": 608, + "start": 737, + "end": 741, "loc": { "start": { - "line": 37, + "line": 44, "column": 8 }, "end": { - "line": 37, + "line": 44, "column": 12 } } @@ -5247,15 +5247,15 @@ "binop": null, "updateContext": null }, - "start": 608, - "end": 609, + "start": 741, + "end": 742, "loc": { "start": { - "line": 37, + "line": 44, "column": 12 }, "end": { - "line": 37, + "line": 44, "column": 13 } } @@ -5274,15 +5274,15 @@ "updateContext": null }, "value": "stone", - "start": 619, - "end": 626, + "start": 752, + "end": 759, "loc": { "start": { - "line": 38, + "line": 45, "column": 8 }, "end": { - "line": 38, + "line": 45, "column": 15 } } @@ -5300,15 +5300,15 @@ "binop": null, "updateContext": null }, - "start": 626, - "end": 627, + "start": 759, + "end": 760, "loc": { "start": { - "line": 38, + "line": 45, "column": 15 }, "end": { - "line": 38, + "line": 45, "column": 16 } } @@ -5327,15 +5327,15 @@ "updateContext": null }, "value": "stones", - "start": 637, - "end": 645, + "start": 770, + "end": 778, "loc": { "start": { - "line": 39, + "line": 46, "column": 8 }, "end": { - "line": 39, + "line": 46, "column": 16 } } @@ -5353,15 +5353,15 @@ "binop": null, "updateContext": null }, - "start": 651, - "end": 652, + "start": 784, + "end": 785, "loc": { "start": { - "line": 40, + "line": 47, "column": 4 }, "end": { - "line": 40, + "line": 47, "column": 5 } } @@ -5378,15 +5378,15 @@ "postfix": false, "binop": null }, - "start": 654, - "end": 655, + "start": 787, + "end": 788, "loc": { "start": { - "line": 41, + "line": 48, "column": 0 }, "end": { - "line": 41, + "line": 48, "column": 1 } } @@ -5404,15 +5404,15 @@ "binop": null, "updateContext": null }, - "start": 655, - "end": 656, + "start": 788, + "end": 789, "loc": { "start": { - "line": 41, + "line": 48, "column": 1 }, "end": { - "line": 41, + "line": 48, "column": 2 } } @@ -5429,15 +5429,15 @@ "postfix": false, "binop": null }, - "start": 656, - "end": 657, + "start": 789, + "end": 790, "loc": { "start": { - "line": 41, + "line": 48, "column": 2 }, "end": { - "line": 41, + "line": 48, "column": 3 } } @@ -5455,15 +5455,15 @@ "binop": null }, "value": "name", - "start": 663, - "end": 667, + "start": 796, + "end": 800, "loc": { "start": { - "line": 42, + "line": 49, "column": 4 }, "end": { - "line": 42, + "line": 49, "column": 8 } } @@ -5481,15 +5481,15 @@ "binop": null, "updateContext": null }, - "start": 667, - "end": 668, + "start": 800, + "end": 801, "loc": { "start": { - "line": 42, + "line": 49, "column": 8 }, "end": { - "line": 42, + "line": 49, "column": 9 } } @@ -5508,15 +5508,15 @@ "updateContext": null }, "value": "pound", - "start": 669, - "end": 676, + "start": 802, + "end": 809, "loc": { "start": { - "line": 42, + "line": 49, "column": 10 }, "end": { - "line": 42, + "line": 49, "column": 17 } } @@ -5534,15 +5534,15 @@ "binop": null, "updateContext": null }, - "start": 676, - "end": 677, + "start": 809, + "end": 810, "loc": { "start": { - "line": 42, + "line": 49, "column": 17 }, "end": { - "line": 42, + "line": 49, "column": 18 } } @@ -5560,15 +5560,15 @@ "binop": null }, "value": "value", - "start": 683, - "end": 688, + "start": 816, + "end": 821, "loc": { "start": { - "line": 43, + "line": 50, "column": 4 }, "end": { - "line": 43, + "line": 50, "column": 9 } } @@ -5586,15 +5586,15 @@ "binop": null, "updateContext": null }, - "start": 688, - "end": 689, + "start": 821, + "end": 822, "loc": { "start": { - "line": 43, + "line": 50, "column": 9 }, "end": { - "line": 43, + "line": 50, "column": 10 } } @@ -5613,15 +5613,15 @@ "updateContext": null }, "value": 1, - "start": 690, - "end": 691, + "start": 823, + "end": 824, "loc": { "start": { - "line": 43, + "line": 50, "column": 11 }, "end": { - "line": 43, + "line": 50, "column": 12 } } @@ -5639,15 +5639,15 @@ "binop": null, "updateContext": null }, - "start": 691, - "end": 692, + "start": 824, + "end": 825, "loc": { "start": { - "line": 43, + "line": 50, "column": 12 }, "end": { - "line": 43, + "line": 50, "column": 13 } } @@ -5665,15 +5665,15 @@ "binop": null }, "value": "display", - "start": 698, - "end": 705, + "start": 831, + "end": 838, "loc": { "start": { - "line": 44, + "line": 51, "column": 4 }, "end": { - "line": 44, + "line": 51, "column": 11 } } @@ -5691,15 +5691,15 @@ "binop": null, "updateContext": null }, - "start": 705, - "end": 706, + "start": 838, + "end": 839, "loc": { "start": { - "line": 44, + "line": 51, "column": 11 }, "end": { - "line": 44, + "line": 51, "column": 12 } } @@ -5718,15 +5718,15 @@ "updateContext": null }, "value": "lb", - "start": 707, - "end": 711, + "start": 840, + "end": 844, "loc": { "start": { - "line": 44, + "line": 51, "column": 13 }, "end": { - "line": 44, + "line": 51, "column": 17 } } @@ -5744,15 +5744,15 @@ "binop": null, "updateContext": null }, - "start": 711, - "end": 712, + "start": 844, + "end": 845, "loc": { "start": { - "line": 44, + "line": 51, "column": 17 }, "end": { - "line": 44, + "line": 51, "column": 18 } } @@ -5770,15 +5770,15 @@ "binop": null }, "value": "signifiers", - "start": 718, - "end": 728, + "start": 851, + "end": 861, "loc": { "start": { - "line": 45, + "line": 52, "column": 4 }, "end": { - "line": 45, + "line": 52, "column": 14 } } @@ -5796,15 +5796,15 @@ "binop": null, "updateContext": null }, - "start": 728, - "end": 729, + "start": 861, + "end": 862, "loc": { "start": { - "line": 45, + "line": 52, "column": 14 }, "end": { - "line": 45, + "line": 52, "column": 15 } } @@ -5822,15 +5822,15 @@ "binop": null, "updateContext": null }, - "start": 730, - "end": 731, + "start": 863, + "end": 864, "loc": { "start": { - "line": 45, + "line": 52, "column": 16 }, "end": { - "line": 45, + "line": 52, "column": 17 } } @@ -5849,15 +5849,15 @@ "updateContext": null }, "value": "lb", - "start": 741, - "end": 745, + "start": 874, + "end": 878, "loc": { "start": { - "line": 46, + "line": 53, "column": 8 }, "end": { - "line": 46, + "line": 53, "column": 12 } } @@ -5875,15 +5875,15 @@ "binop": null, "updateContext": null }, - "start": 745, - "end": 746, + "start": 878, + "end": 879, "loc": { "start": { - "line": 46, + "line": 53, "column": 12 }, "end": { - "line": 46, + "line": 53, "column": 13 } } @@ -5902,15 +5902,15 @@ "updateContext": null }, "value": "lbs", - "start": 756, - "end": 761, + "start": 889, + "end": 894, "loc": { "start": { - "line": 47, + "line": 54, "column": 8 }, "end": { - "line": 47, + "line": 54, "column": 13 } } @@ -5928,15 +5928,15 @@ "binop": null, "updateContext": null }, - "start": 761, - "end": 762, + "start": 894, + "end": 895, "loc": { "start": { - "line": 47, + "line": 54, "column": 13 }, "end": { - "line": 47, + "line": 54, "column": 14 } } @@ -5955,15 +5955,15 @@ "updateContext": null }, "value": "pound", - "start": 772, - "end": 779, + "start": 905, + "end": 912, "loc": { "start": { - "line": 48, + "line": 55, "column": 8 }, "end": { - "line": 48, + "line": 55, "column": 15 } } @@ -5981,15 +5981,15 @@ "binop": null, "updateContext": null }, - "start": 779, - "end": 780, + "start": 912, + "end": 913, "loc": { "start": { - "line": 48, + "line": 55, "column": 15 }, "end": { - "line": 48, + "line": 55, "column": 16 } } @@ -6008,15 +6008,15 @@ "updateContext": null }, "value": "pounds", - "start": 790, - "end": 798, + "start": 923, + "end": 931, "loc": { "start": { - "line": 49, + "line": 56, "column": 8 }, "end": { - "line": 49, + "line": 56, "column": 16 } } @@ -6034,15 +6034,15 @@ "binop": null, "updateContext": null }, - "start": 804, - "end": 805, + "start": 937, + "end": 938, "loc": { "start": { - "line": 50, + "line": 57, "column": 4 }, "end": { - "line": 50, + "line": 57, "column": 5 } } @@ -6059,15 +6059,15 @@ "postfix": false, "binop": null }, - "start": 807, - "end": 808, + "start": 940, + "end": 941, "loc": { "start": { - "line": 51, + "line": 58, "column": 0 }, "end": { - "line": 51, + "line": 58, "column": 1 } } @@ -6085,15 +6085,15 @@ "binop": null, "updateContext": null }, - "start": 808, - "end": 809, + "start": 941, + "end": 942, "loc": { "start": { - "line": 51, + "line": 58, "column": 1 }, "end": { - "line": 51, + "line": 58, "column": 2 } } @@ -6110,15 +6110,15 @@ "postfix": false, "binop": null }, - "start": 809, - "end": 810, + "start": 942, + "end": 943, "loc": { "start": { - "line": 51, + "line": 58, "column": 2 }, "end": { - "line": 51, + "line": 58, "column": 3 } } @@ -6136,15 +6136,15 @@ "binop": null }, "value": "name", - "start": 816, - "end": 820, + "start": 949, + "end": 953, "loc": { "start": { - "line": 52, + "line": 59, "column": 4 }, "end": { - "line": 52, + "line": 59, "column": 8 } } @@ -6162,15 +6162,15 @@ "binop": null, "updateContext": null }, - "start": 820, - "end": 821, + "start": 953, + "end": 954, "loc": { "start": { - "line": 52, + "line": 59, "column": 8 }, "end": { - "line": 52, + "line": 59, "column": 9 } } @@ -6189,15 +6189,15 @@ "updateContext": null }, "value": "ounce", - "start": 822, - "end": 829, + "start": 955, + "end": 962, "loc": { "start": { - "line": 52, + "line": 59, "column": 10 }, "end": { - "line": 52, + "line": 59, "column": 17 } } @@ -6215,15 +6215,15 @@ "binop": null, "updateContext": null }, - "start": 829, - "end": 830, + "start": 962, + "end": 963, "loc": { "start": { - "line": 52, + "line": 59, "column": 17 }, "end": { - "line": 52, + "line": 59, "column": 18 } } @@ -6241,15 +6241,15 @@ "binop": null }, "value": "value", - "start": 836, - "end": 841, + "start": 969, + "end": 974, "loc": { "start": { - "line": 53, + "line": 60, "column": 4 }, "end": { - "line": 53, + "line": 60, "column": 9 } } @@ -6267,15 +6267,15 @@ "binop": null, "updateContext": null }, - "start": 841, - "end": 842, + "start": 974, + "end": 975, "loc": { "start": { - "line": 53, + "line": 60, "column": 9 }, "end": { - "line": 53, + "line": 60, "column": 10 } } @@ -6294,15 +6294,15 @@ "updateContext": null }, "value": 0.0625, - "start": 843, - "end": 849, + "start": 976, + "end": 982, "loc": { "start": { - "line": 53, + "line": 60, "column": 11 }, "end": { - "line": 53, + "line": 60, "column": 17 } } @@ -6320,15 +6320,15 @@ "binop": null, "updateContext": null }, - "start": 849, - "end": 850, + "start": 982, + "end": 983, "loc": { "start": { - "line": 53, + "line": 60, "column": 17 }, "end": { - "line": 53, + "line": 60, "column": 18 } } @@ -6346,15 +6346,15 @@ "binop": null }, "value": "display", - "start": 856, - "end": 863, + "start": 989, + "end": 996, "loc": { "start": { - "line": 54, + "line": 61, "column": 4 }, "end": { - "line": 54, + "line": 61, "column": 11 } } @@ -6372,15 +6372,15 @@ "binop": null, "updateContext": null }, - "start": 863, - "end": 864, + "start": 996, + "end": 997, "loc": { "start": { - "line": 54, + "line": 61, "column": 11 }, "end": { - "line": 54, + "line": 61, "column": 12 } } @@ -6399,15 +6399,15 @@ "updateContext": null }, "value": "oz", - "start": 865, - "end": 869, + "start": 998, + "end": 1002, "loc": { "start": { - "line": 54, + "line": 61, "column": 13 }, "end": { - "line": 54, + "line": 61, "column": 17 } } @@ -6425,15 +6425,15 @@ "binop": null, "updateContext": null }, - "start": 869, - "end": 870, + "start": 1002, + "end": 1003, "loc": { "start": { - "line": 54, + "line": 61, "column": 17 }, "end": { - "line": 54, + "line": 61, "column": 18 } } @@ -6451,15 +6451,15 @@ "binop": null }, "value": "signifiers", - "start": 876, - "end": 886, + "start": 1009, + "end": 1019, "loc": { "start": { - "line": 55, + "line": 62, "column": 4 }, "end": { - "line": 55, + "line": 62, "column": 14 } } @@ -6477,15 +6477,15 @@ "binop": null, "updateContext": null }, - "start": 886, - "end": 887, + "start": 1019, + "end": 1020, "loc": { "start": { - "line": 55, + "line": 62, "column": 14 }, "end": { - "line": 55, + "line": 62, "column": 15 } } @@ -6503,15 +6503,15 @@ "binop": null, "updateContext": null }, - "start": 888, - "end": 889, + "start": 1021, + "end": 1022, "loc": { "start": { - "line": 55, + "line": 62, "column": 16 }, "end": { - "line": 55, + "line": 62, "column": 17 } } @@ -6530,15 +6530,15 @@ "updateContext": null }, "value": "oz", - "start": 899, - "end": 903, + "start": 1032, + "end": 1036, "loc": { "start": { - "line": 56, + "line": 63, "column": 8 }, "end": { - "line": 56, + "line": 63, "column": 12 } } @@ -6556,15 +6556,15 @@ "binop": null, "updateContext": null }, - "start": 903, - "end": 904, + "start": 1036, + "end": 1037, "loc": { "start": { - "line": 56, + "line": 63, "column": 12 }, "end": { - "line": 56, + "line": 63, "column": 13 } } @@ -6583,15 +6583,15 @@ "updateContext": null }, "value": "ounce", - "start": 914, - "end": 921, + "start": 1047, + "end": 1054, "loc": { "start": { - "line": 57, + "line": 64, "column": 8 }, "end": { - "line": 57, + "line": 64, "column": 15 } } @@ -6609,15 +6609,15 @@ "binop": null, "updateContext": null }, - "start": 921, - "end": 922, + "start": 1054, + "end": 1055, "loc": { "start": { - "line": 57, + "line": 64, "column": 15 }, "end": { - "line": 57, + "line": 64, "column": 16 } } @@ -6636,15 +6636,15 @@ "updateContext": null }, "value": "ounces", - "start": 932, - "end": 940, + "start": 1065, + "end": 1073, "loc": { "start": { - "line": 58, + "line": 65, "column": 8 }, "end": { - "line": 58, + "line": 65, "column": 16 } } @@ -6662,15 +6662,15 @@ "binop": null, "updateContext": null }, - "start": 946, - "end": 947, + "start": 1079, + "end": 1080, "loc": { "start": { - "line": 59, + "line": 66, "column": 4 }, "end": { - "line": 59, + "line": 66, "column": 5 } } @@ -6687,15 +6687,15 @@ "postfix": false, "binop": null }, - "start": 949, - "end": 950, + "start": 1082, + "end": 1083, "loc": { "start": { - "line": 60, + "line": 67, "column": 0 }, "end": { - "line": 60, + "line": 67, "column": 1 } } @@ -6713,15 +6713,15 @@ "binop": null, "updateContext": null }, - "start": 950, - "end": 951, + "start": 1083, + "end": 1084, "loc": { "start": { - "line": 60, + "line": 67, "column": 1 }, "end": { - "line": 60, + "line": 67, "column": 2 } } @@ -6738,15 +6738,15 @@ "postfix": false, "binop": null }, - "start": 951, - "end": 952, + "start": 1084, + "end": 1085, "loc": { "start": { - "line": 60, + "line": 67, "column": 2 }, "end": { - "line": 60, + "line": 67, "column": 3 } } @@ -6764,15 +6764,15 @@ "binop": null }, "value": "name", - "start": 958, - "end": 962, + "start": 1091, + "end": 1095, "loc": { "start": { - "line": 61, + "line": 68, "column": 4 }, "end": { - "line": 61, + "line": 68, "column": 8 } } @@ -6790,15 +6790,15 @@ "binop": null, "updateContext": null }, - "start": 962, - "end": 963, + "start": 1095, + "end": 1096, "loc": { "start": { - "line": 61, + "line": 68, "column": 8 }, "end": { - "line": 61, + "line": 68, "column": 9 } } @@ -6817,15 +6817,15 @@ "updateContext": null }, "value": "dram", - "start": 964, - "end": 970, + "start": 1097, + "end": 1103, "loc": { "start": { - "line": 61, + "line": 68, "column": 10 }, "end": { - "line": 61, + "line": 68, "column": 16 } } @@ -6843,15 +6843,15 @@ "binop": null, "updateContext": null }, - "start": 970, - "end": 971, + "start": 1103, + "end": 1104, "loc": { "start": { - "line": 61, + "line": 68, "column": 16 }, "end": { - "line": 61, + "line": 68, "column": 17 } } @@ -6869,15 +6869,15 @@ "binop": null }, "value": "value", - "start": 977, - "end": 982, + "start": 1110, + "end": 1115, "loc": { "start": { - "line": 62, + "line": 69, "column": 4 }, "end": { - "line": 62, + "line": 69, "column": 9 } } @@ -6895,15 +6895,15 @@ "binop": null, "updateContext": null }, - "start": 982, - "end": 983, + "start": 1115, + "end": 1116, "loc": { "start": { - "line": 62, + "line": 69, "column": 9 }, "end": { - "line": 62, + "line": 69, "column": 10 } } @@ -6922,15 +6922,15 @@ "updateContext": null }, "value": 0.00390625, - "start": 984, - "end": 994, + "start": 1117, + "end": 1127, "loc": { "start": { - "line": 62, + "line": 69, "column": 11 }, "end": { - "line": 62, + "line": 69, "column": 21 } } @@ -6948,15 +6948,15 @@ "binop": null, "updateContext": null }, - "start": 994, - "end": 995, + "start": 1127, + "end": 1128, "loc": { "start": { - "line": 62, + "line": 69, "column": 21 }, "end": { - "line": 62, + "line": 69, "column": 22 } } @@ -6974,15 +6974,15 @@ "binop": null }, "value": "signifiers", - "start": 1001, - "end": 1011, + "start": 1134, + "end": 1144, "loc": { "start": { - "line": 63, + "line": 70, "column": 4 }, "end": { - "line": 63, + "line": 70, "column": 14 } } @@ -7000,15 +7000,15 @@ "binop": null, "updateContext": null }, - "start": 1011, - "end": 1012, + "start": 1144, + "end": 1145, "loc": { "start": { - "line": 63, + "line": 70, "column": 14 }, "end": { - "line": 63, + "line": 70, "column": 15 } } @@ -7026,15 +7026,15 @@ "binop": null, "updateContext": null }, - "start": 1013, - "end": 1014, + "start": 1146, + "end": 1147, "loc": { "start": { - "line": 63, + "line": 70, "column": 16 }, "end": { - "line": 63, + "line": 70, "column": 17 } } @@ -7053,15 +7053,15 @@ "updateContext": null }, "value": "dr", - "start": 1024, - "end": 1028, + "start": 1157, + "end": 1161, "loc": { "start": { - "line": 64, + "line": 71, "column": 8 }, "end": { - "line": 64, + "line": 71, "column": 12 } } @@ -7079,15 +7079,15 @@ "binop": null, "updateContext": null }, - "start": 1028, - "end": 1029, + "start": 1161, + "end": 1162, "loc": { "start": { - "line": 64, + "line": 71, "column": 12 }, "end": { - "line": 64, + "line": 71, "column": 13 } } @@ -7106,15 +7106,15 @@ "updateContext": null }, "value": "dram", - "start": 1039, - "end": 1045, + "start": 1172, + "end": 1178, "loc": { "start": { - "line": 65, + "line": 72, "column": 8 }, "end": { - "line": 65, + "line": 72, "column": 14 } } @@ -7132,15 +7132,15 @@ "binop": null, "updateContext": null }, - "start": 1045, - "end": 1046, + "start": 1178, + "end": 1179, "loc": { "start": { - "line": 65, + "line": 72, "column": 14 }, "end": { - "line": 65, + "line": 72, "column": 15 } } @@ -7159,15 +7159,15 @@ "updateContext": null }, "value": "drams", - "start": 1056, - "end": 1063, + "start": 1189, + "end": 1196, "loc": { "start": { - "line": 66, + "line": 73, "column": 8 }, "end": { - "line": 66, + "line": 73, "column": 15 } } @@ -7185,15 +7185,15 @@ "binop": null, "updateContext": null }, - "start": 1063, - "end": 1064, + "start": 1196, + "end": 1197, "loc": { "start": { - "line": 66, + "line": 73, "column": 15 }, "end": { - "line": 66, + "line": 73, "column": 16 } } @@ -7212,15 +7212,15 @@ "updateContext": null }, "value": "drachm", - "start": 1074, - "end": 1082, + "start": 1207, + "end": 1215, "loc": { "start": { - "line": 67, + "line": 74, "column": 8 }, "end": { - "line": 67, + "line": 74, "column": 16 } } @@ -7238,15 +7238,15 @@ "binop": null, "updateContext": null }, - "start": 1082, - "end": 1083, + "start": 1215, + "end": 1216, "loc": { "start": { - "line": 67, + "line": 74, "column": 16 }, "end": { - "line": 67, + "line": 74, "column": 17 } } @@ -7265,15 +7265,15 @@ "updateContext": null }, "value": "drachms", - "start": 1093, - "end": 1102, + "start": 1226, + "end": 1235, "loc": { "start": { - "line": 68, + "line": 75, "column": 8 }, "end": { - "line": 68, + "line": 75, "column": 17 } } @@ -7291,15 +7291,15 @@ "binop": null, "updateContext": null }, - "start": 1108, - "end": 1109, + "start": 1241, + "end": 1242, "loc": { "start": { - "line": 69, + "line": 76, "column": 4 }, "end": { - "line": 69, + "line": 76, "column": 5 } } @@ -7316,15 +7316,15 @@ "postfix": false, "binop": null }, - "start": 1111, - "end": 1112, + "start": 1244, + "end": 1245, "loc": { "start": { - "line": 70, + "line": 77, "column": 0 }, "end": { - "line": 70, + "line": 77, "column": 1 } } @@ -7342,15 +7342,15 @@ "binop": null, "updateContext": null }, - "start": 1112, - "end": 1113, + "start": 1245, + "end": 1246, "loc": { "start": { - "line": 70, + "line": 77, "column": 1 }, "end": { - "line": 70, + "line": 77, "column": 2 } } @@ -7367,15 +7367,15 @@ "postfix": false, "binop": null }, - "start": 1113, - "end": 1114, + "start": 1246, + "end": 1247, "loc": { "start": { - "line": 70, + "line": 77, "column": 2 }, "end": { - "line": 70, + "line": 77, "column": 3 } } @@ -7393,15 +7393,15 @@ "binop": null }, "value": "name", - "start": 1120, - "end": 1124, + "start": 1253, + "end": 1257, "loc": { "start": { - "line": 71, + "line": 78, "column": 4 }, "end": { - "line": 71, + "line": 78, "column": 8 } } @@ -7419,15 +7419,15 @@ "binop": null, "updateContext": null }, - "start": 1124, - "end": 1125, + "start": 1257, + "end": 1258, "loc": { "start": { - "line": 71, + "line": 78, "column": 8 }, "end": { - "line": 71, + "line": 78, "column": 9 } } @@ -7446,15 +7446,15 @@ "updateContext": null }, "value": "grain", - "start": 1126, - "end": 1133, + "start": 1259, + "end": 1266, "loc": { "start": { - "line": 71, + "line": 78, "column": 10 }, "end": { - "line": 71, + "line": 78, "column": 17 } } @@ -7472,15 +7472,15 @@ "binop": null, "updateContext": null }, - "start": 1133, - "end": 1134, + "start": 1266, + "end": 1267, "loc": { "start": { - "line": 71, + "line": 78, "column": 17 }, "end": { - "line": 71, + "line": 78, "column": 18 } } @@ -7498,15 +7498,15 @@ "binop": null }, "value": "value", - "start": 1140, - "end": 1145, + "start": 1273, + "end": 1278, "loc": { "start": { - "line": 72, + "line": 79, "column": 4 }, "end": { - "line": 72, + "line": 79, "column": 9 } } @@ -7524,15 +7524,15 @@ "binop": null, "updateContext": null }, - "start": 1145, - "end": 1146, + "start": 1278, + "end": 1279, "loc": { "start": { - "line": 72, + "line": 79, "column": 9 }, "end": { - "line": 72, + "line": 79, "column": 10 } } @@ -7551,15 +7551,15 @@ "updateContext": null }, "value": 0.00014285714285714287, - "start": 1147, - "end": 1183, + "start": 1280, + "end": 1316, "loc": { "start": { - "line": 72, + "line": 79, "column": 11 }, "end": { - "line": 72, + "line": 79, "column": 47 } } @@ -7577,15 +7577,15 @@ "binop": null, "updateContext": null }, - "start": 1183, - "end": 1184, + "start": 1316, + "end": 1317, "loc": { "start": { - "line": 72, + "line": 79, "column": 47 }, "end": { - "line": 72, + "line": 79, "column": 48 } } @@ -7603,15 +7603,15 @@ "binop": null }, "value": "signifiers", - "start": 1190, - "end": 1200, + "start": 1323, + "end": 1333, "loc": { "start": { - "line": 73, + "line": 80, "column": 4 }, "end": { - "line": 73, + "line": 80, "column": 14 } } @@ -7629,15 +7629,15 @@ "binop": null, "updateContext": null }, - "start": 1200, - "end": 1201, + "start": 1333, + "end": 1334, "loc": { "start": { - "line": 73, + "line": 80, "column": 14 }, "end": { - "line": 73, + "line": 80, "column": 15 } } @@ -7655,15 +7655,15 @@ "binop": null, "updateContext": null }, - "start": 1202, - "end": 1203, + "start": 1335, + "end": 1336, "loc": { "start": { - "line": 73, + "line": 80, "column": 16 }, "end": { - "line": 73, + "line": 80, "column": 17 } } @@ -7682,15 +7682,15 @@ "updateContext": null }, "value": "gr", - "start": 1213, - "end": 1217, + "start": 1346, + "end": 1350, "loc": { "start": { - "line": 74, + "line": 81, "column": 8 }, "end": { - "line": 74, + "line": 81, "column": 12 } } @@ -7708,15 +7708,15 @@ "binop": null, "updateContext": null }, - "start": 1217, - "end": 1218, + "start": 1350, + "end": 1351, "loc": { "start": { - "line": 74, + "line": 81, "column": 12 }, "end": { - "line": 74, + "line": 81, "column": 13 } } @@ -7735,15 +7735,15 @@ "updateContext": null }, "value": "grain", - "start": 1228, - "end": 1235, + "start": 1361, + "end": 1368, "loc": { "start": { - "line": 75, + "line": 82, "column": 8 }, "end": { - "line": 75, + "line": 82, "column": 15 } } @@ -7761,15 +7761,15 @@ "binop": null, "updateContext": null }, - "start": 1235, - "end": 1236, + "start": 1368, + "end": 1369, "loc": { "start": { - "line": 75, + "line": 82, "column": 15 }, "end": { - "line": 75, + "line": 82, "column": 16 } } @@ -7788,15 +7788,15 @@ "updateContext": null }, "value": "grains", - "start": 1246, - "end": 1254, + "start": 1379, + "end": 1387, "loc": { "start": { - "line": 76, + "line": 83, "column": 8 }, "end": { - "line": 76, + "line": 83, "column": 16 } } @@ -7814,15 +7814,15 @@ "binop": null, "updateContext": null }, - "start": 1260, - "end": 1261, + "start": 1393, + "end": 1394, "loc": { "start": { - "line": 77, + "line": 84, "column": 4 }, "end": { - "line": 77, + "line": 84, "column": 5 } } @@ -7839,15 +7839,15 @@ "postfix": false, "binop": null }, - "start": 1263, - "end": 1264, + "start": 1396, + "end": 1397, "loc": { "start": { - "line": 78, + "line": 85, "column": 0 }, "end": { - "line": 78, + "line": 85, "column": 1 } } @@ -7865,15 +7865,15 @@ "binop": null, "updateContext": null }, - "start": 1264, - "end": 1265, + "start": 1397, + "end": 1398, "loc": { "start": { - "line": 78, + "line": 85, "column": 1 }, "end": { - "line": 78, + "line": 85, "column": 2 } } @@ -7890,15 +7890,15 @@ "postfix": false, "binop": null }, - "start": 1265, - "end": 1266, + "start": 1398, + "end": 1399, "loc": { "start": { - "line": 78, + "line": 85, "column": 2 }, "end": { - "line": 78, + "line": 85, "column": 3 } } @@ -7916,15 +7916,15 @@ "binop": null, "updateContext": null }, - "start": 1266, - "end": 1267, + "start": 1399, + "end": 1400, "loc": { "start": { - "line": 78, + "line": 85, "column": 3 }, "end": { - "line": 78, + "line": 85, "column": 4 } } @@ -7944,15 +7944,15 @@ "updateContext": null }, "value": "export", - "start": 1271, - "end": 1277, + "start": 1404, + "end": 1410, "loc": { "start": { - "line": 80, + "line": 87, "column": 0 }, "end": { - "line": 80, + "line": 87, "column": 6 } } @@ -7972,15 +7972,15 @@ "updateContext": null }, "value": "default", - "start": 1278, - "end": 1285, + "start": 1411, + "end": 1418, "loc": { "start": { - "line": 80, + "line": 87, "column": 7 }, "end": { - "line": 80, + "line": 87, "column": 14 } } @@ -7998,15 +7998,15 @@ "binop": null }, "value": "Mass", - "start": 1286, - "end": 1290, + "start": 1419, + "end": 1423, "loc": { "start": { - "line": 80, + "line": 87, "column": 15 }, "end": { - "line": 80, + "line": 87, "column": 19 } } @@ -8024,15 +8024,15 @@ "binop": null, "updateContext": null }, - "start": 1290, - "end": 1291, + "start": 1423, + "end": 1424, "loc": { "start": { - "line": 80, + "line": 87, "column": 19 }, "end": { - "line": 80, + "line": 87, "column": 20 } } @@ -8050,15 +8050,15 @@ "binop": null, "updateContext": null }, - "start": 1291, - "end": 1291, + "start": 1424, + "end": 1424, "loc": { "start": { - "line": 80, + "line": 87, "column": 20 }, "end": { - "line": 80, + "line": 87, "column": 20 } } diff --git a/docs/ast/source/Mass_US.js.json b/docs/ast/source/Mass_US.js.json index 349485c..8840f36 100644 --- a/docs/ast/source/Mass_US.js.json +++ b/docs/ast/source/Mass_US.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1134, + "end": 1273, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 70, + "line": 77, "column": 20 } }, "program": { "type": "Program", "start": 0, - "end": 1134, + "end": 1273, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 70, + "line": 77, "column": 20 } }, @@ -30,63 +30,65 @@ "body": [ { "type": "ImportDeclaration", - "start": 0, - "end": 30, + "start": 157, + "end": 187, "loc": { "start": { - "line": 1, + "line": 9, "column": 0 }, "end": { - "line": 1, + "line": 9, "column": 30 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 7, - "end": 13, + "start": 164, + "end": 170, "loc": { "start": { - "line": 1, + "line": 9, "column": 7 }, "end": { - "line": 1, + "line": 9, "column": 13 } }, "local": { "type": "Identifier", - "start": 7, - "end": 13, + "start": 164, + "end": 170, "loc": { "start": { - "line": 1, + "line": 9, "column": 7 }, "end": { - "line": 1, + "line": 9, "column": 13 }, "identifierName": "MassJS" }, - "name": "MassJS" - } + "name": "MassJS", + "leadingComments": null + }, + "leadingComments": null } ], "source": { "type": "StringLiteral", - "start": 19, - "end": 29, + "start": 176, + "end": 186, "loc": { "start": { - "line": 1, + "line": 9, "column": 19 }, "end": { - "line": 1, + "line": 9, "column": 29 } }, @@ -96,20 +98,20 @@ }, "value": "./MassJS" }, - "trailingComments": [ + "leadingComments": [ { - "type": "CommentLine", - "value": " US Mass units", - "start": 34, - "end": 50, + "type": "CommentBlock", + "value": "* \r\n * Entry-point containing U.S. customary units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.1\r\n ", + "start": 0, + "end": 153, "loc": { "start": { - "line": 3, + "line": 1, "column": 0 }, "end": { - "line": 3, - "column": 16 + "line": 7, + "column": 3 } } } @@ -117,76 +119,75 @@ }, { "type": "Identifier", - "start": 52, - "end": 1110, + "start": 191, + "end": 1249, "loc": { "start": { - "line": 4, + "line": 11, "column": 0 }, "end": { - "line": 68, + "line": 75, "column": 4 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56, - "end": 1109, + "start": 195, + "end": 1248, "loc": { "start": { - "line": 4, + "line": 11, "column": 4 }, "end": { - "line": 68, + "line": 75, "column": 3 } }, "id": { "type": "Identifier", - "start": 56, - "end": 60, + "start": 195, + "end": 199, "loc": { "start": { - "line": 4, + "line": 11, "column": 4 }, "end": { - "line": 4, + "line": 11, "column": 8 }, "identifierName": "Mass" }, - "name": "Mass", - "leadingComments": null + "name": "Mass" }, "init": { "type": "NewExpression", - "start": 63, - "end": 1109, + "start": 202, + "end": 1248, "loc": { "start": { - "line": 4, + "line": 11, "column": 11 }, "end": { - "line": 68, + "line": 75, "column": 3 } }, "callee": { "type": "Identifier", - "start": 67, - "end": 73, + "start": 206, + "end": 212, "loc": { "start": { - "line": 4, + "line": 11, "column": 15 }, "end": { - "line": 4, + "line": 11, "column": 21 }, "identifierName": "MassJS" @@ -196,45 +197,45 @@ "arguments": [ { "type": "ArrayExpression", - "start": 74, - "end": 1108, + "start": 213, + "end": 1247, "loc": { "start": { - "line": 4, + "line": 11, "column": 22 }, "end": { - "line": 68, + "line": 75, "column": 2 } }, "elements": [ { "type": "ObjectExpression", - "start": 75, - "end": 280, + "start": 214, + "end": 419, "loc": { "start": { - "line": 4, + "line": 11, "column": 23 }, "end": { - "line": 17, + "line": 24, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 82, - "end": 93, + "start": 221, + "end": 232, "loc": { "start": { - "line": 5, + "line": 12, "column": 4 }, "end": { - "line": 5, + "line": 12, "column": 15 } }, @@ -243,15 +244,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 82, - "end": 86, + "start": 221, + "end": 225, "loc": { "start": { - "line": 5, + "line": 12, "column": 4 }, "end": { - "line": 5, + "line": 12, "column": 8 }, "identifierName": "name" @@ -260,15 +261,15 @@ }, "value": { "type": "StringLiteral", - "start": 88, - "end": 93, + "start": 227, + "end": 232, "loc": { "start": { - "line": 5, + "line": 12, "column": 10 }, "end": { - "line": 5, + "line": 12, "column": 15 } }, @@ -281,15 +282,15 @@ }, { "type": "ObjectProperty", - "start": 100, - "end": 111, + "start": 239, + "end": 250, "loc": { "start": { - "line": 6, + "line": 13, "column": 4 }, "end": { - "line": 6, + "line": 13, "column": 15 } }, @@ -298,15 +299,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 100, - "end": 105, + "start": 239, + "end": 244, "loc": { "start": { - "line": 6, + "line": 13, "column": 4 }, "end": { - "line": 6, + "line": 13, "column": 9 }, "identifierName": "value" @@ -315,15 +316,15 @@ }, "value": { "type": "NumericLiteral", - "start": 107, - "end": 111, + "start": 246, + "end": 250, "loc": { "start": { - "line": 6, + "line": 13, "column": 11 }, "end": { - "line": 6, + "line": 13, "column": 15 } }, @@ -336,15 +337,15 @@ }, { "type": "ObjectProperty", - "start": 118, - "end": 204, + "start": 257, + "end": 343, "loc": { "start": { - "line": 7, + "line": 14, "column": 4 }, "end": { - "line": 11, + "line": 18, "column": 5 } }, @@ -353,15 +354,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 118, - "end": 125, + "start": 257, + "end": 264, "loc": { "start": { - "line": 7, + "line": 14, "column": 4 }, "end": { - "line": 7, + "line": 14, "column": 11 }, "identifierName": "display" @@ -370,30 +371,30 @@ }, "value": { "type": "ObjectExpression", - "start": 127, - "end": 204, + "start": 266, + "end": 343, "loc": { "start": { - "line": 7, + "line": 14, "column": 13 }, "end": { - "line": 11, + "line": 18, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 138, - "end": 149, + "start": 277, + "end": 288, "loc": { "start": { - "line": 8, + "line": 15, "column": 8 }, "end": { - "line": 8, + "line": 15, "column": 19 } }, @@ -402,15 +403,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 138, - "end": 144, + "start": 277, + "end": 283, "loc": { "start": { - "line": 8, + "line": 15, "column": 8 }, "end": { - "line": 8, + "line": 15, "column": 14 }, "identifierName": "symbol" @@ -419,15 +420,15 @@ }, "value": { "type": "StringLiteral", - "start": 146, - "end": 149, + "start": 285, + "end": 288, "loc": { "start": { - "line": 8, + "line": 15, "column": 16 }, "end": { - "line": 8, + "line": 15, "column": 19 } }, @@ -440,15 +441,15 @@ }, { "type": "ObjectProperty", - "start": 160, - "end": 171, + "start": 299, + "end": 310, "loc": { "start": { - "line": 9, + "line": 16, "column": 8 }, "end": { - "line": 9, + "line": 16, "column": 19 } }, @@ -457,15 +458,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 160, - "end": 168, + "start": 299, + "end": 307, "loc": { "start": { - "line": 9, + "line": 16, "column": 8 }, "end": { - "line": 9, + "line": 16, "column": 16 }, "identifierName": "rounding" @@ -474,15 +475,15 @@ }, "value": { "type": "NumericLiteral", - "start": 170, - "end": 171, + "start": 309, + "end": 310, "loc": { "start": { - "line": 9, + "line": 16, "column": 18 }, "end": { - "line": 9, + "line": 16, "column": 19 } }, @@ -495,15 +496,15 @@ }, { "type": "ObjectProperty", - "start": 182, - "end": 197, + "start": 321, + "end": 336, "loc": { "start": { - "line": 10, + "line": 17, "column": 8 }, "end": { - "line": 10, + "line": 17, "column": 23 } }, @@ -512,15 +513,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 182, - "end": 191, + "start": 321, + "end": 330, "loc": { "start": { - "line": 10, + "line": 17, "column": 8 }, "end": { - "line": 10, + "line": 17, "column": 17 }, "identifierName": "exclusive" @@ -529,15 +530,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 193, - "end": 197, + "start": 332, + "end": 336, "loc": { "start": { - "line": 10, + "line": 17, "column": 19 }, "end": { - "line": 10, + "line": 17, "column": 23 } }, @@ -549,15 +550,15 @@ }, { "type": "ObjectProperty", - "start": 211, - "end": 277, + "start": 350, + "end": 416, "loc": { "start": { - "line": 12, + "line": 19, "column": 4 }, "end": { - "line": 16, + "line": 23, "column": 5 } }, @@ -566,15 +567,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 211, - "end": 221, + "start": 350, + "end": 360, "loc": { "start": { - "line": 12, + "line": 19, "column": 4 }, "end": { - "line": 12, + "line": 19, "column": 14 }, "identifierName": "signifiers" @@ -583,30 +584,30 @@ }, "value": { "type": "ArrayExpression", - "start": 223, - "end": 277, + "start": 362, + "end": 416, "loc": { "start": { - "line": 12, + "line": 19, "column": 16 }, "end": { - "line": 16, + "line": 23, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 234, - "end": 237, + "start": 373, + "end": 376, "loc": { "start": { - "line": 13, + "line": 20, "column": 8 }, "end": { - "line": 13, + "line": 20, "column": 11 } }, @@ -618,15 +619,15 @@ }, { "type": "StringLiteral", - "start": 248, - "end": 253, + "start": 387, + "end": 392, "loc": { "start": { - "line": 14, + "line": 21, "column": 8 }, "end": { - "line": 14, + "line": 21, "column": 13 } }, @@ -638,15 +639,15 @@ }, { "type": "StringLiteral", - "start": 264, - "end": 270, + "start": 403, + "end": 409, "loc": { "start": { - "line": 15, + "line": 22, "column": 8 }, "end": { - "line": 15, + "line": 22, "column": 14 } }, @@ -663,30 +664,30 @@ }, { "type": "ObjectExpression", - "start": 281, - "end": 397, + "start": 420, + "end": 536, "loc": { "start": { - "line": 17, + "line": 24, "column": 2 }, "end": { - "line": 24, + "line": 31, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 288, - "end": 309, + "start": 427, + "end": 448, "loc": { "start": { - "line": 18, + "line": 25, "column": 4 }, "end": { - "line": 18, + "line": 25, "column": 25 } }, @@ -695,15 +696,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 288, - "end": 292, + "start": 427, + "end": 431, "loc": { "start": { - "line": 18, + "line": 25, "column": 4 }, "end": { - "line": 18, + "line": 25, "column": 8 }, "identifierName": "name" @@ -712,15 +713,15 @@ }, "value": { "type": "StringLiteral", - "start": 294, - "end": 309, + "start": 433, + "end": 448, "loc": { "start": { - "line": 18, + "line": 25, "column": 10 }, "end": { - "line": 18, + "line": 25, "column": 25 } }, @@ -733,15 +734,15 @@ }, { "type": "ObjectProperty", - "start": 316, - "end": 326, + "start": 455, + "end": 465, "loc": { "start": { - "line": 19, + "line": 26, "column": 4 }, "end": { - "line": 19, + "line": 26, "column": 14 } }, @@ -750,15 +751,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 316, - "end": 321, + "start": 455, + "end": 460, "loc": { "start": { - "line": 19, + "line": 26, "column": 4 }, "end": { - "line": 19, + "line": 26, "column": 9 }, "identifierName": "value" @@ -767,15 +768,15 @@ }, "value": { "type": "NumericLiteral", - "start": 323, - "end": 326, + "start": 462, + "end": 465, "loc": { "start": { - "line": 19, + "line": 26, "column": 11 }, "end": { - "line": 19, + "line": 26, "column": 14 } }, @@ -788,15 +789,15 @@ }, { "type": "ObjectProperty", - "start": 333, - "end": 394, + "start": 472, + "end": 533, "loc": { "start": { - "line": 20, + "line": 27, "column": 4 }, "end": { - "line": 23, + "line": 30, "column": 5 } }, @@ -805,15 +806,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 333, - "end": 343, + "start": 472, + "end": 482, "loc": { "start": { - "line": 20, + "line": 27, "column": 4 }, "end": { - "line": 20, + "line": 27, "column": 14 }, "identifierName": "signifiers" @@ -822,30 +823,30 @@ }, "value": { "type": "ArrayExpression", - "start": 345, - "end": 394, + "start": 484, + "end": 533, "loc": { "start": { - "line": 20, + "line": 27, "column": 16 }, "end": { - "line": 23, + "line": 30, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 356, - "end": 361, + "start": 495, + "end": 500, "loc": { "start": { - "line": 21, + "line": 28, "column": 8 }, "end": { - "line": 21, + "line": 28, "column": 13 } }, @@ -857,15 +858,15 @@ }, { "type": "StringLiteral", - "start": 372, - "end": 387, + "start": 511, + "end": 526, "loc": { "start": { - "line": 22, + "line": 29, "column": 8 }, "end": { - "line": 22, + "line": 29, "column": 23 } }, @@ -882,30 +883,30 @@ }, { "type": "ObjectExpression", - "start": 398, - "end": 537, + "start": 537, + "end": 676, "loc": { "start": { - "line": 24, + "line": 31, "column": 2 }, "end": { - "line": 33, + "line": 40, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 405, - "end": 420, + "start": 544, + "end": 559, "loc": { "start": { - "line": 25, + "line": 32, "column": 4 }, "end": { - "line": 25, + "line": 32, "column": 19 } }, @@ -914,15 +915,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 405, - "end": 409, + "start": 544, + "end": 548, "loc": { "start": { - "line": 25, + "line": 32, "column": 4 }, "end": { - "line": 25, + "line": 32, "column": 8 }, "identifierName": "name" @@ -931,15 +932,15 @@ }, "value": { "type": "StringLiteral", - "start": 411, - "end": 420, + "start": 550, + "end": 559, "loc": { "start": { - "line": 25, + "line": 32, "column": 10 }, "end": { - "line": 25, + "line": 32, "column": 19 } }, @@ -952,15 +953,15 @@ }, { "type": "ObjectProperty", - "start": 427, - "end": 436, + "start": 566, + "end": 575, "loc": { "start": { - "line": 26, + "line": 33, "column": 4 }, "end": { - "line": 26, + "line": 33, "column": 13 } }, @@ -969,15 +970,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 427, - "end": 432, + "start": 566, + "end": 571, "loc": { "start": { - "line": 26, + "line": 33, "column": 4 }, "end": { - "line": 26, + "line": 33, "column": 9 }, "identifierName": "value" @@ -986,15 +987,15 @@ }, "value": { "type": "NumericLiteral", - "start": 434, - "end": 436, + "start": 573, + "end": 575, "loc": { "start": { - "line": 26, + "line": 33, "column": 11 }, "end": { - "line": 26, + "line": 33, "column": 13 } }, @@ -1007,15 +1008,15 @@ }, { "type": "ObjectProperty", - "start": 443, - "end": 534, + "start": 582, + "end": 673, "loc": { "start": { - "line": 27, + "line": 34, "column": 4 }, "end": { - "line": 32, + "line": 39, "column": 5 } }, @@ -1024,15 +1025,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 443, - "end": 453, + "start": 582, + "end": 592, "loc": { "start": { - "line": 27, + "line": 34, "column": 4 }, "end": { - "line": 27, + "line": 34, "column": 14 }, "identifierName": "signifiers" @@ -1041,30 +1042,30 @@ }, "value": { "type": "ArrayExpression", - "start": 455, - "end": 534, + "start": 594, + "end": 673, "loc": { "start": { - "line": 27, + "line": 34, "column": 16 }, "end": { - "line": 32, + "line": 39, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 466, - "end": 470, + "start": 605, + "end": 609, "loc": { "start": { - "line": 28, + "line": 35, "column": 8 }, "end": { - "line": 28, + "line": 35, "column": 12 } }, @@ -1076,15 +1077,15 @@ }, { "type": "StringLiteral", - "start": 481, - "end": 486, + "start": 620, + "end": 625, "loc": { "start": { - "line": 29, + "line": 36, "column": 8 }, "end": { - "line": 29, + "line": 36, "column": 13 } }, @@ -1096,15 +1097,15 @@ }, { "type": "StringLiteral", - "start": 497, - "end": 506, + "start": 636, + "end": 645, "loc": { "start": { - "line": 30, + "line": 37, "column": 8 }, "end": { - "line": 30, + "line": 37, "column": 17 } }, @@ -1116,15 +1117,15 @@ }, { "type": "StringLiteral", - "start": 517, - "end": 527, + "start": 656, + "end": 666, "loc": { "start": { - "line": 31, + "line": 38, "column": 8 }, "end": { - "line": 31, + "line": 38, "column": 18 } }, @@ -1141,30 +1142,30 @@ }, { "type": "ObjectExpression", - "start": 538, - "end": 690, + "start": 677, + "end": 829, "loc": { "start": { - "line": 33, + "line": 40, "column": 2 }, "end": { - "line": 43, + "line": 50, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 545, - "end": 558, + "start": 684, + "end": 697, "loc": { "start": { - "line": 34, + "line": 41, "column": 4 }, "end": { - "line": 34, + "line": 41, "column": 17 } }, @@ -1173,15 +1174,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 545, - "end": 549, + "start": 684, + "end": 688, "loc": { "start": { - "line": 34, + "line": 41, "column": 4 }, "end": { - "line": 34, + "line": 41, "column": 8 }, "identifierName": "name" @@ -1190,15 +1191,15 @@ }, "value": { "type": "StringLiteral", - "start": 551, - "end": 558, + "start": 690, + "end": 697, "loc": { "start": { - "line": 34, + "line": 41, "column": 10 }, "end": { - "line": 34, + "line": 41, "column": 17 } }, @@ -1211,15 +1212,15 @@ }, { "type": "ObjectProperty", - "start": 565, - "end": 573, + "start": 704, + "end": 712, "loc": { "start": { - "line": 35, + "line": 42, "column": 4 }, "end": { - "line": 35, + "line": 42, "column": 12 } }, @@ -1228,15 +1229,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 565, - "end": 570, + "start": 704, + "end": 709, "loc": { "start": { - "line": 35, + "line": 42, "column": 4 }, "end": { - "line": 35, + "line": 42, "column": 9 }, "identifierName": "value" @@ -1245,15 +1246,15 @@ }, "value": { "type": "NumericLiteral", - "start": 572, - "end": 573, + "start": 711, + "end": 712, "loc": { "start": { - "line": 35, + "line": 42, "column": 11 }, "end": { - "line": 35, + "line": 42, "column": 12 } }, @@ -1266,15 +1267,15 @@ }, { "type": "ObjectProperty", - "start": 580, - "end": 593, + "start": 719, + "end": 732, "loc": { "start": { - "line": 36, + "line": 43, "column": 4 }, "end": { - "line": 36, + "line": 43, "column": 17 } }, @@ -1283,15 +1284,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 580, - "end": 587, + "start": 719, + "end": 726, "loc": { "start": { - "line": 36, + "line": 43, "column": 4 }, "end": { - "line": 36, + "line": 43, "column": 11 }, "identifierName": "display" @@ -1300,15 +1301,15 @@ }, "value": { "type": "StringLiteral", - "start": 589, - "end": 593, + "start": 728, + "end": 732, "loc": { "start": { - "line": 36, + "line": 43, "column": 13 }, "end": { - "line": 36, + "line": 43, "column": 17 } }, @@ -1321,15 +1322,15 @@ }, { "type": "ObjectProperty", - "start": 600, - "end": 687, + "start": 739, + "end": 826, "loc": { "start": { - "line": 37, + "line": 44, "column": 4 }, "end": { - "line": 42, + "line": 49, "column": 5 } }, @@ -1338,15 +1339,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 600, - "end": 610, + "start": 739, + "end": 749, "loc": { "start": { - "line": 37, + "line": 44, "column": 4 }, "end": { - "line": 37, + "line": 44, "column": 14 }, "identifierName": "signifiers" @@ -1355,30 +1356,30 @@ }, "value": { "type": "ArrayExpression", - "start": 612, - "end": 687, + "start": 751, + "end": 826, "loc": { "start": { - "line": 37, + "line": 44, "column": 16 }, "end": { - "line": 42, + "line": 49, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 623, - "end": 627, + "start": 762, + "end": 766, "loc": { "start": { - "line": 38, + "line": 45, "column": 8 }, "end": { - "line": 38, + "line": 45, "column": 12 } }, @@ -1390,15 +1391,15 @@ }, { "type": "StringLiteral", - "start": 638, - "end": 643, + "start": 777, + "end": 782, "loc": { "start": { - "line": 39, + "line": 46, "column": 8 }, "end": { - "line": 39, + "line": 46, "column": 13 } }, @@ -1410,15 +1411,15 @@ }, { "type": "StringLiteral", - "start": 654, - "end": 661, + "start": 793, + "end": 800, "loc": { "start": { - "line": 40, + "line": 47, "column": 8 }, "end": { - "line": 40, + "line": 47, "column": 15 } }, @@ -1430,15 +1431,15 @@ }, { "type": "StringLiteral", - "start": 672, - "end": 680, + "start": 811, + "end": 819, "loc": { "start": { - "line": 41, + "line": 48, "column": 8 }, "end": { - "line": 41, + "line": 48, "column": 16 } }, @@ -1455,30 +1456,30 @@ }, { "type": "ObjectExpression", - "start": 691, - "end": 832, + "start": 830, + "end": 971, "loc": { "start": { - "line": 43, + "line": 50, "column": 2 }, "end": { - "line": 52, + "line": 59, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 698, - "end": 711, + "start": 837, + "end": 850, "loc": { "start": { - "line": 44, + "line": 51, "column": 4 }, "end": { - "line": 44, + "line": 51, "column": 17 } }, @@ -1487,15 +1488,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 698, - "end": 702, + "start": 837, + "end": 841, "loc": { "start": { - "line": 44, + "line": 51, "column": 4 }, "end": { - "line": 44, + "line": 51, "column": 8 }, "identifierName": "name" @@ -1504,15 +1505,15 @@ }, "value": { "type": "StringLiteral", - "start": 704, - "end": 711, + "start": 843, + "end": 850, "loc": { "start": { - "line": 44, + "line": 51, "column": 10 }, "end": { - "line": 44, + "line": 51, "column": 17 } }, @@ -1525,15 +1526,15 @@ }, { "type": "ObjectProperty", - "start": 718, - "end": 731, + "start": 857, + "end": 870, "loc": { "start": { - "line": 45, + "line": 52, "column": 4 }, "end": { - "line": 45, + "line": 52, "column": 17 } }, @@ -1542,15 +1543,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 718, - "end": 723, + "start": 857, + "end": 862, "loc": { "start": { - "line": 45, + "line": 52, "column": 4 }, "end": { - "line": 45, + "line": 52, "column": 9 }, "identifierName": "value" @@ -1559,15 +1560,15 @@ }, "value": { "type": "NumericLiteral", - "start": 725, - "end": 731, + "start": 864, + "end": 870, "loc": { "start": { - "line": 45, + "line": 52, "column": 11 }, "end": { - "line": 45, + "line": 52, "column": 17 } }, @@ -1580,15 +1581,15 @@ }, { "type": "ObjectProperty", - "start": 738, - "end": 751, + "start": 877, + "end": 890, "loc": { "start": { - "line": 46, + "line": 53, "column": 4 }, "end": { - "line": 46, + "line": 53, "column": 17 } }, @@ -1597,15 +1598,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 738, - "end": 745, + "start": 877, + "end": 884, "loc": { "start": { - "line": 46, + "line": 53, "column": 4 }, "end": { - "line": 46, + "line": 53, "column": 11 }, "identifierName": "display" @@ -1614,15 +1615,15 @@ }, "value": { "type": "StringLiteral", - "start": 747, - "end": 751, + "start": 886, + "end": 890, "loc": { "start": { - "line": 46, + "line": 53, "column": 13 }, "end": { - "line": 46, + "line": 53, "column": 17 } }, @@ -1635,15 +1636,15 @@ }, { "type": "ObjectProperty", - "start": 758, - "end": 829, + "start": 897, + "end": 968, "loc": { "start": { - "line": 47, + "line": 54, "column": 4 }, "end": { - "line": 51, + "line": 58, "column": 5 } }, @@ -1652,15 +1653,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 758, - "end": 768, + "start": 897, + "end": 907, "loc": { "start": { - "line": 47, + "line": 54, "column": 4 }, "end": { - "line": 47, + "line": 54, "column": 14 }, "identifierName": "signifiers" @@ -1669,30 +1670,30 @@ }, "value": { "type": "ArrayExpression", - "start": 770, - "end": 829, + "start": 909, + "end": 968, "loc": { "start": { - "line": 47, + "line": 54, "column": 16 }, "end": { - "line": 51, + "line": 58, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 781, - "end": 785, + "start": 920, + "end": 924, "loc": { "start": { - "line": 48, + "line": 55, "column": 8 }, "end": { - "line": 48, + "line": 55, "column": 12 } }, @@ -1704,15 +1705,15 @@ }, { "type": "StringLiteral", - "start": 796, - "end": 803, + "start": 935, + "end": 942, "loc": { "start": { - "line": 49, + "line": 56, "column": 8 }, "end": { - "line": 49, + "line": 56, "column": 15 } }, @@ -1724,15 +1725,15 @@ }, { "type": "StringLiteral", - "start": 814, - "end": 822, + "start": 953, + "end": 961, "loc": { "start": { - "line": 50, + "line": 57, "column": 8 }, "end": { - "line": 50, + "line": 57, "column": 16 } }, @@ -1749,30 +1750,30 @@ }, { "type": "ObjectExpression", - "start": 833, - "end": 955, + "start": 972, + "end": 1094, "loc": { "start": { - "line": 52, + "line": 59, "column": 2 }, "end": { - "line": 60, + "line": 67, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 840, - "end": 852, + "start": 979, + "end": 991, "loc": { "start": { - "line": 53, + "line": 60, "column": 4 }, "end": { - "line": 53, + "line": 60, "column": 16 } }, @@ -1781,15 +1782,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 840, - "end": 844, + "start": 979, + "end": 983, "loc": { "start": { - "line": 53, + "line": 60, "column": 4 }, "end": { - "line": 53, + "line": 60, "column": 8 }, "identifierName": "name" @@ -1798,15 +1799,15 @@ }, "value": { "type": "StringLiteral", - "start": 846, - "end": 852, + "start": 985, + "end": 991, "loc": { "start": { - "line": 53, + "line": 60, "column": 10 }, "end": { - "line": 53, + "line": 60, "column": 16 } }, @@ -1819,15 +1820,15 @@ }, { "type": "ObjectProperty", - "start": 859, - "end": 876, + "start": 998, + "end": 1015, "loc": { "start": { - "line": 54, + "line": 61, "column": 4 }, "end": { - "line": 54, + "line": 61, "column": 21 } }, @@ -1836,15 +1837,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 859, - "end": 864, + "start": 998, + "end": 1003, "loc": { "start": { - "line": 54, + "line": 61, "column": 4 }, "end": { - "line": 54, + "line": 61, "column": 9 }, "identifierName": "value" @@ -1853,15 +1854,15 @@ }, "value": { "type": "NumericLiteral", - "start": 866, - "end": 876, + "start": 1005, + "end": 1015, "loc": { "start": { - "line": 54, + "line": 61, "column": 11 }, "end": { - "line": 54, + "line": 61, "column": 21 } }, @@ -1874,15 +1875,15 @@ }, { "type": "ObjectProperty", - "start": 883, - "end": 952, + "start": 1022, + "end": 1091, "loc": { "start": { - "line": 55, + "line": 62, "column": 4 }, "end": { - "line": 59, + "line": 66, "column": 5 } }, @@ -1891,15 +1892,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 883, - "end": 893, + "start": 1022, + "end": 1032, "loc": { "start": { - "line": 55, + "line": 62, "column": 4 }, "end": { - "line": 55, + "line": 62, "column": 14 }, "identifierName": "signifiers" @@ -1908,30 +1909,30 @@ }, "value": { "type": "ArrayExpression", - "start": 895, - "end": 952, + "start": 1034, + "end": 1091, "loc": { "start": { - "line": 55, + "line": 62, "column": 16 }, "end": { - "line": 59, + "line": 66, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 906, - "end": 910, + "start": 1045, + "end": 1049, "loc": { "start": { - "line": 56, + "line": 63, "column": 8 }, "end": { - "line": 56, + "line": 63, "column": 12 } }, @@ -1943,15 +1944,15 @@ }, { "type": "StringLiteral", - "start": 921, - "end": 927, + "start": 1060, + "end": 1066, "loc": { "start": { - "line": 57, + "line": 64, "column": 8 }, "end": { - "line": 57, + "line": 64, "column": 14 } }, @@ -1963,15 +1964,15 @@ }, { "type": "StringLiteral", - "start": 938, - "end": 945, + "start": 1077, + "end": 1084, "loc": { "start": { - "line": 58, + "line": 65, "column": 8 }, "end": { - "line": 58, + "line": 65, "column": 15 } }, @@ -1988,30 +1989,30 @@ }, { "type": "ObjectExpression", - "start": 956, - "end": 1107, + "start": 1095, + "end": 1246, "loc": { "start": { - "line": 60, + "line": 67, "column": 2 }, "end": { - "line": 68, + "line": 75, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 963, - "end": 976, + "start": 1102, + "end": 1115, "loc": { "start": { - "line": 61, + "line": 68, "column": 4 }, "end": { - "line": 61, + "line": 68, "column": 17 } }, @@ -2020,15 +2021,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 963, - "end": 967, + "start": 1102, + "end": 1106, "loc": { "start": { - "line": 61, + "line": 68, "column": 4 }, "end": { - "line": 61, + "line": 68, "column": 8 }, "identifierName": "name" @@ -2037,15 +2038,15 @@ }, "value": { "type": "StringLiteral", - "start": 969, - "end": 976, + "start": 1108, + "end": 1115, "loc": { "start": { - "line": 61, + "line": 68, "column": 10 }, "end": { - "line": 61, + "line": 68, "column": 17 } }, @@ -2058,15 +2059,15 @@ }, { "type": "ObjectProperty", - "start": 983, - "end": 1026, + "start": 1122, + "end": 1165, "loc": { "start": { - "line": 62, + "line": 69, "column": 4 }, "end": { - "line": 62, + "line": 69, "column": 47 } }, @@ -2075,15 +2076,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 983, - "end": 988, + "start": 1122, + "end": 1127, "loc": { "start": { - "line": 62, + "line": 69, "column": 4 }, "end": { - "line": 62, + "line": 69, "column": 9 }, "identifierName": "value" @@ -2092,15 +2093,15 @@ }, "value": { "type": "NumericLiteral", - "start": 990, - "end": 1026, + "start": 1129, + "end": 1165, "loc": { "start": { - "line": 62, + "line": 69, "column": 11 }, "end": { - "line": 62, + "line": 69, "column": 47 } }, @@ -2113,15 +2114,15 @@ }, { "type": "ObjectProperty", - "start": 1033, - "end": 1104, + "start": 1172, + "end": 1243, "loc": { "start": { - "line": 63, + "line": 70, "column": 4 }, "end": { - "line": 67, + "line": 74, "column": 5 } }, @@ -2130,15 +2131,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1033, - "end": 1043, + "start": 1172, + "end": 1182, "loc": { "start": { - "line": 63, + "line": 70, "column": 4 }, "end": { - "line": 63, + "line": 70, "column": 14 }, "identifierName": "signifiers" @@ -2147,30 +2148,30 @@ }, "value": { "type": "ArrayExpression", - "start": 1045, - "end": 1104, + "start": 1184, + "end": 1243, "loc": { "start": { - "line": 63, + "line": 70, "column": 16 }, "end": { - "line": 67, + "line": 74, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 1056, - "end": 1060, + "start": 1195, + "end": 1199, "loc": { "start": { - "line": 64, + "line": 71, "column": 8 }, "end": { - "line": 64, + "line": 71, "column": 12 } }, @@ -2182,15 +2183,15 @@ }, { "type": "StringLiteral", - "start": 1071, - "end": 1078, + "start": 1210, + "end": 1217, "loc": { "start": { - "line": 65, + "line": 72, "column": 8 }, "end": { - "line": 65, + "line": 72, "column": 15 } }, @@ -2202,15 +2203,15 @@ }, { "type": "StringLiteral", - "start": 1089, - "end": 1097, + "start": 1228, + "end": 1236, "loc": { "start": { - "line": 66, + "line": 73, "column": 8 }, "end": { - "line": 66, + "line": 73, "column": 16 } }, @@ -2228,40 +2229,39 @@ ] } ] - }, - "leadingComments": null + } } ], "kind": "var", - "leadingComments": [], "name": "_", + "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", - "start": 1114, - "end": 1134, + "start": 1253, + "end": 1273, "loc": { "start": { - "line": 70, + "line": 77, "column": 0 }, "end": { - "line": 70, + "line": 77, "column": 20 } }, "declaration": { "type": "Identifier", - "start": 1129, - "end": 1133, + "start": 1268, + "end": 1272, "loc": { "start": { - "line": 70, + "line": 77, "column": 15 }, "end": { - "line": 70, + "line": 77, "column": 19 }, "identifierName": "Mass" @@ -2276,23 +2276,39 @@ }, "comments": [ { - "type": "CommentLine", - "value": " US Mass units", - "start": 34, - "end": 50, + "type": "CommentBlock", + "value": "* \r\n * Entry-point containing U.S. customary units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.1\r\n ", + "start": 0, + "end": 153, "loc": { "start": { - "line": 3, + "line": 1, "column": 0 }, "end": { - "line": 3, - "column": 16 + "line": 7, + "column": 3 } } } ], "tokens": [ + { + "type": "CommentBlock", + "value": "* \r\n * Entry-point containing U.S. customary units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.1\r\n ", + "start": 0, + "end": 153, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, { "type": { "label": "import", @@ -2308,15 +2324,15 @@ "updateContext": null }, "value": "import", - "start": 0, - "end": 6, + "start": 157, + "end": 163, "loc": { "start": { - "line": 1, + "line": 9, "column": 0 }, "end": { - "line": 1, + "line": 9, "column": 6 } } @@ -2334,15 +2350,15 @@ "binop": null }, "value": "MassJS", - "start": 7, - "end": 13, + "start": 164, + "end": 170, "loc": { "start": { - "line": 1, + "line": 9, "column": 7 }, "end": { - "line": 1, + "line": 9, "column": 13 } } @@ -2360,15 +2376,15 @@ "binop": null }, "value": "from", - "start": 14, - "end": 18, + "start": 171, + "end": 175, "loc": { "start": { - "line": 1, + "line": 9, "column": 14 }, "end": { - "line": 1, + "line": 9, "column": 18 } } @@ -2387,15 +2403,15 @@ "updateContext": null }, "value": "./MassJS", - "start": 19, - "end": 29, + "start": 176, + "end": 186, "loc": { "start": { - "line": 1, + "line": 9, "column": 19 }, "end": { - "line": 1, + "line": 9, "column": 29 } } @@ -2413,35 +2429,19 @@ "binop": null, "updateContext": null }, - "start": 29, - "end": 30, + "start": 186, + "end": 187, "loc": { "start": { - "line": 1, + "line": 9, "column": 29 }, "end": { - "line": 1, + "line": 9, "column": 30 } } }, - { - "type": "CommentLine", - "value": " US Mass units", - "start": 34, - "end": 50, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, { "type": { "label": "var", @@ -2457,15 +2457,15 @@ "updateContext": null }, "value": "var", - "start": 52, - "end": 55, + "start": 191, + "end": 194, "loc": { "start": { - "line": 4, + "line": 11, "column": 0 }, "end": { - "line": 4, + "line": 11, "column": 3 } } @@ -2483,15 +2483,15 @@ "binop": null }, "value": "Mass", - "start": 56, - "end": 60, + "start": 195, + "end": 199, "loc": { "start": { - "line": 4, + "line": 11, "column": 4 }, "end": { - "line": 4, + "line": 11, "column": 8 } } @@ -2510,15 +2510,15 @@ "updateContext": null }, "value": "=", - "start": 61, - "end": 62, + "start": 200, + "end": 201, "loc": { "start": { - "line": 4, + "line": 11, "column": 9 }, "end": { - "line": 4, + "line": 11, "column": 10 } } @@ -2538,15 +2538,15 @@ "updateContext": null }, "value": "new", - "start": 63, - "end": 66, + "start": 202, + "end": 205, "loc": { "start": { - "line": 4, + "line": 11, "column": 11 }, "end": { - "line": 4, + "line": 11, "column": 14 } } @@ -2564,15 +2564,15 @@ "binop": null }, "value": "MassJS", - "start": 67, - "end": 73, + "start": 206, + "end": 212, "loc": { "start": { - "line": 4, + "line": 11, "column": 15 }, "end": { - "line": 4, + "line": 11, "column": 21 } } @@ -2589,15 +2589,15 @@ "postfix": false, "binop": null }, - "start": 73, - "end": 74, + "start": 212, + "end": 213, "loc": { "start": { - "line": 4, + "line": 11, "column": 21 }, "end": { - "line": 4, + "line": 11, "column": 22 } } @@ -2615,15 +2615,15 @@ "binop": null, "updateContext": null }, - "start": 74, - "end": 75, + "start": 213, + "end": 214, "loc": { "start": { - "line": 4, + "line": 11, "column": 22 }, "end": { - "line": 4, + "line": 11, "column": 23 } } @@ -2640,15 +2640,15 @@ "postfix": false, "binop": null }, - "start": 75, - "end": 76, + "start": 214, + "end": 215, "loc": { "start": { - "line": 4, + "line": 11, "column": 23 }, "end": { - "line": 4, + "line": 11, "column": 24 } } @@ -2666,15 +2666,15 @@ "binop": null }, "value": "name", - "start": 82, - "end": 86, + "start": 221, + "end": 225, "loc": { "start": { - "line": 5, + "line": 12, "column": 4 }, "end": { - "line": 5, + "line": 12, "column": 8 } } @@ -2692,15 +2692,15 @@ "binop": null, "updateContext": null }, - "start": 86, - "end": 87, + "start": 225, + "end": 226, "loc": { "start": { - "line": 5, + "line": 12, "column": 8 }, "end": { - "line": 5, + "line": 12, "column": 9 } } @@ -2719,15 +2719,15 @@ "updateContext": null }, "value": "ton", - "start": 88, - "end": 93, + "start": 227, + "end": 232, "loc": { "start": { - "line": 5, + "line": 12, "column": 10 }, "end": { - "line": 5, + "line": 12, "column": 15 } } @@ -2745,15 +2745,15 @@ "binop": null, "updateContext": null }, - "start": 93, - "end": 94, + "start": 232, + "end": 233, "loc": { "start": { - "line": 5, + "line": 12, "column": 15 }, "end": { - "line": 5, + "line": 12, "column": 16 } } @@ -2771,15 +2771,15 @@ "binop": null }, "value": "value", - "start": 100, - "end": 105, + "start": 239, + "end": 244, "loc": { "start": { - "line": 6, + "line": 13, "column": 4 }, "end": { - "line": 6, + "line": 13, "column": 9 } } @@ -2797,15 +2797,15 @@ "binop": null, "updateContext": null }, - "start": 105, - "end": 106, + "start": 244, + "end": 245, "loc": { "start": { - "line": 6, + "line": 13, "column": 9 }, "end": { - "line": 6, + "line": 13, "column": 10 } } @@ -2824,15 +2824,15 @@ "updateContext": null }, "value": 2000, - "start": 107, - "end": 111, + "start": 246, + "end": 250, "loc": { "start": { - "line": 6, + "line": 13, "column": 11 }, "end": { - "line": 6, + "line": 13, "column": 15 } } @@ -2850,15 +2850,15 @@ "binop": null, "updateContext": null }, - "start": 111, - "end": 112, + "start": 250, + "end": 251, "loc": { "start": { - "line": 6, + "line": 13, "column": 15 }, "end": { - "line": 6, + "line": 13, "column": 16 } } @@ -2876,15 +2876,15 @@ "binop": null }, "value": "display", - "start": 118, - "end": 125, + "start": 257, + "end": 264, "loc": { "start": { - "line": 7, + "line": 14, "column": 4 }, "end": { - "line": 7, + "line": 14, "column": 11 } } @@ -2902,15 +2902,15 @@ "binop": null, "updateContext": null }, - "start": 125, - "end": 126, + "start": 264, + "end": 265, "loc": { "start": { - "line": 7, + "line": 14, "column": 11 }, "end": { - "line": 7, + "line": 14, "column": 12 } } @@ -2927,15 +2927,15 @@ "postfix": false, "binop": null }, - "start": 127, - "end": 128, + "start": 266, + "end": 267, "loc": { "start": { - "line": 7, + "line": 14, "column": 13 }, "end": { - "line": 7, + "line": 14, "column": 14 } } @@ -2953,15 +2953,15 @@ "binop": null }, "value": "symbol", - "start": 138, - "end": 144, + "start": 277, + "end": 283, "loc": { "start": { - "line": 8, + "line": 15, "column": 8 }, "end": { - "line": 8, + "line": 15, "column": 14 } } @@ -2979,15 +2979,15 @@ "binop": null, "updateContext": null }, - "start": 144, - "end": 145, + "start": 283, + "end": 284, "loc": { "start": { - "line": 8, + "line": 15, "column": 14 }, "end": { - "line": 8, + "line": 15, "column": 15 } } @@ -3006,15 +3006,15 @@ "updateContext": null }, "value": "t", - "start": 146, - "end": 149, + "start": 285, + "end": 288, "loc": { "start": { - "line": 8, + "line": 15, "column": 16 }, "end": { - "line": 8, + "line": 15, "column": 19 } } @@ -3032,15 +3032,15 @@ "binop": null, "updateContext": null }, - "start": 149, - "end": 150, + "start": 288, + "end": 289, "loc": { "start": { - "line": 8, + "line": 15, "column": 19 }, "end": { - "line": 8, + "line": 15, "column": 20 } } @@ -3058,15 +3058,15 @@ "binop": null }, "value": "rounding", - "start": 160, - "end": 168, + "start": 299, + "end": 307, "loc": { "start": { - "line": 9, + "line": 16, "column": 8 }, "end": { - "line": 9, + "line": 16, "column": 16 } } @@ -3084,15 +3084,15 @@ "binop": null, "updateContext": null }, - "start": 168, - "end": 169, + "start": 307, + "end": 308, "loc": { "start": { - "line": 9, + "line": 16, "column": 16 }, "end": { - "line": 9, + "line": 16, "column": 17 } } @@ -3111,15 +3111,15 @@ "updateContext": null }, "value": 2, - "start": 170, - "end": 171, + "start": 309, + "end": 310, "loc": { "start": { - "line": 9, + "line": 16, "column": 18 }, "end": { - "line": 9, + "line": 16, "column": 19 } } @@ -3137,15 +3137,15 @@ "binop": null, "updateContext": null }, - "start": 171, - "end": 172, + "start": 310, + "end": 311, "loc": { "start": { - "line": 9, + "line": 16, "column": 19 }, "end": { - "line": 9, + "line": 16, "column": 20 } } @@ -3163,15 +3163,15 @@ "binop": null }, "value": "exclusive", - "start": 182, - "end": 191, + "start": 321, + "end": 330, "loc": { "start": { - "line": 10, + "line": 17, "column": 8 }, "end": { - "line": 10, + "line": 17, "column": 17 } } @@ -3189,15 +3189,15 @@ "binop": null, "updateContext": null }, - "start": 191, - "end": 192, + "start": 330, + "end": 331, "loc": { "start": { - "line": 10, + "line": 17, "column": 17 }, "end": { - "line": 10, + "line": 17, "column": 18 } } @@ -3217,15 +3217,15 @@ "updateContext": null }, "value": "true", - "start": 193, - "end": 197, + "start": 332, + "end": 336, "loc": { "start": { - "line": 10, + "line": 17, "column": 19 }, "end": { - "line": 10, + "line": 17, "column": 23 } } @@ -3242,15 +3242,15 @@ "postfix": false, "binop": null }, - "start": 203, - "end": 204, + "start": 342, + "end": 343, "loc": { "start": { - "line": 11, + "line": 18, "column": 4 }, "end": { - "line": 11, + "line": 18, "column": 5 } } @@ -3268,15 +3268,15 @@ "binop": null, "updateContext": null }, - "start": 204, - "end": 205, + "start": 343, + "end": 344, "loc": { "start": { - "line": 11, + "line": 18, "column": 5 }, "end": { - "line": 11, + "line": 18, "column": 6 } } @@ -3294,15 +3294,15 @@ "binop": null }, "value": "signifiers", - "start": 211, - "end": 221, + "start": 350, + "end": 360, "loc": { "start": { - "line": 12, + "line": 19, "column": 4 }, "end": { - "line": 12, + "line": 19, "column": 14 } } @@ -3320,15 +3320,15 @@ "binop": null, "updateContext": null }, - "start": 221, - "end": 222, + "start": 360, + "end": 361, "loc": { "start": { - "line": 12, + "line": 19, "column": 14 }, "end": { - "line": 12, + "line": 19, "column": 15 } } @@ -3346,15 +3346,15 @@ "binop": null, "updateContext": null }, - "start": 223, - "end": 224, + "start": 362, + "end": 363, "loc": { "start": { - "line": 12, + "line": 19, "column": 16 }, "end": { - "line": 12, + "line": 19, "column": 17 } } @@ -3373,15 +3373,15 @@ "updateContext": null }, "value": "t", - "start": 234, - "end": 237, + "start": 373, + "end": 376, "loc": { "start": { - "line": 13, + "line": 20, "column": 8 }, "end": { - "line": 13, + "line": 20, "column": 11 } } @@ -3399,15 +3399,15 @@ "binop": null, "updateContext": null }, - "start": 237, - "end": 238, + "start": 376, + "end": 377, "loc": { "start": { - "line": 13, + "line": 20, "column": 11 }, "end": { - "line": 13, + "line": 20, "column": 12 } } @@ -3426,15 +3426,15 @@ "updateContext": null }, "value": "ton", - "start": 248, - "end": 253, + "start": 387, + "end": 392, "loc": { "start": { - "line": 14, + "line": 21, "column": 8 }, "end": { - "line": 14, + "line": 21, "column": 13 } } @@ -3452,15 +3452,15 @@ "binop": null, "updateContext": null }, - "start": 253, - "end": 254, + "start": 392, + "end": 393, "loc": { "start": { - "line": 14, + "line": 21, "column": 13 }, "end": { - "line": 14, + "line": 21, "column": 14 } } @@ -3479,15 +3479,15 @@ "updateContext": null }, "value": "tons", - "start": 264, - "end": 270, + "start": 403, + "end": 409, "loc": { "start": { - "line": 15, + "line": 22, "column": 8 }, "end": { - "line": 15, + "line": 22, "column": 14 } } @@ -3505,15 +3505,15 @@ "binop": null, "updateContext": null }, - "start": 276, - "end": 277, + "start": 415, + "end": 416, "loc": { "start": { - "line": 16, + "line": 23, "column": 4 }, "end": { - "line": 16, + "line": 23, "column": 5 } } @@ -3530,15 +3530,15 @@ "postfix": false, "binop": null }, - "start": 279, - "end": 280, + "start": 418, + "end": 419, "loc": { "start": { - "line": 17, + "line": 24, "column": 0 }, "end": { - "line": 17, + "line": 24, "column": 1 } } @@ -3556,15 +3556,15 @@ "binop": null, "updateContext": null }, - "start": 280, - "end": 281, + "start": 419, + "end": 420, "loc": { "start": { - "line": 17, + "line": 24, "column": 1 }, "end": { - "line": 17, + "line": 24, "column": 2 } } @@ -3581,15 +3581,15 @@ "postfix": false, "binop": null }, - "start": 281, - "end": 282, + "start": 420, + "end": 421, "loc": { "start": { - "line": 17, + "line": 24, "column": 2 }, "end": { - "line": 17, + "line": 24, "column": 3 } } @@ -3607,15 +3607,15 @@ "binop": null }, "value": "name", - "start": 288, - "end": 292, + "start": 427, + "end": 431, "loc": { "start": { - "line": 18, + "line": 25, "column": 4 }, "end": { - "line": 18, + "line": 25, "column": 8 } } @@ -3633,15 +3633,15 @@ "binop": null, "updateContext": null }, - "start": 292, - "end": 293, + "start": 431, + "end": 432, "loc": { "start": { - "line": 18, + "line": 25, "column": 8 }, "end": { - "line": 18, + "line": 25, "column": 9 } } @@ -3660,15 +3660,15 @@ "updateContext": null }, "value": "hundredweight", - "start": 294, - "end": 309, + "start": 433, + "end": 448, "loc": { "start": { - "line": 18, + "line": 25, "column": 10 }, "end": { - "line": 18, + "line": 25, "column": 25 } } @@ -3686,15 +3686,15 @@ "binop": null, "updateContext": null }, - "start": 309, - "end": 310, + "start": 448, + "end": 449, "loc": { "start": { - "line": 18, + "line": 25, "column": 25 }, "end": { - "line": 18, + "line": 25, "column": 26 } } @@ -3712,15 +3712,15 @@ "binop": null }, "value": "value", - "start": 316, - "end": 321, + "start": 455, + "end": 460, "loc": { "start": { - "line": 19, + "line": 26, "column": 4 }, "end": { - "line": 19, + "line": 26, "column": 9 } } @@ -3738,15 +3738,15 @@ "binop": null, "updateContext": null }, - "start": 321, - "end": 322, + "start": 460, + "end": 461, "loc": { "start": { - "line": 19, + "line": 26, "column": 9 }, "end": { - "line": 19, + "line": 26, "column": 10 } } @@ -3765,15 +3765,15 @@ "updateContext": null }, "value": 100, - "start": 323, - "end": 326, + "start": 462, + "end": 465, "loc": { "start": { - "line": 19, + "line": 26, "column": 11 }, "end": { - "line": 19, + "line": 26, "column": 14 } } @@ -3791,15 +3791,15 @@ "binop": null, "updateContext": null }, - "start": 326, - "end": 327, + "start": 465, + "end": 466, "loc": { "start": { - "line": 19, + "line": 26, "column": 14 }, "end": { - "line": 19, + "line": 26, "column": 15 } } @@ -3817,15 +3817,15 @@ "binop": null }, "value": "signifiers", - "start": 333, - "end": 343, + "start": 472, + "end": 482, "loc": { "start": { - "line": 20, + "line": 27, "column": 4 }, "end": { - "line": 20, + "line": 27, "column": 14 } } @@ -3843,15 +3843,15 @@ "binop": null, "updateContext": null }, - "start": 343, - "end": 344, + "start": 482, + "end": 483, "loc": { "start": { - "line": 20, + "line": 27, "column": 14 }, "end": { - "line": 20, + "line": 27, "column": 15 } } @@ -3869,15 +3869,15 @@ "binop": null, "updateContext": null }, - "start": 345, - "end": 346, + "start": 484, + "end": 485, "loc": { "start": { - "line": 20, + "line": 27, "column": 16 }, "end": { - "line": 20, + "line": 27, "column": 17 } } @@ -3896,15 +3896,15 @@ "updateContext": null }, "value": "cwt", - "start": 356, - "end": 361, + "start": 495, + "end": 500, "loc": { "start": { - "line": 21, + "line": 28, "column": 8 }, "end": { - "line": 21, + "line": 28, "column": 13 } } @@ -3922,15 +3922,15 @@ "binop": null, "updateContext": null }, - "start": 361, - "end": 362, + "start": 500, + "end": 501, "loc": { "start": { - "line": 21, + "line": 28, "column": 13 }, "end": { - "line": 21, + "line": 28, "column": 14 } } @@ -3949,15 +3949,15 @@ "updateContext": null }, "value": "hundredweight", - "start": 372, - "end": 387, + "start": 511, + "end": 526, "loc": { "start": { - "line": 22, + "line": 29, "column": 8 }, "end": { - "line": 22, + "line": 29, "column": 23 } } @@ -3975,15 +3975,15 @@ "binop": null, "updateContext": null }, - "start": 393, - "end": 394, + "start": 532, + "end": 533, "loc": { "start": { - "line": 23, + "line": 30, "column": 4 }, "end": { - "line": 23, + "line": 30, "column": 5 } } @@ -4000,15 +4000,15 @@ "postfix": false, "binop": null }, - "start": 396, - "end": 397, + "start": 535, + "end": 536, "loc": { "start": { - "line": 24, + "line": 31, "column": 0 }, "end": { - "line": 24, + "line": 31, "column": 1 } } @@ -4026,15 +4026,15 @@ "binop": null, "updateContext": null }, - "start": 397, - "end": 398, + "start": 536, + "end": 537, "loc": { "start": { - "line": 24, + "line": 31, "column": 1 }, "end": { - "line": 24, + "line": 31, "column": 2 } } @@ -4051,15 +4051,15 @@ "postfix": false, "binop": null }, - "start": 398, - "end": 399, + "start": 537, + "end": 538, "loc": { "start": { - "line": 24, + "line": 31, "column": 2 }, "end": { - "line": 24, + "line": 31, "column": 3 } } @@ -4077,15 +4077,15 @@ "binop": null }, "value": "name", - "start": 405, - "end": 409, + "start": 544, + "end": 548, "loc": { "start": { - "line": 25, + "line": 32, "column": 4 }, "end": { - "line": 25, + "line": 32, "column": 8 } } @@ -4103,15 +4103,15 @@ "binop": null, "updateContext": null }, - "start": 409, - "end": 410, + "start": 548, + "end": 549, "loc": { "start": { - "line": 25, + "line": 32, "column": 8 }, "end": { - "line": 25, + "line": 32, "column": 9 } } @@ -4130,15 +4130,15 @@ "updateContext": null }, "value": "quarter", - "start": 411, - "end": 420, + "start": 550, + "end": 559, "loc": { "start": { - "line": 25, + "line": 32, "column": 10 }, "end": { - "line": 25, + "line": 32, "column": 19 } } @@ -4156,15 +4156,15 @@ "binop": null, "updateContext": null }, - "start": 420, - "end": 421, + "start": 559, + "end": 560, "loc": { "start": { - "line": 25, + "line": 32, "column": 19 }, "end": { - "line": 25, + "line": 32, "column": 20 } } @@ -4182,15 +4182,15 @@ "binop": null }, "value": "value", - "start": 427, - "end": 432, + "start": 566, + "end": 571, "loc": { "start": { - "line": 26, + "line": 33, "column": 4 }, "end": { - "line": 26, + "line": 33, "column": 9 } } @@ -4208,15 +4208,15 @@ "binop": null, "updateContext": null }, - "start": 432, - "end": 433, + "start": 571, + "end": 572, "loc": { "start": { - "line": 26, + "line": 33, "column": 9 }, "end": { - "line": 26, + "line": 33, "column": 10 } } @@ -4235,15 +4235,15 @@ "updateContext": null }, "value": 25, - "start": 434, - "end": 436, + "start": 573, + "end": 575, "loc": { "start": { - "line": 26, + "line": 33, "column": 11 }, "end": { - "line": 26, + "line": 33, "column": 13 } } @@ -4261,15 +4261,15 @@ "binop": null, "updateContext": null }, - "start": 436, - "end": 437, + "start": 575, + "end": 576, "loc": { "start": { - "line": 26, + "line": 33, "column": 13 }, "end": { - "line": 26, + "line": 33, "column": 14 } } @@ -4287,15 +4287,15 @@ "binop": null }, "value": "signifiers", - "start": 443, - "end": 453, + "start": 582, + "end": 592, "loc": { "start": { - "line": 27, + "line": 34, "column": 4 }, "end": { - "line": 27, + "line": 34, "column": 14 } } @@ -4313,15 +4313,15 @@ "binop": null, "updateContext": null }, - "start": 453, - "end": 454, + "start": 592, + "end": 593, "loc": { "start": { - "line": 27, + "line": 34, "column": 14 }, "end": { - "line": 27, + "line": 34, "column": 15 } } @@ -4339,15 +4339,15 @@ "binop": null, "updateContext": null }, - "start": 455, - "end": 456, + "start": 594, + "end": 595, "loc": { "start": { - "line": 27, + "line": 34, "column": 16 }, "end": { - "line": 27, + "line": 34, "column": 17 } } @@ -4366,15 +4366,15 @@ "updateContext": null }, "value": "qr", - "start": 466, - "end": 470, + "start": 605, + "end": 609, "loc": { "start": { - "line": 28, + "line": 35, "column": 8 }, "end": { - "line": 28, + "line": 35, "column": 12 } } @@ -4392,15 +4392,15 @@ "binop": null, "updateContext": null }, - "start": 470, - "end": 471, + "start": 609, + "end": 610, "loc": { "start": { - "line": 28, + "line": 35, "column": 12 }, "end": { - "line": 28, + "line": 35, "column": 13 } } @@ -4419,15 +4419,15 @@ "updateContext": null }, "value": "qtr", - "start": 481, - "end": 486, + "start": 620, + "end": 625, "loc": { "start": { - "line": 29, + "line": 36, "column": 8 }, "end": { - "line": 29, + "line": 36, "column": 13 } } @@ -4445,15 +4445,15 @@ "binop": null, "updateContext": null }, - "start": 486, - "end": 487, + "start": 625, + "end": 626, "loc": { "start": { - "line": 29, + "line": 36, "column": 13 }, "end": { - "line": 29, + "line": 36, "column": 14 } } @@ -4472,15 +4472,15 @@ "updateContext": null }, "value": "quarter", - "start": 497, - "end": 506, + "start": 636, + "end": 645, "loc": { "start": { - "line": 30, + "line": 37, "column": 8 }, "end": { - "line": 30, + "line": 37, "column": 17 } } @@ -4498,15 +4498,15 @@ "binop": null, "updateContext": null }, - "start": 506, - "end": 507, + "start": 645, + "end": 646, "loc": { "start": { - "line": 30, + "line": 37, "column": 17 }, "end": { - "line": 30, + "line": 37, "column": 18 } } @@ -4525,15 +4525,15 @@ "updateContext": null }, "value": "quarters", - "start": 517, - "end": 527, + "start": 656, + "end": 666, "loc": { "start": { - "line": 31, + "line": 38, "column": 8 }, "end": { - "line": 31, + "line": 38, "column": 18 } } @@ -4551,15 +4551,15 @@ "binop": null, "updateContext": null }, - "start": 533, - "end": 534, + "start": 672, + "end": 673, "loc": { "start": { - "line": 32, + "line": 39, "column": 4 }, "end": { - "line": 32, + "line": 39, "column": 5 } } @@ -4576,15 +4576,15 @@ "postfix": false, "binop": null }, - "start": 536, - "end": 537, + "start": 675, + "end": 676, "loc": { "start": { - "line": 33, + "line": 40, "column": 0 }, "end": { - "line": 33, + "line": 40, "column": 1 } } @@ -4602,15 +4602,15 @@ "binop": null, "updateContext": null }, - "start": 537, - "end": 538, + "start": 676, + "end": 677, "loc": { "start": { - "line": 33, + "line": 40, "column": 1 }, "end": { - "line": 33, + "line": 40, "column": 2 } } @@ -4627,15 +4627,15 @@ "postfix": false, "binop": null }, - "start": 538, - "end": 539, + "start": 677, + "end": 678, "loc": { "start": { - "line": 33, + "line": 40, "column": 2 }, "end": { - "line": 33, + "line": 40, "column": 3 } } @@ -4653,15 +4653,15 @@ "binop": null }, "value": "name", - "start": 545, - "end": 549, + "start": 684, + "end": 688, "loc": { "start": { - "line": 34, + "line": 41, "column": 4 }, "end": { - "line": 34, + "line": 41, "column": 8 } } @@ -4679,15 +4679,15 @@ "binop": null, "updateContext": null }, - "start": 549, - "end": 550, + "start": 688, + "end": 689, "loc": { "start": { - "line": 34, + "line": 41, "column": 8 }, "end": { - "line": 34, + "line": 41, "column": 9 } } @@ -4706,15 +4706,15 @@ "updateContext": null }, "value": "pound", - "start": 551, - "end": 558, + "start": 690, + "end": 697, "loc": { "start": { - "line": 34, + "line": 41, "column": 10 }, "end": { - "line": 34, + "line": 41, "column": 17 } } @@ -4732,15 +4732,15 @@ "binop": null, "updateContext": null }, - "start": 558, - "end": 559, + "start": 697, + "end": 698, "loc": { "start": { - "line": 34, + "line": 41, "column": 17 }, "end": { - "line": 34, + "line": 41, "column": 18 } } @@ -4758,15 +4758,15 @@ "binop": null }, "value": "value", - "start": 565, - "end": 570, + "start": 704, + "end": 709, "loc": { "start": { - "line": 35, + "line": 42, "column": 4 }, "end": { - "line": 35, + "line": 42, "column": 9 } } @@ -4784,15 +4784,15 @@ "binop": null, "updateContext": null }, - "start": 570, - "end": 571, + "start": 709, + "end": 710, "loc": { "start": { - "line": 35, + "line": 42, "column": 9 }, "end": { - "line": 35, + "line": 42, "column": 10 } } @@ -4811,15 +4811,15 @@ "updateContext": null }, "value": 1, - "start": 572, - "end": 573, + "start": 711, + "end": 712, "loc": { "start": { - "line": 35, + "line": 42, "column": 11 }, "end": { - "line": 35, + "line": 42, "column": 12 } } @@ -4837,15 +4837,15 @@ "binop": null, "updateContext": null }, - "start": 573, - "end": 574, + "start": 712, + "end": 713, "loc": { "start": { - "line": 35, + "line": 42, "column": 12 }, "end": { - "line": 35, + "line": 42, "column": 13 } } @@ -4863,15 +4863,15 @@ "binop": null }, "value": "display", - "start": 580, - "end": 587, + "start": 719, + "end": 726, "loc": { "start": { - "line": 36, + "line": 43, "column": 4 }, "end": { - "line": 36, + "line": 43, "column": 11 } } @@ -4889,15 +4889,15 @@ "binop": null, "updateContext": null }, - "start": 587, - "end": 588, + "start": 726, + "end": 727, "loc": { "start": { - "line": 36, + "line": 43, "column": 11 }, "end": { - "line": 36, + "line": 43, "column": 12 } } @@ -4916,15 +4916,15 @@ "updateContext": null }, "value": "lb", - "start": 589, - "end": 593, + "start": 728, + "end": 732, "loc": { "start": { - "line": 36, + "line": 43, "column": 13 }, "end": { - "line": 36, + "line": 43, "column": 17 } } @@ -4942,15 +4942,15 @@ "binop": null, "updateContext": null }, - "start": 593, - "end": 594, + "start": 732, + "end": 733, "loc": { "start": { - "line": 36, + "line": 43, "column": 17 }, "end": { - "line": 36, + "line": 43, "column": 18 } } @@ -4968,15 +4968,15 @@ "binop": null }, "value": "signifiers", - "start": 600, - "end": 610, + "start": 739, + "end": 749, "loc": { "start": { - "line": 37, + "line": 44, "column": 4 }, "end": { - "line": 37, + "line": 44, "column": 14 } } @@ -4994,15 +4994,15 @@ "binop": null, "updateContext": null }, - "start": 610, - "end": 611, + "start": 749, + "end": 750, "loc": { "start": { - "line": 37, + "line": 44, "column": 14 }, "end": { - "line": 37, + "line": 44, "column": 15 } } @@ -5020,15 +5020,15 @@ "binop": null, "updateContext": null }, - "start": 612, - "end": 613, + "start": 751, + "end": 752, "loc": { "start": { - "line": 37, + "line": 44, "column": 16 }, "end": { - "line": 37, + "line": 44, "column": 17 } } @@ -5047,15 +5047,15 @@ "updateContext": null }, "value": "lb", - "start": 623, - "end": 627, + "start": 762, + "end": 766, "loc": { "start": { - "line": 38, + "line": 45, "column": 8 }, "end": { - "line": 38, + "line": 45, "column": 12 } } @@ -5073,15 +5073,15 @@ "binop": null, "updateContext": null }, - "start": 627, - "end": 628, + "start": 766, + "end": 767, "loc": { "start": { - "line": 38, + "line": 45, "column": 12 }, "end": { - "line": 38, + "line": 45, "column": 13 } } @@ -5100,15 +5100,15 @@ "updateContext": null }, "value": "lbs", - "start": 638, - "end": 643, + "start": 777, + "end": 782, "loc": { "start": { - "line": 39, + "line": 46, "column": 8 }, "end": { - "line": 39, + "line": 46, "column": 13 } } @@ -5126,15 +5126,15 @@ "binop": null, "updateContext": null }, - "start": 643, - "end": 644, + "start": 782, + "end": 783, "loc": { "start": { - "line": 39, + "line": 46, "column": 13 }, "end": { - "line": 39, + "line": 46, "column": 14 } } @@ -5153,15 +5153,15 @@ "updateContext": null }, "value": "pound", - "start": 654, - "end": 661, + "start": 793, + "end": 800, "loc": { "start": { - "line": 40, + "line": 47, "column": 8 }, "end": { - "line": 40, + "line": 47, "column": 15 } } @@ -5179,15 +5179,15 @@ "binop": null, "updateContext": null }, - "start": 661, - "end": 662, + "start": 800, + "end": 801, "loc": { "start": { - "line": 40, + "line": 47, "column": 15 }, "end": { - "line": 40, + "line": 47, "column": 16 } } @@ -5206,15 +5206,15 @@ "updateContext": null }, "value": "pounds", - "start": 672, - "end": 680, + "start": 811, + "end": 819, "loc": { "start": { - "line": 41, + "line": 48, "column": 8 }, "end": { - "line": 41, + "line": 48, "column": 16 } } @@ -5232,15 +5232,15 @@ "binop": null, "updateContext": null }, - "start": 686, - "end": 687, + "start": 825, + "end": 826, "loc": { "start": { - "line": 42, + "line": 49, "column": 4 }, "end": { - "line": 42, + "line": 49, "column": 5 } } @@ -5257,15 +5257,15 @@ "postfix": false, "binop": null }, - "start": 689, - "end": 690, + "start": 828, + "end": 829, "loc": { "start": { - "line": 43, + "line": 50, "column": 0 }, "end": { - "line": 43, + "line": 50, "column": 1 } } @@ -5283,15 +5283,15 @@ "binop": null, "updateContext": null }, - "start": 690, - "end": 691, + "start": 829, + "end": 830, "loc": { "start": { - "line": 43, + "line": 50, "column": 1 }, "end": { - "line": 43, + "line": 50, "column": 2 } } @@ -5308,15 +5308,15 @@ "postfix": false, "binop": null }, - "start": 691, - "end": 692, + "start": 830, + "end": 831, "loc": { "start": { - "line": 43, + "line": 50, "column": 2 }, "end": { - "line": 43, + "line": 50, "column": 3 } } @@ -5334,15 +5334,15 @@ "binop": null }, "value": "name", - "start": 698, - "end": 702, + "start": 837, + "end": 841, "loc": { "start": { - "line": 44, + "line": 51, "column": 4 }, "end": { - "line": 44, + "line": 51, "column": 8 } } @@ -5360,15 +5360,15 @@ "binop": null, "updateContext": null }, - "start": 702, - "end": 703, + "start": 841, + "end": 842, "loc": { "start": { - "line": 44, + "line": 51, "column": 8 }, "end": { - "line": 44, + "line": 51, "column": 9 } } @@ -5387,15 +5387,15 @@ "updateContext": null }, "value": "ounce", - "start": 704, - "end": 711, + "start": 843, + "end": 850, "loc": { "start": { - "line": 44, + "line": 51, "column": 10 }, "end": { - "line": 44, + "line": 51, "column": 17 } } @@ -5413,15 +5413,15 @@ "binop": null, "updateContext": null }, - "start": 711, - "end": 712, + "start": 850, + "end": 851, "loc": { "start": { - "line": 44, + "line": 51, "column": 17 }, "end": { - "line": 44, + "line": 51, "column": 18 } } @@ -5439,15 +5439,15 @@ "binop": null }, "value": "value", - "start": 718, - "end": 723, + "start": 857, + "end": 862, "loc": { "start": { - "line": 45, + "line": 52, "column": 4 }, "end": { - "line": 45, + "line": 52, "column": 9 } } @@ -5465,15 +5465,15 @@ "binop": null, "updateContext": null }, - "start": 723, - "end": 724, + "start": 862, + "end": 863, "loc": { "start": { - "line": 45, + "line": 52, "column": 9 }, "end": { - "line": 45, + "line": 52, "column": 10 } } @@ -5492,15 +5492,15 @@ "updateContext": null }, "value": 0.0625, - "start": 725, - "end": 731, + "start": 864, + "end": 870, "loc": { "start": { - "line": 45, + "line": 52, "column": 11 }, "end": { - "line": 45, + "line": 52, "column": 17 } } @@ -5518,15 +5518,15 @@ "binop": null, "updateContext": null }, - "start": 731, - "end": 732, + "start": 870, + "end": 871, "loc": { "start": { - "line": 45, + "line": 52, "column": 17 }, "end": { - "line": 45, + "line": 52, "column": 18 } } @@ -5544,15 +5544,15 @@ "binop": null }, "value": "display", - "start": 738, - "end": 745, + "start": 877, + "end": 884, "loc": { "start": { - "line": 46, + "line": 53, "column": 4 }, "end": { - "line": 46, + "line": 53, "column": 11 } } @@ -5570,15 +5570,15 @@ "binop": null, "updateContext": null }, - "start": 745, - "end": 746, + "start": 884, + "end": 885, "loc": { "start": { - "line": 46, + "line": 53, "column": 11 }, "end": { - "line": 46, + "line": 53, "column": 12 } } @@ -5597,15 +5597,15 @@ "updateContext": null }, "value": "oz", - "start": 747, - "end": 751, + "start": 886, + "end": 890, "loc": { "start": { - "line": 46, + "line": 53, "column": 13 }, "end": { - "line": 46, + "line": 53, "column": 17 } } @@ -5623,15 +5623,15 @@ "binop": null, "updateContext": null }, - "start": 751, - "end": 752, + "start": 890, + "end": 891, "loc": { "start": { - "line": 46, + "line": 53, "column": 17 }, "end": { - "line": 46, + "line": 53, "column": 18 } } @@ -5649,15 +5649,15 @@ "binop": null }, "value": "signifiers", - "start": 758, - "end": 768, + "start": 897, + "end": 907, "loc": { "start": { - "line": 47, + "line": 54, "column": 4 }, "end": { - "line": 47, + "line": 54, "column": 14 } } @@ -5675,15 +5675,15 @@ "binop": null, "updateContext": null }, - "start": 768, - "end": 769, + "start": 907, + "end": 908, "loc": { "start": { - "line": 47, + "line": 54, "column": 14 }, "end": { - "line": 47, + "line": 54, "column": 15 } } @@ -5701,15 +5701,15 @@ "binop": null, "updateContext": null }, - "start": 770, - "end": 771, + "start": 909, + "end": 910, "loc": { "start": { - "line": 47, + "line": 54, "column": 16 }, "end": { - "line": 47, + "line": 54, "column": 17 } } @@ -5728,15 +5728,15 @@ "updateContext": null }, "value": "oz", - "start": 781, - "end": 785, + "start": 920, + "end": 924, "loc": { "start": { - "line": 48, + "line": 55, "column": 8 }, "end": { - "line": 48, + "line": 55, "column": 12 } } @@ -5754,15 +5754,15 @@ "binop": null, "updateContext": null }, - "start": 785, - "end": 786, + "start": 924, + "end": 925, "loc": { "start": { - "line": 48, + "line": 55, "column": 12 }, "end": { - "line": 48, + "line": 55, "column": 13 } } @@ -5781,15 +5781,15 @@ "updateContext": null }, "value": "ounce", - "start": 796, - "end": 803, + "start": 935, + "end": 942, "loc": { "start": { - "line": 49, + "line": 56, "column": 8 }, "end": { - "line": 49, + "line": 56, "column": 15 } } @@ -5807,15 +5807,15 @@ "binop": null, "updateContext": null }, - "start": 803, - "end": 804, + "start": 942, + "end": 943, "loc": { "start": { - "line": 49, + "line": 56, "column": 15 }, "end": { - "line": 49, + "line": 56, "column": 16 } } @@ -5834,15 +5834,15 @@ "updateContext": null }, "value": "ounces", - "start": 814, - "end": 822, + "start": 953, + "end": 961, "loc": { "start": { - "line": 50, + "line": 57, "column": 8 }, "end": { - "line": 50, + "line": 57, "column": 16 } } @@ -5860,15 +5860,15 @@ "binop": null, "updateContext": null }, - "start": 828, - "end": 829, + "start": 967, + "end": 968, "loc": { "start": { - "line": 51, + "line": 58, "column": 4 }, "end": { - "line": 51, + "line": 58, "column": 5 } } @@ -5885,15 +5885,15 @@ "postfix": false, "binop": null }, - "start": 831, - "end": 832, + "start": 970, + "end": 971, "loc": { "start": { - "line": 52, + "line": 59, "column": 0 }, "end": { - "line": 52, + "line": 59, "column": 1 } } @@ -5911,15 +5911,15 @@ "binop": null, "updateContext": null }, - "start": 832, - "end": 833, + "start": 971, + "end": 972, "loc": { "start": { - "line": 52, + "line": 59, "column": 1 }, "end": { - "line": 52, + "line": 59, "column": 2 } } @@ -5936,15 +5936,15 @@ "postfix": false, "binop": null }, - "start": 833, - "end": 834, + "start": 972, + "end": 973, "loc": { "start": { - "line": 52, + "line": 59, "column": 2 }, "end": { - "line": 52, + "line": 59, "column": 3 } } @@ -5962,15 +5962,15 @@ "binop": null }, "value": "name", - "start": 840, - "end": 844, + "start": 979, + "end": 983, "loc": { "start": { - "line": 53, + "line": 60, "column": 4 }, "end": { - "line": 53, + "line": 60, "column": 8 } } @@ -5988,15 +5988,15 @@ "binop": null, "updateContext": null }, - "start": 844, - "end": 845, + "start": 983, + "end": 984, "loc": { "start": { - "line": 53, + "line": 60, "column": 8 }, "end": { - "line": 53, + "line": 60, "column": 9 } } @@ -6015,15 +6015,15 @@ "updateContext": null }, "value": "dram", - "start": 846, - "end": 852, + "start": 985, + "end": 991, "loc": { "start": { - "line": 53, + "line": 60, "column": 10 }, "end": { - "line": 53, + "line": 60, "column": 16 } } @@ -6041,15 +6041,15 @@ "binop": null, "updateContext": null }, - "start": 852, - "end": 853, + "start": 991, + "end": 992, "loc": { "start": { - "line": 53, + "line": 60, "column": 16 }, "end": { - "line": 53, + "line": 60, "column": 17 } } @@ -6067,15 +6067,15 @@ "binop": null }, "value": "value", - "start": 859, - "end": 864, + "start": 998, + "end": 1003, "loc": { "start": { - "line": 54, + "line": 61, "column": 4 }, "end": { - "line": 54, + "line": 61, "column": 9 } } @@ -6093,15 +6093,15 @@ "binop": null, "updateContext": null }, - "start": 864, - "end": 865, + "start": 1003, + "end": 1004, "loc": { "start": { - "line": 54, + "line": 61, "column": 9 }, "end": { - "line": 54, + "line": 61, "column": 10 } } @@ -6120,15 +6120,15 @@ "updateContext": null }, "value": 0.00390625, - "start": 866, - "end": 876, + "start": 1005, + "end": 1015, "loc": { "start": { - "line": 54, + "line": 61, "column": 11 }, "end": { - "line": 54, + "line": 61, "column": 21 } } @@ -6146,15 +6146,15 @@ "binop": null, "updateContext": null }, - "start": 876, - "end": 877, + "start": 1015, + "end": 1016, "loc": { "start": { - "line": 54, + "line": 61, "column": 21 }, "end": { - "line": 54, + "line": 61, "column": 22 } } @@ -6172,15 +6172,15 @@ "binop": null }, "value": "signifiers", - "start": 883, - "end": 893, + "start": 1022, + "end": 1032, "loc": { "start": { - "line": 55, + "line": 62, "column": 4 }, "end": { - "line": 55, + "line": 62, "column": 14 } } @@ -6198,15 +6198,15 @@ "binop": null, "updateContext": null }, - "start": 893, - "end": 894, + "start": 1032, + "end": 1033, "loc": { "start": { - "line": 55, + "line": 62, "column": 14 }, "end": { - "line": 55, + "line": 62, "column": 15 } } @@ -6224,15 +6224,15 @@ "binop": null, "updateContext": null }, - "start": 895, - "end": 896, + "start": 1034, + "end": 1035, "loc": { "start": { - "line": 55, + "line": 62, "column": 16 }, "end": { - "line": 55, + "line": 62, "column": 17 } } @@ -6251,15 +6251,15 @@ "updateContext": null }, "value": "dr", - "start": 906, - "end": 910, + "start": 1045, + "end": 1049, "loc": { "start": { - "line": 56, + "line": 63, "column": 8 }, "end": { - "line": 56, + "line": 63, "column": 12 } } @@ -6277,15 +6277,15 @@ "binop": null, "updateContext": null }, - "start": 910, - "end": 911, + "start": 1049, + "end": 1050, "loc": { "start": { - "line": 56, + "line": 63, "column": 12 }, "end": { - "line": 56, + "line": 63, "column": 13 } } @@ -6304,15 +6304,15 @@ "updateContext": null }, "value": "dram", - "start": 921, - "end": 927, + "start": 1060, + "end": 1066, "loc": { "start": { - "line": 57, + "line": 64, "column": 8 }, "end": { - "line": 57, + "line": 64, "column": 14 } } @@ -6330,15 +6330,15 @@ "binop": null, "updateContext": null }, - "start": 927, - "end": 928, + "start": 1066, + "end": 1067, "loc": { "start": { - "line": 57, + "line": 64, "column": 14 }, "end": { - "line": 57, + "line": 64, "column": 15 } } @@ -6357,15 +6357,15 @@ "updateContext": null }, "value": "drams", - "start": 938, - "end": 945, + "start": 1077, + "end": 1084, "loc": { "start": { - "line": 58, + "line": 65, "column": 8 }, "end": { - "line": 58, + "line": 65, "column": 15 } } @@ -6383,15 +6383,15 @@ "binop": null, "updateContext": null }, - "start": 951, - "end": 952, + "start": 1090, + "end": 1091, "loc": { "start": { - "line": 59, + "line": 66, "column": 4 }, "end": { - "line": 59, + "line": 66, "column": 5 } } @@ -6408,15 +6408,15 @@ "postfix": false, "binop": null }, - "start": 954, - "end": 955, + "start": 1093, + "end": 1094, "loc": { "start": { - "line": 60, + "line": 67, "column": 0 }, "end": { - "line": 60, + "line": 67, "column": 1 } } @@ -6434,15 +6434,15 @@ "binop": null, "updateContext": null }, - "start": 955, - "end": 956, + "start": 1094, + "end": 1095, "loc": { "start": { - "line": 60, + "line": 67, "column": 1 }, "end": { - "line": 60, + "line": 67, "column": 2 } } @@ -6459,15 +6459,15 @@ "postfix": false, "binop": null }, - "start": 956, - "end": 957, + "start": 1095, + "end": 1096, "loc": { "start": { - "line": 60, + "line": 67, "column": 2 }, "end": { - "line": 60, + "line": 67, "column": 3 } } @@ -6485,15 +6485,15 @@ "binop": null }, "value": "name", - "start": 963, - "end": 967, + "start": 1102, + "end": 1106, "loc": { "start": { - "line": 61, + "line": 68, "column": 4 }, "end": { - "line": 61, + "line": 68, "column": 8 } } @@ -6511,15 +6511,15 @@ "binop": null, "updateContext": null }, - "start": 967, - "end": 968, + "start": 1106, + "end": 1107, "loc": { "start": { - "line": 61, + "line": 68, "column": 8 }, "end": { - "line": 61, + "line": 68, "column": 9 } } @@ -6538,15 +6538,15 @@ "updateContext": null }, "value": "grain", - "start": 969, - "end": 976, + "start": 1108, + "end": 1115, "loc": { "start": { - "line": 61, + "line": 68, "column": 10 }, "end": { - "line": 61, + "line": 68, "column": 17 } } @@ -6564,15 +6564,15 @@ "binop": null, "updateContext": null }, - "start": 976, - "end": 977, + "start": 1115, + "end": 1116, "loc": { "start": { - "line": 61, + "line": 68, "column": 17 }, "end": { - "line": 61, + "line": 68, "column": 18 } } @@ -6590,15 +6590,15 @@ "binop": null }, "value": "value", - "start": 983, - "end": 988, + "start": 1122, + "end": 1127, "loc": { "start": { - "line": 62, + "line": 69, "column": 4 }, "end": { - "line": 62, + "line": 69, "column": 9 } } @@ -6616,15 +6616,15 @@ "binop": null, "updateContext": null }, - "start": 988, - "end": 989, + "start": 1127, + "end": 1128, "loc": { "start": { - "line": 62, + "line": 69, "column": 9 }, "end": { - "line": 62, + "line": 69, "column": 10 } } @@ -6643,15 +6643,15 @@ "updateContext": null }, "value": 0.00014285714285714287, - "start": 990, - "end": 1026, + "start": 1129, + "end": 1165, "loc": { "start": { - "line": 62, + "line": 69, "column": 11 }, "end": { - "line": 62, + "line": 69, "column": 47 } } @@ -6669,15 +6669,15 @@ "binop": null, "updateContext": null }, - "start": 1026, - "end": 1027, + "start": 1165, + "end": 1166, "loc": { "start": { - "line": 62, + "line": 69, "column": 47 }, "end": { - "line": 62, + "line": 69, "column": 48 } } @@ -6695,15 +6695,15 @@ "binop": null }, "value": "signifiers", - "start": 1033, - "end": 1043, + "start": 1172, + "end": 1182, "loc": { "start": { - "line": 63, + "line": 70, "column": 4 }, "end": { - "line": 63, + "line": 70, "column": 14 } } @@ -6721,15 +6721,15 @@ "binop": null, "updateContext": null }, - "start": 1043, - "end": 1044, + "start": 1182, + "end": 1183, "loc": { "start": { - "line": 63, + "line": 70, "column": 14 }, "end": { - "line": 63, + "line": 70, "column": 15 } } @@ -6747,15 +6747,15 @@ "binop": null, "updateContext": null }, - "start": 1045, - "end": 1046, + "start": 1184, + "end": 1185, "loc": { "start": { - "line": 63, + "line": 70, "column": 16 }, "end": { - "line": 63, + "line": 70, "column": 17 } } @@ -6774,15 +6774,15 @@ "updateContext": null }, "value": "gr", - "start": 1056, - "end": 1060, + "start": 1195, + "end": 1199, "loc": { "start": { - "line": 64, + "line": 71, "column": 8 }, "end": { - "line": 64, + "line": 71, "column": 12 } } @@ -6800,15 +6800,15 @@ "binop": null, "updateContext": null }, - "start": 1060, - "end": 1061, + "start": 1199, + "end": 1200, "loc": { "start": { - "line": 64, + "line": 71, "column": 12 }, "end": { - "line": 64, + "line": 71, "column": 13 } } @@ -6827,15 +6827,15 @@ "updateContext": null }, "value": "grain", - "start": 1071, - "end": 1078, + "start": 1210, + "end": 1217, "loc": { "start": { - "line": 65, + "line": 72, "column": 8 }, "end": { - "line": 65, + "line": 72, "column": 15 } } @@ -6853,15 +6853,15 @@ "binop": null, "updateContext": null }, - "start": 1078, - "end": 1079, + "start": 1217, + "end": 1218, "loc": { "start": { - "line": 65, + "line": 72, "column": 15 }, "end": { - "line": 65, + "line": 72, "column": 16 } } @@ -6880,15 +6880,15 @@ "updateContext": null }, "value": "grains", - "start": 1089, - "end": 1097, + "start": 1228, + "end": 1236, "loc": { "start": { - "line": 66, + "line": 73, "column": 8 }, "end": { - "line": 66, + "line": 73, "column": 16 } } @@ -6906,15 +6906,15 @@ "binop": null, "updateContext": null }, - "start": 1103, - "end": 1104, + "start": 1242, + "end": 1243, "loc": { "start": { - "line": 67, + "line": 74, "column": 4 }, "end": { - "line": 67, + "line": 74, "column": 5 } } @@ -6931,15 +6931,15 @@ "postfix": false, "binop": null }, - "start": 1106, - "end": 1107, + "start": 1245, + "end": 1246, "loc": { "start": { - "line": 68, + "line": 75, "column": 0 }, "end": { - "line": 68, + "line": 75, "column": 1 } } @@ -6957,15 +6957,15 @@ "binop": null, "updateContext": null }, - "start": 1107, - "end": 1108, + "start": 1246, + "end": 1247, "loc": { "start": { - "line": 68, + "line": 75, "column": 1 }, "end": { - "line": 68, + "line": 75, "column": 2 } } @@ -6982,15 +6982,15 @@ "postfix": false, "binop": null }, - "start": 1108, - "end": 1109, + "start": 1247, + "end": 1248, "loc": { "start": { - "line": 68, + "line": 75, "column": 2 }, "end": { - "line": 68, + "line": 75, "column": 3 } } @@ -7008,15 +7008,15 @@ "binop": null, "updateContext": null }, - "start": 1109, - "end": 1110, + "start": 1248, + "end": 1249, "loc": { "start": { - "line": 68, + "line": 75, "column": 3 }, "end": { - "line": 68, + "line": 75, "column": 4 } } @@ -7036,15 +7036,15 @@ "updateContext": null }, "value": "export", - "start": 1114, - "end": 1120, + "start": 1253, + "end": 1259, "loc": { "start": { - "line": 70, + "line": 77, "column": 0 }, "end": { - "line": 70, + "line": 77, "column": 6 } } @@ -7064,15 +7064,15 @@ "updateContext": null }, "value": "default", - "start": 1121, - "end": 1128, + "start": 1260, + "end": 1267, "loc": { "start": { - "line": 70, + "line": 77, "column": 7 }, "end": { - "line": 70, + "line": 77, "column": 14 } } @@ -7090,15 +7090,15 @@ "binop": null }, "value": "Mass", - "start": 1129, - "end": 1133, + "start": 1268, + "end": 1272, "loc": { "start": { - "line": 70, + "line": 77, "column": 15 }, "end": { - "line": 70, + "line": 77, "column": 19 } } @@ -7116,15 +7116,15 @@ "binop": null, "updateContext": null }, - "start": 1133, - "end": 1134, + "start": 1272, + "end": 1273, "loc": { "start": { - "line": 70, + "line": 77, "column": 19 }, "end": { - "line": 70, + "line": 77, "column": 20 } } @@ -7142,15 +7142,15 @@ "binop": null, "updateContext": null }, - "start": 1134, - "end": 1134, + "start": 1273, + "end": 1273, "loc": { "start": { - "line": 70, + "line": 77, "column": 20 }, "end": { - "line": 70, + "line": 77, "column": 20 } } diff --git a/docs/class/src/MassJS.js~MassJS.html b/docs/class/src/MassJS.js~MassJS.html index a481ad1..20b7d6f 100644 --- a/docs/class/src/MassJS.js~MassJS.html +++ b/docs/class/src/MassJS.js~MassJS.html @@ -35,13 +35,13 @@
-
import MassJS from 'mass.js/src/MassJS.js'
+
import MassJS from 'mass.js/src/MassJS.js'
public class - | source + | source
@@ -260,7 +260,7 @@

- source + source

@@ -324,7 +324,7 @@

- source + source

@@ -370,7 +370,7 @@

- source + source

@@ -460,7 +460,7 @@

- source + source

@@ -534,7 +534,7 @@

- source + source

diff --git a/docs/coverage.json b/docs/coverage.json index 02bca08..a1f3615 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -7,7 +7,7 @@ "expectCount": 6, "actualCount": 5, "undocumentLines": [ - 26 + 25 ] } } diff --git a/docs/file/src/MassJS.js.html b/docs/file/src/MassJS.js.html index eb44df0..0faa7aa 100644 --- a/docs/file/src/MassJS.js.html +++ b/docs/file/src/MassJS.js.html @@ -35,13 +35,12 @@

src/MassJS.js

-
  
-/** 
+
/** 
  * Parsing and formatting mass units.
  *
  * @author Tyler Vigario (MeekLogic)
  * @license GPL-3.0-only
- * @version 1.0.0
+ * @version 1.0.1
  */
 
 /**
diff --git a/docs/file/src/Mass_SI.js.html b/docs/file/src/Mass_SI.js.html
index 926741f..49c0684 100644
--- a/docs/file/src/Mass_SI.js.html
+++ b/docs/file/src/Mass_SI.js.html
@@ -35,9 +35,16 @@
 
 
 

src/Mass_SI.js

-
import MassJS from './MassJS';
+
/** 
+ * Entry-point containing International System of Units units of mass.
+ *
+ * @author Tyler Vigario (MeekLogic)
+ * @license GPL-3.0-only
+ * @version 1.0.0
+ */
+
+import MassJS from './MassJS';
 
-// US Mass units
 var Mass = new MassJS([{
     name: 'ton',
     value: 1000,
diff --git a/docs/file/src/Mass_UK.js.html b/docs/file/src/Mass_UK.js.html
index 2e3f02d..f5f8a93 100644
--- a/docs/file/src/Mass_UK.js.html
+++ b/docs/file/src/Mass_UK.js.html
@@ -35,9 +35,16 @@
 
 
 

src/Mass_UK.js

-
import MassJS from './MassJS';
+
/** 
+ * Entry-point containing Imperial units of mass.
+ *
+ * @author Tyler Vigario (MeekLogic)
+ * @license GPL-3.0-only
+ * @version 1.0.0
+ */
+
+import MassJS from './MassJS';
 
-// US Mass units
 var Mass = new MassJS([{
     name: 'ton',
     value: 2240,
diff --git a/docs/file/src/Mass_US.js.html b/docs/file/src/Mass_US.js.html
index d95f212..b264c9d 100644
--- a/docs/file/src/Mass_US.js.html
+++ b/docs/file/src/Mass_US.js.html
@@ -35,9 +35,16 @@
 
 
 

src/Mass_US.js

-
import MassJS from './MassJS';
+
/** 
+ * Entry-point containing U.S. customary units of mass.
+ *
+ * @author Tyler Vigario (MeekLogic)
+ * @license GPL-3.0-only
+ * @version 1.0.1
+ */
+
+import MassJS from './MassJS';
 
-// US Mass units
 var Mass = new MassJS([{
     name: 'ton',
     value: 2000,
diff --git a/docs/index.html b/docs/index.html
index 04c318f..369cc85 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -34,17 +34,22 @@
 
-

BCH compliance Build Status Coverage Status

+

BCH compliance Coverage Status Build Status

Mass.js

JavaScript library for parsing and formatting mass units.

Documentation

Install

npm install mass.js
 

Usage

ES6

-
import Mass from 'mass.js/src/Mass';
+
import Mass from 'mass.js/src/Mass_US';
 

CommonJS

var Mass = require('mass.js');
 
+

System of Units

Default system for units of mass is U.S. customary but can be changed by requiring an alternative entry point (Mass_US, Mass_UK, or Mass_SI).

+
var Mass = require('mass.js/dist/Mass_US'); // U.S. customary
+var Mass = require('mass.js/dist/Mass_UK'); // Imperial
+var Mass = require('mass.js/dist/Mass_SI'); // International System of Units (unfinished)
+

Example

// Parse string for ounces
 let pounds = Mass.parse('5lbs  4 oz');
 
diff --git a/docs/index.json b/docs/index.json
index 7980dcc..a256ee4 100644
--- a/docs/index.json
+++ b/docs/index.json
@@ -567,7 +567,7 @@
     "__docId__": 48,
     "kind": "file",
     "name": "src/MassJS.js",
-    "content": "  \r\n/** \r\n * Parsing and formatting mass units.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n */\r\n\r\n/**\r\n * Class for working with string representations of mass.\r\n */\r\nexport default class MassJS\r\n{\r\n    /**\r\n     * Creates an instance of Mass.\r\n     * \r\n     * @param {array} units - Array of mass unit definitions objects.\r\n     */\r\n    constructor(units)\r\n    {\r\n        if (typeof units !== 'object') {\r\n            throw new Error('Parameter \"units\" must be of type \"object\".');\r\n        }\r\n\r\n        this.Units = units;\r\n    }\r\n\r\n    /**\r\n     * Parse variable for Mass.\r\n     * \r\n     * @param {string} text - String to parse for mass.\r\n     * @returns {(number|false)} Returns mass as it's base unit, if an invalid string for mass or any value is negative, false.\r\n     */\r\n    parse(text)\r\n    {\r\n        // Validate text parameter\r\n        if (typeof text !== 'string') {\r\n            throw new Error('Parameter \"text\" must be of type \"string\".');\r\n        }\r\n\r\n        // Remove possible case sensitivity\r\n        text = text.toLowerCase();\r\n\r\n        // Remove non alphanumeric characters except \".\" and \"-\"\r\n        text = text.replace(/[^0-9a-z.-]/g, '');\r\n\r\n        // Is string empty?\r\n        if (text.length === 0) {\r\n            return false;\r\n        }\r\n\r\n        // Linear char parsing\r\n        let value = '';\r\n        let signifier = '';\r\n        let unit;\r\n        let total = 0;\r\n\r\n        // Loop through each character of string\r\n        for (let i = 0; i < text.length; i++) {\r\n            // Get current char\r\n            const char = text.charAt(i);\r\n\r\n            // Check for alphabet letter (a-z,0-9|a-z,0-9|...) [comma = separator between value and signifier, | = separator between pairs]\r\n            if (char.match(/[a-z]/)) {\r\n                // Catch the case where they supply text prior to the value\r\n                if (value.length === 0) {\r\n                    return false;\r\n                }\r\n\r\n                signifier += char;\r\n            } else {\r\n                // Check if this is next unit pair (i.e. value,signifier|value,signifier|...)\r\n                if (signifier.length > 0) {\r\n                    // Convert to string to number\r\n                    let v = parseFloat(value);\r\n\r\n                    // Mass cannot be negative\r\n                    if (v < 0) {\r\n                        return false;\r\n                    }\r\n\r\n                    // Lookup unit signifier\r\n                    unit = this.lookup(signifier);\r\n\r\n                    // Does signifier not match?\r\n                    if (unit === undefined) {\r\n                        // If we cannot reliably match this signifier to a unit\r\n                        return false;\r\n                    }\r\n\r\n                    // Convert to base unit value and add to total\r\n                    total += v * unit.value;\r\n\r\n                    // Reset storage variables\r\n                    value = '';\r\n                    signifier = '';\r\n                }\r\n\r\n                value += char;\r\n            }\r\n        }\r\n\r\n        // Convert to string to number\r\n        let v = parseFloat(value);\r\n\r\n        // Mass cannot be negative\r\n        if (v < 0) {\r\n            return false;\r\n        }\r\n\r\n        // Lookup unit signifier\r\n        unit = this.lookup(signifier);\r\n\r\n        // Does signifier not match?\r\n        if (unit === undefined) {\r\n            // If we cannot reliably match this signifier to a unit\r\n            return false;\r\n        }\r\n\r\n        // Convert to base unit value and add to total\r\n        total += value * unit.value;\r\n\r\n        // Return total mass (as base unit)\r\n        return total;\r\n    }\r\n\r\n    /**\r\n     * Format mass as text.\r\n     * \r\n     * @param {number} value - Value to format (must be a positive number).\r\n     * @param {(number|string)} [unitValue = 1] - Value of unit or string mass unit signifier for lookup.\r\n     * @param {(boolean|number)} [spaces = true] - Truthy values will add space between value and signifier.\r\n     * @returns {(string|false)} Formatted mass string or, if value is negative or unit signifier lookup fails, false.\r\n     */\r\n    format(value, unitValue = 1, spaces = true)\r\n    {\r\n        // Validate value parameter\r\n        if (typeof value !== 'number') {\r\n            throw new Error('Parameter \"value\" must be of type \"number\".');\r\n        }\r\n\r\n        // Accepts any positive number\r\n        if (value < 0) {\r\n            return false;\r\n        }\r\n        \r\n        // Did they supply custom unit ratio or signifier?\r\n        if (unitValue !== 1) {\r\n            if (typeof unitValue === 'number') {\r\n                // Validate number\r\n                if (unitValue < 0) {\r\n                    throw new Error('Parameter \"unitValue\" cannot be a negative number.');\r\n                }\r\n            } else if (typeof unitValue === 'string') {\r\n                // Perform lookup using signifier\r\n                unitValue = this.lookup(unitValue);\r\n\r\n                // Validate Unit lookup\r\n                if (unitValue === undefined) {\r\n                    return false;\r\n                }\r\n\r\n                // We want unit value\r\n                unitValue = unitValue.value;\r\n            } else {\r\n                throw new Error('Parameter \"unitValue\" must be of type \"number\" or \"string\".');\r\n            }\r\n\r\n            // Convert value to base unit value\r\n            value = value * unitValue;\r\n        }\r\n\r\n        let formatted = '';\r\n\r\n        // Loop through Units\r\n        for (let unit of this.Units) {\r\n            // Check if Unit is displaying and value is greater than unit value\r\n            if (unit.display && value >= unit.value) {\r\n                // Calculate quantity of unit\r\n                let q = value / unit.value;\r\n\r\n                // Exclusive means it will display the whole value under its sole unit\r\n                // Here we check to make sure it isn't exclusive so we can remove the change from value and make it whole\r\n                if (!unit.display.exclusive) {\r\n                    // Whole unit quantity\r\n                    q = Math.floor(q);\r\n\r\n                    // Subtract change from total\r\n                    value -= q * unit.value;\r\n                }\r\n\r\n                // Add space if text has content already\r\n                if (formatted.length > 0) {\r\n                    formatted += ' ';\r\n                }\r\n\r\n                // Add formatted value\r\n                formatted += q.toFixed(unit.display.rounding ? unit.display.rounding : 0);\r\n\r\n                // Add spaces (if applicable)\r\n                if (spaces) {\r\n                    formatted += ' ';\r\n                }\r\n\r\n                // Add unit signifier\r\n                if (typeof unit.display === 'object') {\r\n                    formatted += unit.display.symbol;\r\n                } else {\r\n                    formatted += unit.display;\r\n                }\r\n\r\n                // Is unit exclusive or is there no longer any value to format?\r\n                if (unit.display.exclusive || value === 0) {\r\n                    break;\r\n                }\r\n            }\r\n        }\r\n\r\n        return formatted;\r\n    }\r\n\r\n    /**\r\n     * Lookup string with signifier returning matching Unit.\r\n     * \r\n     * @param {string} signifier - Mass unit signifier string for lookup.\r\n     * @return {(object|undefined)} Matching Unit object, if found, otherwise false.\r\n     */\r\n    lookup(signifier)\r\n    {\r\n        // Validate signifier parameter type\r\n        if (typeof signifier !== 'string') {\r\n            throw new Error('Parameter \"signifier\" must be of type \"string\".');\r\n        }\r\n\r\n        // Search through units\r\n        return this.Units.find((unit) => {\r\n            // Search for matching signifier within unit\r\n            return unit.signifiers.includes(signifier);\r\n        });\r\n    }\r\n}",
+    "content": "/** \r\n * Parsing and formatting mass units.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.1\r\n */\r\n\r\n/**\r\n * Class for working with string representations of mass.\r\n */\r\nexport default class MassJS\r\n{\r\n    /**\r\n     * Creates an instance of Mass.\r\n     * \r\n     * @param {array} units - Array of mass unit definitions objects.\r\n     */\r\n    constructor(units)\r\n    {\r\n        if (typeof units !== 'object') {\r\n            throw new Error('Parameter \"units\" must be of type \"object\".');\r\n        }\r\n\r\n        this.Units = units;\r\n    }\r\n\r\n    /**\r\n     * Parse variable for Mass.\r\n     * \r\n     * @param {string} text - String to parse for mass.\r\n     * @returns {(number|false)} Returns mass as it's base unit, if an invalid string for mass or any value is negative, false.\r\n     */\r\n    parse(text)\r\n    {\r\n        // Validate text parameter\r\n        if (typeof text !== 'string') {\r\n            throw new Error('Parameter \"text\" must be of type \"string\".');\r\n        }\r\n\r\n        // Remove possible case sensitivity\r\n        text = text.toLowerCase();\r\n\r\n        // Remove non alphanumeric characters except \".\" and \"-\"\r\n        text = text.replace(/[^0-9a-z.-]/g, '');\r\n\r\n        // Is string empty?\r\n        if (text.length === 0) {\r\n            return false;\r\n        }\r\n\r\n        // Linear char parsing\r\n        let value = '';\r\n        let signifier = '';\r\n        let unit;\r\n        let total = 0;\r\n\r\n        // Loop through each character of string\r\n        for (let i = 0; i < text.length; i++) {\r\n            // Get current char\r\n            const char = text.charAt(i);\r\n\r\n            // Check for alphabet letter (a-z,0-9|a-z,0-9|...) [comma = separator between value and signifier, | = separator between pairs]\r\n            if (char.match(/[a-z]/)) {\r\n                // Catch the case where they supply text prior to the value\r\n                if (value.length === 0) {\r\n                    return false;\r\n                }\r\n\r\n                signifier += char;\r\n            } else {\r\n                // Check if this is next unit pair (i.e. value,signifier|value,signifier|...)\r\n                if (signifier.length > 0) {\r\n                    // Convert to string to number\r\n                    let v = parseFloat(value);\r\n\r\n                    // Mass cannot be negative\r\n                    if (v < 0) {\r\n                        return false;\r\n                    }\r\n\r\n                    // Lookup unit signifier\r\n                    unit = this.lookup(signifier);\r\n\r\n                    // Does signifier not match?\r\n                    if (unit === undefined) {\r\n                        // If we cannot reliably match this signifier to a unit\r\n                        return false;\r\n                    }\r\n\r\n                    // Convert to base unit value and add to total\r\n                    total += v * unit.value;\r\n\r\n                    // Reset storage variables\r\n                    value = '';\r\n                    signifier = '';\r\n                }\r\n\r\n                value += char;\r\n            }\r\n        }\r\n\r\n        // Convert to string to number\r\n        let v = parseFloat(value);\r\n\r\n        // Mass cannot be negative\r\n        if (v < 0) {\r\n            return false;\r\n        }\r\n\r\n        // Lookup unit signifier\r\n        unit = this.lookup(signifier);\r\n\r\n        // Does signifier not match?\r\n        if (unit === undefined) {\r\n            // If we cannot reliably match this signifier to a unit\r\n            return false;\r\n        }\r\n\r\n        // Convert to base unit value and add to total\r\n        total += value * unit.value;\r\n\r\n        // Return total mass (as base unit)\r\n        return total;\r\n    }\r\n\r\n    /**\r\n     * Format mass as text.\r\n     * \r\n     * @param {number} value - Value to format (must be a positive number).\r\n     * @param {(number|string)} [unitValue = 1] - Value of unit or string mass unit signifier for lookup.\r\n     * @param {(boolean|number)} [spaces = true] - Truthy values will add space between value and signifier.\r\n     * @returns {(string|false)} Formatted mass string or, if value is negative or unit signifier lookup fails, false.\r\n     */\r\n    format(value, unitValue = 1, spaces = true)\r\n    {\r\n        // Validate value parameter\r\n        if (typeof value !== 'number') {\r\n            throw new Error('Parameter \"value\" must be of type \"number\".');\r\n        }\r\n\r\n        // Accepts any positive number\r\n        if (value < 0) {\r\n            return false;\r\n        }\r\n        \r\n        // Did they supply custom unit ratio or signifier?\r\n        if (unitValue !== 1) {\r\n            if (typeof unitValue === 'number') {\r\n                // Validate number\r\n                if (unitValue < 0) {\r\n                    throw new Error('Parameter \"unitValue\" cannot be a negative number.');\r\n                }\r\n            } else if (typeof unitValue === 'string') {\r\n                // Perform lookup using signifier\r\n                unitValue = this.lookup(unitValue);\r\n\r\n                // Validate Unit lookup\r\n                if (unitValue === undefined) {\r\n                    return false;\r\n                }\r\n\r\n                // We want unit value\r\n                unitValue = unitValue.value;\r\n            } else {\r\n                throw new Error('Parameter \"unitValue\" must be of type \"number\" or \"string\".');\r\n            }\r\n\r\n            // Convert value to base unit value\r\n            value = value * unitValue;\r\n        }\r\n\r\n        let formatted = '';\r\n\r\n        // Loop through Units\r\n        for (let unit of this.Units) {\r\n            // Check if Unit is displaying and value is greater than unit value\r\n            if (unit.display && value >= unit.value) {\r\n                // Calculate quantity of unit\r\n                let q = value / unit.value;\r\n\r\n                // Exclusive means it will display the whole value under its sole unit\r\n                // Here we check to make sure it isn't exclusive so we can remove the change from value and make it whole\r\n                if (!unit.display.exclusive) {\r\n                    // Whole unit quantity\r\n                    q = Math.floor(q);\r\n\r\n                    // Subtract change from total\r\n                    value -= q * unit.value;\r\n                }\r\n\r\n                // Add space if text has content already\r\n                if (formatted.length > 0) {\r\n                    formatted += ' ';\r\n                }\r\n\r\n                // Add formatted value\r\n                formatted += q.toFixed(unit.display.rounding ? unit.display.rounding : 0);\r\n\r\n                // Add spaces (if applicable)\r\n                if (spaces) {\r\n                    formatted += ' ';\r\n                }\r\n\r\n                // Add unit signifier\r\n                if (typeof unit.display === 'object') {\r\n                    formatted += unit.display.symbol;\r\n                } else {\r\n                    formatted += unit.display;\r\n                }\r\n\r\n                // Is unit exclusive or is there no longer any value to format?\r\n                if (unit.display.exclusive || value === 0) {\r\n                    break;\r\n                }\r\n            }\r\n        }\r\n\r\n        return formatted;\r\n    }\r\n\r\n    /**\r\n     * Lookup string with signifier returning matching Unit.\r\n     * \r\n     * @param {string} signifier - Mass unit signifier string for lookup.\r\n     * @return {(object|undefined)} Matching Unit object, if found, otherwise false.\r\n     */\r\n    lookup(signifier)\r\n    {\r\n        // Validate signifier parameter type\r\n        if (typeof signifier !== 'string') {\r\n            throw new Error('Parameter \"signifier\" must be of type \"string\".');\r\n        }\r\n\r\n        // Search through units\r\n        return this.Units.find((unit) => {\r\n            // Search for matching signifier within unit\r\n            return unit.signifiers.includes(signifier);\r\n        });\r\n    }\r\n}",
     "static": true,
     "longname": "D:/Users/Tyler/Documents/Projects/Mass.js/src/MassJS.js",
     "access": "public",
@@ -586,7 +586,7 @@
     "importPath": "mass.js/src/MassJS.js",
     "importStyle": "MassJS",
     "description": "Class for working with string representations of mass.",
-    "lineNumber": 13,
+    "lineNumber": 12,
     "interface": false
   },
   {
@@ -600,7 +600,7 @@
     "longname": "src/MassJS.js~MassJS#constructor",
     "access": "public",
     "description": "Creates an instance of Mass.",
-    "lineNumber": 20,
+    "lineNumber": 19,
     "params": [
       {
         "nullable": null,
@@ -623,7 +623,7 @@
     "longname": "src/MassJS.js~MassJS#Units",
     "access": "public",
     "description": null,
-    "lineNumber": 26,
+    "lineNumber": 25,
     "undocument": true,
     "type": {
       "types": [
@@ -642,7 +642,7 @@
     "longname": "src/MassJS.js~MassJS#parse",
     "access": "public",
     "description": "Parse variable for Mass.",
-    "lineNumber": 35,
+    "lineNumber": 34,
     "unknown": [
       {
         "tagName": "@returns",
@@ -682,7 +682,7 @@
     "longname": "src/MassJS.js~MassJS#format",
     "access": "public",
     "description": "Format mass as text.",
-    "lineNumber": 136,
+    "lineNumber": 135,
     "unknown": [
       {
         "tagName": "@returns",
@@ -748,7 +748,7 @@
     "longname": "src/MassJS.js~MassJS#lookup",
     "access": "public",
     "description": "Lookup string with signifier returning matching Unit.",
-    "lineNumber": 229,
+    "lineNumber": 228,
     "params": [
       {
         "nullable": null,
@@ -775,7 +775,7 @@
     "__docId__": 55,
     "kind": "file",
     "name": "src/Mass_SI.js",
-    "content": "import MassJS from './MassJS';\r\n\r\n// US Mass units\r\nvar Mass = new MassJS([{\r\n    name: 'ton',\r\n    value: 1000,\r\n    display: {\r\n        symbol: 't',\r\n        exclusive: true,\r\n        rounding: 2\r\n    },\r\n    signifiers: [\r\n        't',\r\n        'ton',\r\n        'tons',\r\n        'tonne',\r\n        'tonnes'\r\n    ]\r\n},{\r\n    name: 'kilogram',\r\n    value: 1,\r\n    display: 'kg',\r\n    signifiers: [\r\n        'kg',\r\n        'kgs',\r\n        'kilogram',\r\n        'kilograms'\r\n    ]\r\n},{\r\n    name: 'gram',\r\n    value: 0.001,\r\n    display: 'g',\r\n    signifiers: [\r\n        'g',\r\n        'gs',\r\n        'gram',\r\n        'grams'\r\n    ]\r\n}]);\r\n\r\nexport default Mass;",
+    "content": "/** \r\n * Entry-point containing International System of Units units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n */\r\n\r\nimport MassJS from './MassJS';\r\n\r\nvar Mass = new MassJS([{\r\n    name: 'ton',\r\n    value: 1000,\r\n    display: {\r\n        symbol: 't',\r\n        exclusive: true,\r\n        rounding: 2\r\n    },\r\n    signifiers: [\r\n        't',\r\n        'ton',\r\n        'tons',\r\n        'tonne',\r\n        'tonnes'\r\n    ]\r\n},{\r\n    name: 'kilogram',\r\n    value: 1,\r\n    display: 'kg',\r\n    signifiers: [\r\n        'kg',\r\n        'kgs',\r\n        'kilogram',\r\n        'kilograms'\r\n    ]\r\n},{\r\n    name: 'gram',\r\n    value: 0.001,\r\n    display: 'g',\r\n    signifiers: [\r\n        'g',\r\n        'gs',\r\n        'gram',\r\n        'grams'\r\n    ]\r\n}]);\r\n\r\nexport default Mass;",
     "static": true,
     "longname": "D:/Users/Tyler/Documents/Projects/Mass.js/src/Mass_SI.js",
     "access": "public",
@@ -786,7 +786,7 @@
     "__docId__": 56,
     "kind": "file",
     "name": "src/Mass_UK.js",
-    "content": "import MassJS from './MassJS';\r\n\r\n// US Mass units\r\nvar Mass = new MassJS([{\r\n    name: 'ton',\r\n    value: 2240,\r\n    display: {\r\n        symbol: 't',\r\n        rounding: 2,\r\n        exclusive: true\r\n    },\r\n    signifiers: [\r\n        't',\r\n        'ton',\r\n        'tons'\r\n    ]\r\n},{\r\n    name: 'hundredweight',\r\n    value: 112,\r\n    signifiers: [\r\n        'cwt',\r\n        'hundredweight'\r\n    ]\r\n},{\r\n    name: 'quarter',\r\n    value: 28,\r\n    signifiers: [\r\n        'qr',\r\n        'qtr',\r\n        'quarter',\r\n        'quarters'\r\n    ]\r\n},{\r\n    name: 'stone',\r\n    value: 14,\r\n    signifiers: [\r\n        'st',\r\n        'stone',\r\n        'stones'\r\n    ]\r\n},{\r\n    name: 'pound',\r\n    value: 1,\r\n    display: 'lb',\r\n    signifiers: [\r\n        'lb',\r\n        'lbs',\r\n        'pound',\r\n        'pounds'\r\n    ]\r\n},{\r\n    name: 'ounce',\r\n    value: 0.0625,\r\n    display: 'oz',\r\n    signifiers: [\r\n        'oz',\r\n        'ounce',\r\n        'ounces'\r\n    ]\r\n},{\r\n    name: 'dram',\r\n    value: 0.00390625,\r\n    signifiers: [\r\n        'dr',\r\n        'dram',\r\n        'drams',\r\n        'drachm',\r\n        'drachms'\r\n    ]\r\n},{\r\n    name: 'grain',\r\n    value: 1.4285714285714285714285714285714e-4,\r\n    signifiers: [\r\n        'gr',\r\n        'grain',\r\n        'grains'\r\n    ]\r\n}]);\r\n\r\nexport default Mass;",
+    "content": "/** \r\n * Entry-point containing Imperial units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.0\r\n */\r\n\r\nimport MassJS from './MassJS';\r\n\r\nvar Mass = new MassJS([{\r\n    name: 'ton',\r\n    value: 2240,\r\n    display: {\r\n        symbol: 't',\r\n        rounding: 2,\r\n        exclusive: true\r\n    },\r\n    signifiers: [\r\n        't',\r\n        'ton',\r\n        'tons'\r\n    ]\r\n},{\r\n    name: 'hundredweight',\r\n    value: 112,\r\n    signifiers: [\r\n        'cwt',\r\n        'hundredweight'\r\n    ]\r\n},{\r\n    name: 'quarter',\r\n    value: 28,\r\n    signifiers: [\r\n        'qr',\r\n        'qtr',\r\n        'quarter',\r\n        'quarters'\r\n    ]\r\n},{\r\n    name: 'stone',\r\n    value: 14,\r\n    signifiers: [\r\n        'st',\r\n        'stone',\r\n        'stones'\r\n    ]\r\n},{\r\n    name: 'pound',\r\n    value: 1,\r\n    display: 'lb',\r\n    signifiers: [\r\n        'lb',\r\n        'lbs',\r\n        'pound',\r\n        'pounds'\r\n    ]\r\n},{\r\n    name: 'ounce',\r\n    value: 0.0625,\r\n    display: 'oz',\r\n    signifiers: [\r\n        'oz',\r\n        'ounce',\r\n        'ounces'\r\n    ]\r\n},{\r\n    name: 'dram',\r\n    value: 0.00390625,\r\n    signifiers: [\r\n        'dr',\r\n        'dram',\r\n        'drams',\r\n        'drachm',\r\n        'drachms'\r\n    ]\r\n},{\r\n    name: 'grain',\r\n    value: 1.4285714285714285714285714285714e-4,\r\n    signifiers: [\r\n        'gr',\r\n        'grain',\r\n        'grains'\r\n    ]\r\n}]);\r\n\r\nexport default Mass;",
     "static": true,
     "longname": "D:/Users/Tyler/Documents/Projects/Mass.js/src/Mass_UK.js",
     "access": "public",
@@ -797,7 +797,7 @@
     "__docId__": 57,
     "kind": "file",
     "name": "src/Mass_US.js",
-    "content": "import MassJS from './MassJS';\r\n\r\n// US Mass units\r\nvar Mass = new MassJS([{\r\n    name: 'ton',\r\n    value: 2000,\r\n    display: {\r\n        symbol: 't',\r\n        rounding: 2,\r\n        exclusive: true\r\n    },\r\n    signifiers: [\r\n        't',\r\n        'ton',\r\n        'tons'\r\n    ]\r\n},{\r\n    name: 'hundredweight',\r\n    value: 100,\r\n    signifiers: [\r\n        'cwt',\r\n        'hundredweight'\r\n    ]\r\n},{\r\n    name: 'quarter',\r\n    value: 25,\r\n    signifiers: [\r\n        'qr',\r\n        'qtr',\r\n        'quarter',\r\n        'quarters'\r\n    ]\r\n},{\r\n    name: 'pound',\r\n    value: 1,\r\n    display: 'lb',\r\n    signifiers: [\r\n        'lb',\r\n        'lbs',\r\n        'pound',\r\n        'pounds'\r\n    ]\r\n},{\r\n    name: 'ounce',\r\n    value: 0.0625,\r\n    display: 'oz',\r\n    signifiers: [\r\n        'oz',\r\n        'ounce',\r\n        'ounces'\r\n    ]\r\n},{\r\n    name: 'dram',\r\n    value: 0.00390625,\r\n    signifiers: [\r\n        'dr',\r\n        'dram',\r\n        'drams'\r\n    ]\r\n},{\r\n    name: 'grain',\r\n    value: 1.4285714285714285714285714285714e-4,\r\n    signifiers: [\r\n        'gr',\r\n        'grain',\r\n        'grains'\r\n    ]\r\n}]);\r\n\r\nexport default Mass;",
+    "content": "/** \r\n * Entry-point containing U.S. customary units of mass.\r\n *\r\n * @author Tyler Vigario (MeekLogic)\r\n * @license GPL-3.0-only\r\n * @version 1.0.1\r\n */\r\n\r\nimport MassJS from './MassJS';\r\n\r\nvar Mass = new MassJS([{\r\n    name: 'ton',\r\n    value: 2000,\r\n    display: {\r\n        symbol: 't',\r\n        rounding: 2,\r\n        exclusive: true\r\n    },\r\n    signifiers: [\r\n        't',\r\n        'ton',\r\n        'tons'\r\n    ]\r\n},{\r\n    name: 'hundredweight',\r\n    value: 100,\r\n    signifiers: [\r\n        'cwt',\r\n        'hundredweight'\r\n    ]\r\n},{\r\n    name: 'quarter',\r\n    value: 25,\r\n    signifiers: [\r\n        'qr',\r\n        'qtr',\r\n        'quarter',\r\n        'quarters'\r\n    ]\r\n},{\r\n    name: 'pound',\r\n    value: 1,\r\n    display: 'lb',\r\n    signifiers: [\r\n        'lb',\r\n        'lbs',\r\n        'pound',\r\n        'pounds'\r\n    ]\r\n},{\r\n    name: 'ounce',\r\n    value: 0.0625,\r\n    display: 'oz',\r\n    signifiers: [\r\n        'oz',\r\n        'ounce',\r\n        'ounces'\r\n    ]\r\n},{\r\n    name: 'dram',\r\n    value: 0.00390625,\r\n    signifiers: [\r\n        'dr',\r\n        'dram',\r\n        'drams'\r\n    ]\r\n},{\r\n    name: 'grain',\r\n    value: 1.4285714285714285714285714285714e-4,\r\n    signifiers: [\r\n        'gr',\r\n        'grain',\r\n        'grains'\r\n    ]\r\n}]);\r\n\r\nexport default Mass;",
     "static": true,
     "longname": "D:/Users/Tyler/Documents/Projects/Mass.js/src/Mass_US.js",
     "access": "public",
@@ -806,7 +806,7 @@
   },
   {
     "kind": "index",
-    "content": "[![BCH compliance](https://bettercodehub.com/edge/badge/MeekLogic/Mass.js?branch=master)](https://bettercodehub.com/) [![Build Status](https://travis-ci.com/MeekLogic/Mass.js.svg?branch=master)](https://travis-ci.com/MeekLogic/Mass.js) [![Coverage Status](https://coveralls.io/repos/github/MeekLogic/Mass.js/badge.svg?branch=master)](https://coveralls.io/github/MeekLogic/Mass.js?branch=master)\r\n\r\nMass.js\r\n=========\r\nJavaScript library for parsing and formatting mass units.\r\n\r\n**[Documentation](https://meeklogic.github.io/Mass.js/)**\r\n\r\nInstall\r\n-------\r\n```javascript\r\nnpm install mass.js\r\n```\r\n\r\nUsage\r\n-----\r\n**ES6**\r\n```javascript\r\nimport Mass from 'mass.js/src/Mass';\r\n```\r\n\r\n**CommonJS**\r\n```javascript\r\nvar Mass = require('mass.js');\r\n```\r\n\r\nExample\r\n-------\r\n```javascript\r\n// Parse string for ounces\r\nlet pounds = Mass.parse('5lbs  4 oz');\r\n\r\nconsole.log(pounds); // 5.25\r\n\r\n// Add 12 ounces\r\npounds += (12 / 16);\r\n\r\nconsole.log(pounds); // 6\r\n\r\n// Verify total is 6 pounds\r\nif (pounds === 6) {\r\n    // Format total for human-readable string\r\n    console.log(Mass.format(pounds)); // \"6 lbs\"\r\n} else {\r\n    console.error('Did we forget to run our tests?');\r\n}\r\n```\r\n",
+    "content": "[![BCH compliance](https://bettercodehub.com/edge/badge/MeekLogic/Mass.js?branch=master)](https://bettercodehub.com/) [![Coverage Status](https://coveralls.io/repos/github/MeekLogic/Mass.js/badge.svg?branch=master)](https://coveralls.io/github/MeekLogic/Mass.js?branch=master) [![Build Status](https://travis-ci.com/MeekLogic/Mass.js.svg?branch=master)](https://travis-ci.com/MeekLogic/Mass.js)\r\n\r\nMass.js\r\n=========\r\nJavaScript library for parsing and formatting mass units.\r\n\r\n**[Documentation](https://meeklogic.github.io/Mass.js/)**\r\n\r\nInstall\r\n-------\r\n```javascript\r\nnpm install mass.js\r\n```\r\n\r\nUsage\r\n-----\r\n**ES6**\r\n```javascript\r\nimport Mass from 'mass.js/src/Mass_US';\r\n```\r\n\r\n**CommonJS**\r\n```javascript\r\nvar Mass = require('mass.js');\r\n```\r\n\r\nSystem of Units\r\n--------------\r\nDefault system for units of mass is **U.S. customary** but can be changed by requiring an alternative entry point (*Mass_US*, *Mass_UK*, or *Mass_SI*).\r\n\r\n```javascript\r\nvar Mass = require('mass.js/dist/Mass_US'); // U.S. customary\r\nvar Mass = require('mass.js/dist/Mass_UK'); // Imperial\r\nvar Mass = require('mass.js/dist/Mass_SI'); // International System of Units (unfinished)\r\n```\r\n\r\nExample\r\n-------\r\n```javascript\r\n// Parse string for ounces\r\nlet pounds = Mass.parse('5lbs  4 oz');\r\n\r\nconsole.log(pounds); // 5.25\r\n\r\n// Add 12 ounces\r\npounds += (12 / 16);\r\n\r\nconsole.log(pounds); // 6\r\n\r\n// Verify total is 6 pounds\r\nif (pounds === 6) {\r\n    // Format total for human-readable string\r\n    console.log(Mass.format(pounds)); // \"6 lbs\"\r\n} else {\r\n    console.error('Did we forget to run our tests?');\r\n}\r\n```\r\n",
     "longname": "D:\\Users\\Tyler\\Documents\\Projects\\Mass.js\\README.md",
     "name": "./README.md",
     "static": true,
@@ -814,7 +814,7 @@
   },
   {
     "kind": "packageJSON",
-    "content": "{\r\n  \"name\": \"mass.js\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"JavaScript library for parsing and formatting mass units.\",\r\n  \"homepage\": \"https://meeklogic.github.io/Mass.js/\",\r\n  \"main\": \"./dist/Mass_US.min.js\",\r\n  \"scripts\": {\r\n    \"build\": \"npx webpack --config webpack.config.js\",\r\n    \"lint\": \"./node_modules/.bin/eslint --config ./.eslintrc.js ./src\",\r\n    \"test\": \"npm run tests\",\r\n    \"tests\": \"node ./scripts/tests.js | tap-spec\",\r\n    \"test:coverage\": \"npm run tests:coverage\",\r\n    \"tests:coverage\": \"npx nyc npm run tests\",\r\n    \"speed\": \"npm run performance\",\r\n    \"performance\": \"node ./scripts/performance.js\",\r\n    \"doc\": \"npm run documentation\",\r\n    \"docs\": \"npm run documentation\",\r\n    \"documentation\": \"npx esdoc\",\r\n    \"example\": \"node ./scripts/example.js\"\r\n  },\r\n  \"keywords\": [\r\n    \"weight\",\r\n    \"conversion\",\r\n    \"imperial\",\r\n    \"pound\",\r\n    \"ounce\",\r\n    \"mass\"\r\n  ],\r\n  \"repository\": {\r\n    \"type\": \"git\",\r\n    \"url\": \"git+https://github.com/MeekLogic/Mass.js\"\r\n  },\r\n  \"bugs\": {\r\n    \"url\": \"https://github.com/MeekLogic/Mass.js/issues\"\r\n  },\r\n  \"author\": \"MeekLogic (Tyler Vigario)\",\r\n  \"license\": \"GPL-3.0-only\",\r\n  \"devDependencies\": {\r\n    \"@babel/core\": \"^7.6.4\",\r\n    \"@babel/preset-env\": \"^7.6.3\",\r\n    \"babel-loader\": \"^8.0.6\",\r\n    \"esdoc\": \"^1.1.0\",\r\n    \"esdoc-standard-plugin\": \"^1.0.0\",\r\n    \"eslint\": \"^6.5.1\",\r\n    \"microtime\": \"^3.0.0\",\r\n    \"nyc\": \"^14.1.1\",\r\n    \"tap-spec\": \"^5.0.0\",\r\n    \"tape\": \"^4.11.0\",\r\n    \"uglifyjs-webpack-plugin\": \"^2.2.0\",\r\n    \"webpack\": \"^4.41.2\",\r\n    \"webpack-cli\": \"^3.3.9\"\r\n  },\r\n  \"dependencies\": {},\r\n  \"nyc\": {\r\n    \"include\": [\r\n      \"**/dist/Mass_US.js\"\r\n    ]\r\n  }\r\n}\r\n",
+    "content": "{\r\n  \"name\": \"mass.js\",\r\n  \"version\": \"1.0.1\",\r\n  \"description\": \"JavaScript library for parsing and formatting mass units.\",\r\n  \"homepage\": \"https://meeklogic.github.io/Mass.js/\",\r\n  \"main\": \"./dist/Mass_US.min.js\",\r\n  \"scripts\": {\r\n    \"build\": \"npx webpack --config webpack.config.js\",\r\n    \"lint\": \"./node_modules/.bin/eslint --config ./.eslintrc.js ./src\",\r\n    \"test\": \"npm run tests\",\r\n    \"tests\": \"node ./scripts/tests.js | tap-spec\",\r\n    \"test:coverage\": \"npm run tests:coverage\",\r\n    \"tests:coverage\": \"npx nyc npm run tests\",\r\n    \"speed\": \"npm run performance\",\r\n    \"performance\": \"node ./scripts/performance.js\",\r\n    \"doc\": \"npm run documentation\",\r\n    \"docs\": \"npm run documentation\",\r\n    \"documentation\": \"npx esdoc\",\r\n    \"example\": \"node ./scripts/example.js\"\r\n  },\r\n  \"keywords\": [\r\n    \"weight\",\r\n    \"conversion\",\r\n    \"imperial\",\r\n    \"pound\",\r\n    \"ounce\",\r\n    \"mass\"\r\n  ],\r\n  \"repository\": {\r\n    \"type\": \"git\",\r\n    \"url\": \"git+https://github.com/MeekLogic/Mass.js\"\r\n  },\r\n  \"bugs\": {\r\n    \"url\": \"https://github.com/MeekLogic/Mass.js/issues\"\r\n  },\r\n  \"author\": \"MeekLogic (Tyler Vigario)\",\r\n  \"license\": \"GPL-3.0-only\",\r\n  \"devDependencies\": {\r\n    \"@babel/core\": \"^7.6.4\",\r\n    \"@babel/preset-env\": \"^7.6.3\",\r\n    \"babel-loader\": \"^8.0.6\",\r\n    \"esdoc\": \"^1.1.0\",\r\n    \"esdoc-standard-plugin\": \"^1.0.0\",\r\n    \"eslint\": \"^6.5.1\",\r\n    \"microtime\": \"^3.0.0\",\r\n    \"nyc\": \"^14.1.1\",\r\n    \"tap-spec\": \"^5.0.0\",\r\n    \"tape\": \"^4.11.0\",\r\n    \"uglifyjs-webpack-plugin\": \"^2.2.0\",\r\n    \"webpack\": \"^4.41.2\",\r\n    \"webpack-cli\": \"^3.3.9\"\r\n  },\r\n  \"dependencies\": {},\r\n  \"nyc\": {\r\n    \"include\": [\r\n      \"**/dist/Mass_US.js\"\r\n    ]\r\n  }\r\n}\r\n",
     "longname": "D:\\Users\\Tyler\\Documents\\Projects\\Mass.js\\package.json",
     "name": "package.json",
     "static": true,
diff --git a/docs/source.html b/docs/source.html
index 2152c65..2b8f576 100644
--- a/docs/source.html
+++ b/docs/source.html
@@ -50,36 +50,36 @@
   
     
   
-      src/MassJS.js
+      src/MassJS.js
       MassJS
       83 %5/6
-      7871 byte
-      241
-      2019-10-03 06:55:15 (UTC)
+      7867 byte
+      240
+      2019-10-03 08:05:02 (UTC)
     
 
       src/Mass_SI.js
       -
       -
-      657 byte
-      40
-      2019-10-03 07:14:08 (UTC)
+      811 byte
+      47
+      2019-10-03 08:09:39 (UTC)
     
 
       src/Mass_UK.js
       -
       -
-      1291 byte
-      79
-      2019-10-03 07:15:25 (UTC)
+      1424 byte
+      86
+      2019-10-03 08:09:42 (UTC)
     
 
       src/Mass_US.js
       -
       -
-      1134 byte
-      69
-      2019-10-03 07:20:09 (UTC)
+      1273 byte
+      76
+      2019-10-03 08:07:47 (UTC)
     
 
 
diff --git a/package.json b/package.json
index 962534e..56cf3ef 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "mass.js",
-  "version": "1.0.0",
+  "version": "1.0.1",
   "description": "JavaScript library for parsing and formatting mass units.",
   "homepage": "https://meeklogic.github.io/Mass.js/",
   "main": "./dist/Mass_US.min.js",
diff --git a/src/MassJS.js b/src/MassJS.js
index 24b527e..729dfdf 100644
--- a/src/MassJS.js
+++ b/src/MassJS.js
@@ -1,10 +1,9 @@
-  
 /** 
  * Parsing and formatting mass units.
  *
  * @author Tyler Vigario (MeekLogic)
  * @license GPL-3.0-only
- * @version 1.0.0
+ * @version 1.0.1
  */
 
 /**
diff --git a/src/Mass_SI.js b/src/Mass_SI.js
index 9be20d3..21c0199 100644
--- a/src/Mass_SI.js
+++ b/src/Mass_SI.js
@@ -1,6 +1,13 @@
+/** 
+ * Entry-point containing International System of Units units of mass.
+ *
+ * @author Tyler Vigario (MeekLogic)
+ * @license GPL-3.0-only
+ * @version 1.0.0
+ */
+
 import MassJS from './MassJS';
 
-// US Mass units
 var Mass = new MassJS([{
     name: 'ton',
     value: 1000,
diff --git a/src/Mass_UK.js b/src/Mass_UK.js
index a83cb5e..81d863e 100644
--- a/src/Mass_UK.js
+++ b/src/Mass_UK.js
@@ -1,6 +1,13 @@
+/** 
+ * Entry-point containing Imperial units of mass.
+ *
+ * @author Tyler Vigario (MeekLogic)
+ * @license GPL-3.0-only
+ * @version 1.0.0
+ */
+
 import MassJS from './MassJS';
 
-// US Mass units
 var Mass = new MassJS([{
     name: 'ton',
     value: 2240,
diff --git a/src/Mass_US.js b/src/Mass_US.js
index 44145f8..6812fbd 100644
--- a/src/Mass_US.js
+++ b/src/Mass_US.js
@@ -1,6 +1,13 @@
+/** 
+ * Entry-point containing U.S. customary units of mass.
+ *
+ * @author Tyler Vigario (MeekLogic)
+ * @license GPL-3.0-only
+ * @version 1.0.1
+ */
+
 import MassJS from './MassJS';
 
-// US Mass units
 var Mass = new MassJS([{
     name: 'ton',
     value: 2000,