{ "type": "Program", "body": [ { "type": "ImportDeclaration", "specifiers": [ { "type": "ImportDefaultSpecifier", "local": { "type": "Identifier", "name": "Dom", "range": [ 7, 10 ], "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 10 } } }, "range": [ 7, 10 ], "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 10 } } } ], "source": { "type": "Literal", "value": "../../dom", "raw": "'../../dom'", "range": [ 16, 27 ], "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 27 } } }, "range": [ 0, 28 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 28 } } }, { "type": "ImportDeclaration", "specifiers": [ { "type": "ImportDefaultSpecifier", "local": { "type": "Identifier", "name": "Str", "range": [ 37, 40 ], "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 10 } } }, "range": [ 37, 40 ], "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 10 } } } ], "source": { "type": "Literal", "value": "../../string", "raw": "'../../string'", "range": [ 46, 60 ], "loc": { "start": { "line": 2, "column": 16 }, "end": { "line": 2, "column": 30 } } }, "range": [ 30, 61 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 31 } } }, { "type": "ImportDeclaration", "specifiers": [ { "type": "ImportDefaultSpecifier", "local": { "type": "Identifier", "name": "Types", "range": [ 70, 75 ], "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 12 } } }, "range": [ 70, 75 ], "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 12 } } } ], "source": { "type": "Literal", "value": "../../types", "raw": "'../../types'", "range": [ 81, 94 ], "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 31 } } }, "range": [ 63, 95 ], "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 32 } } }, { "type": "ExportDefaultDeclaration", "declaration": { "type": "ClassDeclaration", "id": { "type": "Identifier", "name": "ColOps", "range": [ 120, 126 ], "loc": { "start": { "line": 5, "column": 21 }, "end": { "line": 5, "column": 27 } } }, "superClass": null, "body": { "type": "ClassBody", "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "range": [ 229, 240 ], "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 15 } } }, "value": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "tf", "range": [ 241, 243 ], "loc": { "start": { "line": 11, "column": 16 }, "end": { "line": 11, "column": 18 } } }, { "type": "Identifier", "name": "opts", "range": [ 245, 249 ], "loc": { "start": { "line": 11, "column": 20 }, "end": { "line": 11, "column": 24 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 311, 315 ], "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 12 } } }, "property": { "type": "Identifier", "name": "onBeforeOperation", "range": [ 316, 333 ], "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 30 } } }, "range": [ 311, 333 ], "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 30 } } }, "right": { "type": "ConditionalExpression", "test": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Types", "range": [ 336, 341 ], "loc": { "start": { "line": 14, "column": 33 }, "end": { "line": 14, "column": 38 } } }, "property": { "type": "Identifier", "name": "isFn", "range": [ 342, 346 ], "loc": { "start": { "line": 14, "column": 39 }, "end": { "line": 14, "column": 43 } } }, "range": [ 336, 346 ], "loc": { "start": { "line": 14, "column": 33 }, "end": { "line": 14, "column": 43 } } }, "arguments": [ { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 347, 351 ], "loc": { "start": { "line": 14, "column": 44 }, "end": { "line": 14, "column": 48 } } }, "property": { "type": "Identifier", "name": "on_before_operation", "range": [ 352, 371 ], "loc": { "start": { "line": 14, "column": 49 }, "end": { "line": 14, "column": 68 } } }, "range": [ 347, 371 ], "loc": { "start": { "line": 14, "column": 44 }, "end": { "line": 14, "column": 68 } } } ], "range": [ 336, 372 ], "loc": { "start": { "line": 14, "column": 33 }, "end": { "line": 14, "column": 69 } } }, "consequent": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 388, 392 ], "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 16 } } }, "property": { "type": "Identifier", "name": "on_before_operation", "range": [ 393, 412 ], "loc": { "start": { "line": 15, "column": 17 }, "end": { "line": 15, "column": 36 } } }, "range": [ 388, 412 ], "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 36 } } }, "alternate": { "type": "Literal", "value": null, "raw": "null", "range": [ 415, 419 ], "loc": { "start": { "line": 15, "column": 39 }, "end": { "line": 15, "column": 43 } } }, "range": [ 336, 419 ], "loc": { "start": { "line": 14, "column": 33 }, "end": { "line": 15, "column": 43 } } }, "range": [ 311, 419 ], "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 15, "column": 43 } } }, "range": [ 311, 420 ], "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 15, "column": 44 } }, "leadingComments": [ { "type": "Line", "value": "calls function before col operation", "range": [ 264, 301 ], "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 45 } } } ], "trailingComments": [ { "type": "Line", "value": "calls function after col operation", "range": [ 430, 466 ], "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 44 } } } ] }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 476, 480 ], "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 12 } } }, "property": { "type": "Identifier", "name": "onAfterOperation", "range": [ 481, 497 ], "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 29 } } }, "range": [ 476, 497 ], "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 29 } } }, "right": { "type": "ConditionalExpression", "test": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Types", "range": [ 500, 505 ], "loc": { "start": { "line": 17, "column": 32 }, "end": { "line": 17, "column": 37 } } }, "property": { "type": "Identifier", "name": "isFn", "range": [ 506, 510 ], "loc": { "start": { "line": 17, "column": 38 }, "end": { "line": 17, "column": 42 } } }, "range": [ 500, 510 ], "loc": { "start": { "line": 17, "column": 32 }, "end": { "line": 17, "column": 42 } } }, "arguments": [ { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 511, 515 ], "loc": { "start": { "line": 17, "column": 43 }, "end": { "line": 17, "column": 47 } } }, "property": { "type": "Identifier", "name": "on_after_operation", "range": [ 516, 534 ], "loc": { "start": { "line": 17, "column": 48 }, "end": { "line": 17, "column": 66 } } }, "range": [ 511, 534 ], "loc": { "start": { "line": 17, "column": 43 }, "end": { "line": 17, "column": 66 } } } ], "range": [ 500, 535 ], "loc": { "start": { "line": 17, "column": 32 }, "end": { "line": 17, "column": 67 } } }, "consequent": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 551, 555 ], "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 16 } } }, "property": { "type": "Identifier", "name": "on_after_operation", "range": [ 556, 574 ], "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 35 } } }, "range": [ 551, 574 ], "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 35 } } }, "alternate": { "type": "Literal", "value": null, "raw": "null", "range": [ 577, 581 ], "loc": { "start": { "line": 18, "column": 38 }, "end": { "line": 18, "column": 42 } } }, "range": [ 500, 581 ], "loc": { "start": { "line": 17, "column": 32 }, "end": { "line": 18, "column": 42 } } }, "range": [ 476, 581 ], "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 18, "column": 42 } } }, "range": [ 476, 582 ], "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 18, "column": 43 } }, "leadingComments": [ { "type": "Line", "value": "calls function after col operation", "range": [ 430, 466 ], "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 44 } } } ] }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 594, 598 ], "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 12 } } }, "property": { "type": "Identifier", "name": "opts", "range": [ 599, 603 ], "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 17 } } }, "range": [ 594, 603 ], "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 17 } } }, "right": { "type": "Identifier", "name": "opts", "range": [ 606, 610 ], "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 20, "column": 24 } } }, "range": [ 594, 610 ], "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 24 } } }, "range": [ 594, 611 ], "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 25 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 621, 625 ], "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 12 } } }, "property": { "type": "Identifier", "name": "tf", "range": [ 626, 628 ], "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 15 } } }, "range": [ 621, 628 ], "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 15 } } }, "right": { "type": "Identifier", "name": "tf", "range": [ 631, 633 ], "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 20 } } }, "range": [ 621, 633 ], "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 20 } } }, "range": [ 621, 634 ], "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 21 } } } ], "range": [ 251, 641 ], "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 22, "column": 5 } } }, "generator": false, "expression": false, "range": [ 240, 641 ], "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 22, "column": 5 } } }, "kind": "constructor", "computed": false, "range": [ 229, 641 ], "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 22, "column": 5 } }, "leadingComments": [ { "type": "Block", "value": "*\r\n * Column calculations\r\n * @param {Object} tf TableFilter instance\r\n ", "range": [ 135, 223 ], "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 10, "column": 7 } } } ], "static": false }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "init", "range": [ 649, 653 ], "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 8 } } }, "value": { "type": "FunctionExpression", "id": null, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 666, 670 ], "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 12 } } }, "property": { "type": "Identifier", "name": "calc", "range": [ 671, 675 ], "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 17 } } }, "range": [ 666, 675 ], "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 17 } } }, "arguments": [], "range": [ 666, 677 ], "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 19 } } }, "range": [ 666, 678 ], "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 20 } } } ], "range": [ 655, 685 ], "loc": { "start": { "line": 24, "column": 10 }, "end": { "line": 26, "column": 5 } } }, "generator": false, "expression": false, "range": [ 653, 685 ], "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 26, "column": 5 } } }, "kind": "method", "computed": false, "range": [ 649, 685 ], "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 26, "column": 5 } }, "trailingComments": [ { "type": "Block", "value": "*\r\n * Calculates columns' values\r\n * Configuration options are stored in 'opts' property\r\n * - 'id' contains ids of elements showing result (array)\r\n * - 'col' contains the columns' indexes (array)\r\n * - 'operation' contains operation type (array, values: 'sum', 'mean',\r\n * 'min', 'max', 'median', 'q1', 'q3')\r\n * - 'write_method' array defines which method to use for displaying the\r\n * result (innerHTML, setValue, createTextNode) - default: 'innerHTML'\r\n * - 'tot_row_index' defines in which row results are displayed\r\n * (integers array)\r\n *\r\n * - changes made by Nuovella:\r\n * (1) optimized the routine (now it will only process each column once),\r\n * (2) added calculations for the median, lower and upper quartile.\r\n ", "range": [ 693, 1489 ], "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 43, "column": 7 } } } ], "static": false }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "calc", "range": [ 1495, 1499 ], "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 8 } } }, "value": { "type": "FunctionExpression", "id": null, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "tf", "range": [ 1517, 1519 ], "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 14 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 1522, 1526 ], "loc": { "start": { "line": 45, "column": 17 }, "end": { "line": 45, "column": 21 } } }, "property": { "type": "Identifier", "name": "tf", "range": [ 1527, 1529 ], "loc": { "start": { "line": 45, "column": 22 }, "end": { "line": 45, "column": 24 } } }, "range": [ 1522, 1529 ], "loc": { "start": { "line": 45, "column": 17 }, "end": { "line": 45, "column": 24 } } }, "range": [ 1517, 1529 ], "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 24 } } } ], "kind": "var", "range": [ 1513, 1530 ], "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 25 } } }, { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "tf", "range": [ 1544, 1546 ], "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 14 } } }, "property": { "type": "Identifier", "name": "isFirstLoad", "range": [ 1547, 1558 ], "loc": { "start": { "line": 46, "column": 15 }, "end": { "line": 46, "column": 26 } } }, "range": [ 1544, 1558 ], "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 26 } } }, "prefix": true, "range": [ 1543, 1558 ], "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 26 } } }, "right": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "tf", "range": [ 1563, 1565 ], "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 33 } } }, "property": { "type": "Identifier", "name": "hasGrid", "range": [ 1566, 1573 ], "loc": { "start": { "line": 46, "column": 34 }, "end": { "line": 46, "column": 41 } } }, "range": [ 1563, 1573 ], "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 41 } } }, "arguments": [], "range": [ 1563, 1575 ], "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 43 } } }, "prefix": true, "range": [ 1562, 1575 ], "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 46, "column": 43 } } }, "range": [ 1543, 1575 ], "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 43 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": null, "range": [ 1591, 1598 ], "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 19 } } } ], "range": [ 1576, 1609 ], "loc": { "start": { "line": 46, "column": 44 }, "end": { "line": 48, "column": 9 } } }, "alternate": null, "range": [ 1540, 1609 ], "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 48, "column": 9 } } }, { "type": "IfStatement", "test": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 1624, 1628 ], "loc": { "start": { "line": 50, "column": 11 }, "end": { "line": 50, "column": 15 } } }, "property": { "type": "Identifier", "name": "onBeforeOperation", "range": [ 1629, 1646 ], "loc": { "start": { "line": 50, "column": 16 }, "end": { "line": 50, "column": 33 } } }, "range": [ 1624, 1646 ], "loc": { "start": { "line": 50, "column": 11 }, "end": { "line": 50, "column": 33 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 1662, 1666 ], "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 16 } } }, "property": { "type": "Identifier", "name": "onBeforeOperation", "range": [ 1667, 1684 ], "loc": { "start": { "line": 51, "column": 17 }, "end": { "line": 51, "column": 34 } } }, "range": [ 1662, 1684 ], "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 34 } } }, "property": { "type": "Identifier", "name": "call", "range": [ 1685, 1689 ], "loc": { "start": { "line": 51, "column": 35 }, "end": { "line": 51, "column": 39 } } }, "range": [ 1662, 1689 ], "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 39 } } }, "arguments": [ { "type": "Literal", "value": null, "raw": "null", "range": [ 1690, 1694 ], "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 44 } } }, { "type": "Identifier", "name": "tf", "range": [ 1696, 1698 ], "loc": { "start": { "line": 51, "column": 46 }, "end": { "line": 51, "column": 48 } } } ], "range": [ 1662, 1699 ], "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 49 } } }, "range": [ 1662, 1700 ], "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 50 } } } ], "range": [ 1647, 1711 ], "loc": { "start": { "line": 50, "column": 34 }, "end": { "line": 52, "column": 9 } } }, "alternate": null, "range": [ 1621, 1711 ], "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 52, "column": 9 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "opts", "range": [ 1727, 1731 ], "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 16 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 1734, 1738 ], "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 23 } } }, "property": { "type": "Identifier", "name": "opts", "range": [ 1739, 1743 ], "loc": { "start": { "line": 54, "column": 24 }, "end": { "line": 54, "column": 28 } } }, "range": [ 1734, 1743 ], "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 28 } } }, "range": [ 1727, 1743 ], "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 28 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "labelId", "range": [ 1758, 1765 ], "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 19 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 1768, 1772 ], "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 26 } } }, "property": { "type": "Identifier", "name": "id", "range": [ 1773, 1775 ], "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 29 } } }, "range": [ 1768, 1775 ], "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 29 } } }, "range": [ 1758, 1775 ], "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 29 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "colIndex", "range": [ 1790, 1798 ], "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 20 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 1801, 1805 ], "loc": { "start": { "line": 56, "column": 23 }, "end": { "line": 56, "column": 27 } } }, "property": { "type": "Identifier", "name": "col", "range": [ 1806, 1809 ], "loc": { "start": { "line": 56, "column": 28 }, "end": { "line": 56, "column": 31 } } }, "range": [ 1801, 1809 ], "loc": { "start": { "line": 56, "column": 23 }, "end": { "line": 56, "column": 31 } } }, "range": [ 1790, 1809 ], "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 31 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "operation", "range": [ 1824, 1833 ], "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 21 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 1836, 1840 ], "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 28 } } }, "property": { "type": "Identifier", "name": "operation", "range": [ 1841, 1850 ], "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 38 } } }, "range": [ 1836, 1850 ], "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 38 } } }, "range": [ 1824, 1850 ], "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 38 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "outputType", "range": [ 1865, 1875 ], "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 22 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 1878, 1882 ], "loc": { "start": { "line": 58, "column": 25 }, "end": { "line": 58, "column": 29 } } }, "property": { "type": "Identifier", "name": "write_method", "range": [ 1883, 1895 ], "loc": { "start": { "line": 58, "column": 30 }, "end": { "line": 58, "column": 42 } } }, "range": [ 1878, 1895 ], "loc": { "start": { "line": 58, "column": 25 }, "end": { "line": 58, "column": 42 } } }, "range": [ 1865, 1895 ], "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 42 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "totRowIndex", "range": [ 1910, 1921 ], "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 23 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 1924, 1928 ], "loc": { "start": { "line": 59, "column": 26 }, "end": { "line": 59, "column": 30 } } }, "property": { "type": "Identifier", "name": "tot_row_index", "range": [ 1929, 1942 ], "loc": { "start": { "line": 59, "column": 31 }, "end": { "line": 59, "column": 44 } } }, "range": [ 1924, 1942 ], "loc": { "start": { "line": 59, "column": 26 }, "end": { "line": 59, "column": 44 } } }, "range": [ 1910, 1942 ], "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 44 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "excludeRow", "range": [ 1957, 1967 ], "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 22 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 1970, 1974 ], "loc": { "start": { "line": 60, "column": 25 }, "end": { "line": 60, "column": 29 } } }, "property": { "type": "Identifier", "name": "exclude_row", "range": [ 1975, 1986 ], "loc": { "start": { "line": 60, "column": 30 }, "end": { "line": 60, "column": 41 } } }, "range": [ 1970, 1986 ], "loc": { "start": { "line": 60, "column": 25 }, "end": { "line": 60, "column": 41 } } }, "range": [ 1957, 1986 ], "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 41 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "decimalPrecision", "range": [ 2001, 2017 ], "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 28 } } }, "init": { "type": "ConditionalExpression", "test": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Types", "range": [ 2020, 2025 ], "loc": { "start": { "line": 61, "column": 31 }, "end": { "line": 61, "column": 36 } } }, "property": { "type": "Identifier", "name": "isUndef", "range": [ 2026, 2033 ], "loc": { "start": { "line": 61, "column": 37 }, "end": { "line": 61, "column": 44 } } }, "range": [ 2020, 2033 ], "loc": { "start": { "line": 61, "column": 31 }, "end": { "line": 61, "column": 44 } } }, "arguments": [ { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 2034, 2038 ], "loc": { "start": { "line": 61, "column": 45 }, "end": { "line": 61, "column": 49 } } }, "property": { "type": "Identifier", "name": "decimal_precision", "range": [ 2039, 2056 ], "loc": { "start": { "line": 61, "column": 50 }, "end": { "line": 61, "column": 67 } } }, "range": [ 2034, 2056 ], "loc": { "start": { "line": 61, "column": 45 }, "end": { "line": 61, "column": 67 } } } ], "range": [ 2020, 2057 ], "loc": { "start": { "line": 61, "column": 31 }, "end": { "line": 61, "column": 68 } } }, "consequent": { "type": "Literal", "value": 2, "raw": "2", "range": [ 2077, 2078 ], "loc": { "start": { "line": 62, "column": 16 }, "end": { "line": 62, "column": 17 } } }, "alternate": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "opts", "range": [ 2081, 2085 ], "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 24 } } }, "property": { "type": "Identifier", "name": "decimal_precision", "range": [ 2086, 2103 ], "loc": { "start": { "line": 62, "column": 25 }, "end": { "line": 62, "column": 42 } } }, "range": [ 2081, 2103 ], "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 42 } } }, "range": [ 2020, 2103 ], "loc": { "start": { "line": 61, "column": 31 }, "end": { "line": 62, "column": 42 } } }, "range": [ 2001, 2103 ], "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 62, "column": 42 } } } ], "kind": "var", "range": [ 1723, 2104 ], "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 62, "column": 43 } }, "trailingComments": [ { "type": "Line", "value": "nuovella: determine unique list of columns to operate on", "range": [ 2116, 2174 ], "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 66 } } } ] }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "ucolIndex", "range": [ 2188, 2197 ], "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 21 } } }, "init": { "type": "ArrayExpression", "elements": [], "range": [ 2200, 2202 ], "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 26 } } }, "range": [ 2188, 2202 ], "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 26 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "ucolMax", "range": [ 2217, 2224 ], "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 19 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 2227, 2228 ], "loc": { "start": { "line": 66, "column": 22 }, "end": { "line": 66, "column": 23 } } }, "range": [ 2217, 2228 ], "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 23 } } } ], "kind": "var", "range": [ 2184, 2229 ], "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 66, "column": 24 } }, "leadingComments": [ { "type": "Line", "value": "nuovella: determine unique list of columns to operate on", "range": [ 2116, 2174 ], "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 66 } } } ] }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "ucolIndex", "range": [ 2239, 2248 ], "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 17 } } }, "property": { "type": "Identifier", "name": "ucolMax", "range": [ 2249, 2256 ], "loc": { "start": { "line": 67, "column": 18 }, "end": { "line": 67, "column": 25 } } }, "range": [ 2239, 2257 ], "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 26 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colIndex", "range": [ 2260, 2268 ], "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 37 } } }, "property": { "type": "Literal", "value": 0, "raw": "0", "range": [ 2269, 2270 ], "loc": { "start": { "line": 67, "column": 38 }, "end": { "line": 67, "column": 39 } } }, "range": [ 2260, 2271 ], "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 40 } } }, "range": [ 2239, 2271 ], "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 40 } } }, "range": [ 2239, 2272 ], "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 41 } } }, { "type": "ForStatement", "init": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "ii", "range": [ 2292, 2294 ], "loc": { "start": { "line": 69, "column": 16 }, "end": { "line": 69, "column": 18 } } }, "init": { "type": "Literal", "value": 1, "raw": "1", "range": [ 2295, 2296 ], "loc": { "start": { "line": 69, "column": 19 }, "end": { "line": 69, "column": 20 } } }, "range": [ 2292, 2296 ], "loc": { "start": { "line": 69, "column": 16 }, "end": { "line": 69, "column": 20 } } } ], "kind": "var", "range": [ 2288, 2296 ], "loc": { "start": { "line": 69, "column": 12 }, "end": { "line": 69, "column": 20 } } }, "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "Identifier", "name": "ii", "range": [ 2298, 2300 ], "loc": { "start": { "line": 69, "column": 22 }, "end": { "line": 69, "column": 24 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "colIndex", "range": [ 2301, 2309 ], "loc": { "start": { "line": 69, "column": 25 }, "end": { "line": 69, "column": 33 } } }, "property": { "type": "Identifier", "name": "length", "range": [ 2310, 2316 ], "loc": { "start": { "line": 69, "column": 34 }, "end": { "line": 69, "column": 40 } } }, "range": [ 2301, 2316 ], "loc": { "start": { "line": 69, "column": 25 }, "end": { "line": 69, "column": 40 } } }, "range": [ 2298, 2316 ], "loc": { "start": { "line": 69, "column": 22 }, "end": { "line": 69, "column": 40 } } }, "update": { "type": "UpdateExpression", "operator": "++", "argument": { "type": "Identifier", "name": "ii", "range": [ 2318, 2320 ], "loc": { "start": { "line": 69, "column": 42 }, "end": { "line": 69, "column": 44 } } }, "prefix": false, "range": [ 2318, 2322 ], "loc": { "start": { "line": 69, "column": 42 }, "end": { "line": 69, "column": 46 } } }, "body": { "type": "BlockStatement", "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "saved", "range": [ 2342, 2347 ], "loc": { "start": { "line": 70, "column": 16 }, "end": { "line": 70, "column": 21 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 2350, 2351 ], "loc": { "start": { "line": 70, "column": 24 }, "end": { "line": 70, "column": 25 } } }, "range": [ 2342, 2351 ], "loc": { "start": { "line": 70, "column": 16 }, "end": { "line": 70, "column": 25 } } } ], "kind": "var", "range": [ 2338, 2352 ], "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 70, "column": 26 } }, "trailingComments": [ { "type": "Line", "value": "see if colIndex[ii] is already in the list of unique indexes", "range": [ 2366, 2428 ], "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 74 } } } ] }, { "type": "ForStatement", "init": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "jj", "range": [ 2450, 2452 ], "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 22 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 2453, 2454 ], "loc": { "start": { "line": 72, "column": 23 }, "end": { "line": 72, "column": 24 } } }, "range": [ 2450, 2454 ], "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 24 } } } ], "kind": "var", "range": [ 2446, 2454 ], "loc": { "start": { "line": 72, "column": 16 }, "end": { "line": 72, "column": 24 } } }, "test": { "type": "BinaryExpression", "operator": "<=", "left": { "type": "Identifier", "name": "jj", "range": [ 2456, 2458 ], "loc": { "start": { "line": 72, "column": 26 }, "end": { "line": 72, "column": 28 } } }, "right": { "type": "Identifier", "name": "ucolMax", "range": [ 2460, 2467 ], "loc": { "start": { "line": 72, "column": 30 }, "end": { "line": 72, "column": 37 } } }, "range": [ 2456, 2467 ], "loc": { "start": { "line": 72, "column": 26 }, "end": { "line": 72, "column": 37 } } }, "update": { "type": "UpdateExpression", "operator": "++", "argument": { "type": "Identifier", "name": "jj", "range": [ 2469, 2471 ], "loc": { "start": { "line": 72, "column": 39 }, "end": { "line": 72, "column": 41 } } }, "prefix": false, "range": [ 2469, 2473 ], "loc": { "start": { "line": 72, "column": 39 }, "end": { "line": 72, "column": 43 } } }, "body": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "ucolIndex", "range": [ 2496, 2505 ], "loc": { "start": { "line": 73, "column": 19 }, "end": { "line": 73, "column": 28 } } }, "property": { "type": "Identifier", "name": "jj", "range": [ 2506, 2508 ], "loc": { "start": { "line": 73, "column": 29 }, "end": { "line": 73, "column": 31 } } }, "range": [ 2496, 2509 ], "loc": { "start": { "line": 73, "column": 19 }, "end": { "line": 73, "column": 32 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colIndex", "range": [ 2514, 2522 ], "loc": { "start": { "line": 73, "column": 37 }, "end": { "line": 73, "column": 45 } } }, "property": { "type": "Identifier", "name": "ii", "range": [ 2523, 2525 ], "loc": { "start": { "line": 73, "column": 46 }, "end": { "line": 73, "column": 48 } } }, "range": [ 2514, 2526 ], "loc": { "start": { "line": 73, "column": 37 }, "end": { "line": 73, "column": 49 } } }, "range": [ 2496, 2526 ], "loc": { "start": { "line": 73, "column": 19 }, "end": { "line": 73, "column": 49 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "saved", "range": [ 2550, 2555 ], "loc": { "start": { "line": 74, "column": 20 }, "end": { "line": 74, "column": 25 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 2558, 2559 ], "loc": { "start": { "line": 74, "column": 28 }, "end": { "line": 74, "column": 29 } } }, "range": [ 2550, 2559 ], "loc": { "start": { "line": 74, "column": 20 }, "end": { "line": 74, "column": 29 } } }, "range": [ 2550, 2560 ], "loc": { "start": { "line": 74, "column": 20 }, "end": { "line": 74, "column": 30 } } } ], "range": [ 2527, 2579 ], "loc": { "start": { "line": 73, "column": 50 }, "end": { "line": 75, "column": 17 } } }, "alternate": null, "range": [ 2493, 2579 ], "loc": { "start": { "line": 73, "column": 16 }, "end": { "line": 75, "column": 17 } } } ], "range": [ 2474, 2594 ], "loc": { "start": { "line": 72, "column": 44 }, "end": { "line": 76, "column": 13 } } }, "range": [ 2442, 2594 ], "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 76, "column": 13 } }, "leadingComments": [ { "type": "Line", "value": "see if colIndex[ii] is already in the list of unique indexes", "range": [ 2366, 2428 ], "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 74 } } } ], "trailingComments": [ { "type": "Line", "value": "if not saved then, save the index;", "range": [ 2608, 2644 ], "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 48 } } } ] }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "saved", "range": [ 2662, 2667 ], "loc": { "start": { "line": 78, "column": 16 }, "end": { "line": 78, "column": 21 } } }, "right": { "type": "Literal", "value": 0, "raw": "0", "range": [ 2672, 2673 ], "loc": { "start": { "line": 78, "column": 26 }, "end": { "line": 78, "column": 27 } } }, "range": [ 2662, 2673 ], "loc": { "start": { "line": 78, "column": 16 }, "end": { "line": 78, "column": 27 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "UpdateExpression", "operator": "++", "argument": { "type": "Identifier", "name": "ucolMax", "range": [ 2693, 2700 ], "loc": { "start": { "line": 79, "column": 16 }, "end": { "line": 79, "column": 23 } } }, "prefix": false, "range": [ 2693, 2702 ], "loc": { "start": { "line": 79, "column": 16 }, "end": { "line": 79, "column": 25 } } }, "range": [ 2693, 2703 ], "loc": { "start": { "line": 79, "column": 16 }, "end": { "line": 79, "column": 26 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "ucolIndex", "range": [ 2721, 2730 ], "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 25 } } }, "property": { "type": "Identifier", "name": "ucolMax", "range": [ 2731, 2738 ], "loc": { "start": { "line": 80, "column": 26 }, "end": { "line": 80, "column": 33 } } }, "range": [ 2721, 2739 ], "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 34 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colIndex", "range": [ 2742, 2750 ], "loc": { "start": { "line": 80, "column": 37 }, "end": { "line": 80, "column": 45 } } }, "property": { "type": "Identifier", "name": "ii", "range": [ 2751, 2753 ], "loc": { "start": { "line": 80, "column": 46 }, "end": { "line": 80, "column": 48 } } }, "range": [ 2742, 2754 ], "loc": { "start": { "line": 80, "column": 37 }, "end": { "line": 80, "column": 49 } } }, "range": [ 2721, 2754 ], "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 49 } } }, "range": [ 2721, 2755 ], "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 50 } } } ], "range": [ 2674, 2770 ], "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 81, "column": 13 } } }, "alternate": null, "range": [ 2658, 2770 ], "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 81, "column": 13 } }, "leadingComments": [ { "type": "Line", "value": "if not saved then, save the index;", "range": [ 2608, 2644 ], "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 48 } } } ] } ], "range": [ 2323, 2781 ], "loc": { "start": { "line": 69, "column": 47 }, "end": { "line": 82, "column": 9 } } }, "range": [ 2284, 2781 ], "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 82, "column": 9 } } }, { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "BinaryExpression", "operator": "==", "left": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Str", "range": [ 2796, 2799 ], "loc": { "start": { "line": 84, "column": 11 }, "end": { "line": 84, "column": 14 } } }, "property": { "type": "Identifier", "name": "lower", "range": [ 2800, 2805 ], "loc": { "start": { "line": 84, "column": 15 }, "end": { "line": 84, "column": 20 } } }, "range": [ 2796, 2805 ], "loc": { "start": { "line": 84, "column": 11 }, "end": { "line": 84, "column": 20 } } }, "arguments": [ { "type": "UnaryExpression", "operator": "typeof", "argument": { "type": "Identifier", "name": "labelId", "range": [ 2813, 2820 ], "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 35 } } }, "prefix": true, "range": [ 2806, 2820 ], "loc": { "start": { "line": 84, "column": 21 }, "end": { "line": 84, "column": 35 } } } ], "range": [ 2796, 2821 ], "loc": { "start": { "line": 84, "column": 11 }, "end": { "line": 84, "column": 36 } } }, "right": { "type": "Literal", "value": "object", "raw": "'object'", "range": [ 2823, 2831 ], "loc": { "start": { "line": 84, "column": 38 }, "end": { "line": 84, "column": 46 } } }, "range": [ 2796, 2831 ], "loc": { "start": { "line": 84, "column": 11 }, "end": { "line": 84, "column": 46 } } }, "right": { "type": "BinaryExpression", "operator": "==", "left": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Str", "range": [ 2848, 2851 ], "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 15 } } }, "property": { "type": "Identifier", "name": "lower", "range": [ 2852, 2857 ], "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 21 } } }, "range": [ 2848, 2857 ], "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 21 } } }, "arguments": [ { "type": "UnaryExpression", "operator": "typeof", "argument": { "type": "Identifier", "name": "colIndex", "range": [ 2865, 2873 ], "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 37 } } }, "prefix": true, "range": [ 2858, 2873 ], "loc": { "start": { "line": 85, "column": 22 }, "end": { "line": 85, "column": 37 } } } ], "range": [ 2848, 2874 ], "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 38 } } }, "right": { "type": "Literal", "value": "object", "raw": "'object'", "range": [ 2876, 2884 ], "loc": { "start": { "line": 85, "column": 40 }, "end": { "line": 85, "column": 48 } } }, "range": [ 2848, 2884 ], "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 48 } } }, "range": [ 2796, 2884 ], "loc": { "start": { "line": 84, "column": 11 }, "end": { "line": 85, "column": 48 } } }, "right": { "type": "BinaryExpression", "operator": "==", "left": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Str", "range": [ 2901, 2904 ], "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 15 } } }, "property": { "type": "Identifier", "name": "lower", "range": [ 2905, 2910 ], "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 21 } } }, "range": [ 2901, 2910 ], "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 21 } } }, "arguments": [ { "type": "UnaryExpression", "operator": "typeof", "argument": { "type": "Identifier", "name": "operation", "range": [ 2918, 2927 ], "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 38 } } }, "prefix": true, "range": [ 2911, 2927 ], "loc": { "start": { "line": 86, "column": 22 }, "end": { "line": 86, "column": 38 } } } ], "range": [ 2901, 2928 ], "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 39 } } }, "right": { "type": "Literal", "value": "object", "raw": "'object'", "range": [ 2930, 2938 ], "loc": { "start": { "line": 86, "column": 41 }, "end": { "line": 86, "column": 49 } } }, "range": [ 2901, 2938 ], "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 49 } } }, "range": [ 2796, 2938 ], "loc": { "start": { "line": 84, "column": 11 }, "end": { "line": 86, "column": 49 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "rows", "range": [ 2958, 2962 ], "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 20 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "tf", "range": [ 2965, 2967 ], "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 25 } } }, "property": { "type": "Identifier", "name": "tbl", "range": [ 2968, 2971 ], "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "column": 29 } } }, "range": [ 2965, 2971 ], "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 29 } } }, "property": { "type": "Identifier", "name": "rows", "range": [ 2972, 2976 ], "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 34 } } }, "range": [ 2965, 2976 ], "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 34 } } }, "range": [ 2958, 2976 ], "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 34 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "colvalues", "range": [ 2995, 3004 ], "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 25 } } }, "init": { "type": "ArrayExpression", "elements": [], "range": [ 3007, 3009 ], "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 30 } } }, "range": [ 2995, 3009 ], "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 30 } } } ], "kind": "var", "range": [ 2954, 3010 ], "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 88, "column": 31 } } }, { "type": "ForStatement", "init": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "ucol", "range": [ 3034, 3038 ], "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 24 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3039, 3040 ], "loc": { "start": { "line": 90, "column": 25 }, "end": { "line": 90, "column": 26 } } }, "range": [ 3034, 3040 ], "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 26 } } } ], "kind": "var", "range": [ 3030, 3040 ], "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 26 } } }, "test": { "type": "BinaryExpression", "operator": "<=", "left": { "type": "Identifier", "name": "ucol", "range": [ 3042, 3046 ], "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 32 } } }, "right": { "type": "Identifier", "name": "ucolMax", "range": [ 3048, 3055 ], "loc": { "start": { "line": 90, "column": 34 }, "end": { "line": 90, "column": 41 } } }, "range": [ 3042, 3055 ], "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 41 } } }, "update": { "type": "UpdateExpression", "operator": "++", "argument": { "type": "Identifier", "name": "ucol", "range": [ 3057, 3061 ], "loc": { "start": { "line": 90, "column": 43 }, "end": { "line": 90, "column": 47 } } }, "prefix": false, "range": [ 3057, 3063 ], "loc": { "start": { "line": 90, "column": 43 }, "end": { "line": 90, "column": 49 } } }, "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "colvalues", "range": [ 3285, 3294 ], "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 94, "column": 25 } } }, "property": { "type": "Identifier", "name": "push", "range": [ 3295, 3299 ], "loc": { "start": { "line": 94, "column": 26 }, "end": { "line": 94, "column": 30 } } }, "range": [ 3285, 3299 ], "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 94, "column": 30 } } }, "arguments": [ { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "tf", "range": [ 3322, 3324 ], "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 22 } } }, "property": { "type": "Identifier", "name": "getColValues", "range": [ 3325, 3337 ], "loc": { "start": { "line": 95, "column": 23 }, "end": { "line": 95, "column": 35 } } }, "range": [ 3322, 3337 ], "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 35 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "ucolIndex", "range": [ 3338, 3347 ], "loc": { "start": { "line": 95, "column": 36 }, "end": { "line": 95, "column": 45 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 3348, 3352 ], "loc": { "start": { "line": 95, "column": 46 }, "end": { "line": 95, "column": 50 } } }, "range": [ 3338, 3353 ], "loc": { "start": { "line": 95, "column": 36 }, "end": { "line": 95, "column": 51 } } }, { "type": "Literal", "value": true, "raw": "true", "range": [ 3355, 3359 ], "loc": { "start": { "line": 95, "column": 53 }, "end": { "line": 95, "column": 57 } } }, { "type": "Identifier", "name": "excludeRow", "range": [ 3361, 3371 ], "loc": { "start": { "line": 95, "column": 59 }, "end": { "line": 95, "column": 69 } } } ], "range": [ 3322, 3372 ], "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 70 } } } ], "range": [ 3285, 3373 ], "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 95, "column": 71 } } }, "range": [ 3285, 3374 ], "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 95, "column": 72 } }, "leadingComments": [ { "type": "Line", "value": "this retrieves col values", "range": [ 3083, 3110 ], "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 43 } } }, { "type": "Line", "value": "use ucolIndex because we only want to pass through this loop", "range": [ 3128, 3190 ], "loc": { "start": { "line": 92, "column": 16 }, "end": { "line": 92, "column": 78 } } }, { "type": "Line", "value": "once for each column get the values in this unique column", "range": [ 3208, 3267 ], "loc": { "start": { "line": 93, "column": 16 }, "end": { "line": 93, "column": 75 } } } ], "trailingComments": [ { "type": "Line", "value": "next: calculate all operations for this column", "range": [ 3394, 3442 ], "loc": { "start": { "line": 97, "column": 16 }, "end": { "line": 97, "column": 64 } } } ] }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "result", "range": [ 3464, 3470 ], "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 26 } } }, "init": null, "range": [ 3464, 3470 ], "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 26 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "nbvalues", "range": [ 3493, 3501 ], "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 28 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3502, 3503 ], "loc": { "start": { "line": 99, "column": 29 }, "end": { "line": 99, "column": 30 } } }, "range": [ 3493, 3503 ], "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 30 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "temp", "range": [ 3526, 3530 ], "loc": { "start": { "line": 100, "column": 20 }, "end": { "line": 100, "column": 24 } } }, "init": null, "range": [ 3526, 3530 ], "loc": { "start": { "line": 100, "column": 20 }, "end": { "line": 100, "column": 24 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "meanValue", "range": [ 3553, 3562 ], "loc": { "start": { "line": 101, "column": 20 }, "end": { "line": 101, "column": 29 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3563, 3564 ], "loc": { "start": { "line": 101, "column": 30 }, "end": { "line": 101, "column": 31 } } }, "range": [ 3553, 3564 ], "loc": { "start": { "line": 101, "column": 20 }, "end": { "line": 101, "column": 31 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "sumValue", "range": [ 3587, 3595 ], "loc": { "start": { "line": 102, "column": 20 }, "end": { "line": 102, "column": 28 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3596, 3597 ], "loc": { "start": { "line": 102, "column": 29 }, "end": { "line": 102, "column": 30 } } }, "range": [ 3587, 3597 ], "loc": { "start": { "line": 102, "column": 20 }, "end": { "line": 102, "column": 30 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "minValue", "range": [ 3620, 3628 ], "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 28 } } }, "init": { "type": "Literal", "value": null, "raw": "null", "range": [ 3629, 3633 ], "loc": { "start": { "line": 103, "column": 29 }, "end": { "line": 103, "column": 33 } } }, "range": [ 3620, 3633 ], "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 33 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "maxValue", "range": [ 3656, 3664 ], "loc": { "start": { "line": 104, "column": 20 }, "end": { "line": 104, "column": 28 } } }, "init": { "type": "Literal", "value": null, "raw": "null", "range": [ 3665, 3669 ], "loc": { "start": { "line": 104, "column": 29 }, "end": { "line": 104, "column": 33 } } }, "range": [ 3656, 3669 ], "loc": { "start": { "line": 104, "column": 20 }, "end": { "line": 104, "column": 33 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "q1Value", "range": [ 3692, 3699 ], "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 27 } } }, "init": { "type": "Literal", "value": null, "raw": "null", "range": [ 3700, 3704 ], "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 32 } } }, "range": [ 3692, 3704 ], "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 32 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "medValue", "range": [ 3727, 3735 ], "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 106, "column": 28 } } }, "init": { "type": "Literal", "value": null, "raw": "null", "range": [ 3736, 3740 ], "loc": { "start": { "line": 106, "column": 29 }, "end": { "line": 106, "column": 33 } } }, "range": [ 3727, 3740 ], "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 106, "column": 33 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "q3Value", "range": [ 3763, 3770 ], "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 27 } } }, "init": { "type": "Literal", "value": null, "raw": "null", "range": [ 3771, 3775 ], "loc": { "start": { "line": 107, "column": 28 }, "end": { "line": 107, "column": 32 } } }, "range": [ 3763, 3775 ], "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 32 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "meanFlag", "range": [ 3798, 3806 ], "loc": { "start": { "line": 108, "column": 20 }, "end": { "line": 108, "column": 28 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3807, 3808 ], "loc": { "start": { "line": 108, "column": 29 }, "end": { "line": 108, "column": 30 } } }, "range": [ 3798, 3808 ], "loc": { "start": { "line": 108, "column": 20 }, "end": { "line": 108, "column": 30 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "sumFlag", "range": [ 3831, 3838 ], "loc": { "start": { "line": 109, "column": 20 }, "end": { "line": 109, "column": 27 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3839, 3840 ], "loc": { "start": { "line": 109, "column": 28 }, "end": { "line": 109, "column": 29 } } }, "range": [ 3831, 3840 ], "loc": { "start": { "line": 109, "column": 20 }, "end": { "line": 109, "column": 29 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "minFlag", "range": [ 3863, 3870 ], "loc": { "start": { "line": 110, "column": 20 }, "end": { "line": 110, "column": 27 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3871, 3872 ], "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 29 } } }, "range": [ 3863, 3872 ], "loc": { "start": { "line": 110, "column": 20 }, "end": { "line": 110, "column": 29 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "maxFlag", "range": [ 3895, 3902 ], "loc": { "start": { "line": 111, "column": 20 }, "end": { "line": 111, "column": 27 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3903, 3904 ], "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 29 } } }, "range": [ 3895, 3904 ], "loc": { "start": { "line": 111, "column": 20 }, "end": { "line": 111, "column": 29 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "q1Flag", "range": [ 3927, 3933 ], "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 26 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3934, 3935 ], "loc": { "start": { "line": 112, "column": 27 }, "end": { "line": 112, "column": 28 } } }, "range": [ 3927, 3935 ], "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 28 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "medFlag", "range": [ 3958, 3965 ], "loc": { "start": { "line": 113, "column": 20 }, "end": { "line": 113, "column": 27 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3966, 3967 ], "loc": { "start": { "line": 113, "column": 28 }, "end": { "line": 113, "column": 29 } } }, "range": [ 3958, 3967 ], "loc": { "start": { "line": 113, "column": 20 }, "end": { "line": 113, "column": 29 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "q3Flag", "range": [ 3990, 3996 ], "loc": { "start": { "line": 114, "column": 20 }, "end": { "line": 114, "column": 26 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 3997, 3998 ], "loc": { "start": { "line": 114, "column": 27 }, "end": { "line": 114, "column": 28 } } }, "range": [ 3990, 3998 ], "loc": { "start": { "line": 114, "column": 20 }, "end": { "line": 114, "column": 28 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "theList", "range": [ 4021, 4028 ], "loc": { "start": { "line": 115, "column": 20 }, "end": { "line": 115, "column": 27 } } }, "init": { "type": "ArrayExpression", "elements": [], "range": [ 4029, 4031 ], "loc": { "start": { "line": 115, "column": 28 }, "end": { "line": 115, "column": 30 } } }, "range": [ 4021, 4031 ], "loc": { "start": { "line": 115, "column": 20 }, "end": { "line": 115, "column": 30 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "opsThisCol", "range": [ 4054, 4064 ], "loc": { "start": { "line": 116, "column": 20 }, "end": { "line": 116, "column": 30 } } }, "init": { "type": "ArrayExpression", "elements": [], "range": [ 4065, 4067 ], "loc": { "start": { "line": 116, "column": 31 }, "end": { "line": 116, "column": 33 } } }, "range": [ 4054, 4067 ], "loc": { "start": { "line": 116, "column": 20 }, "end": { "line": 116, "column": 33 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "decThisCol", "range": [ 4090, 4100 ], "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 117, "column": 30 } } }, "init": { "type": "ArrayExpression", "elements": [], "range": [ 4101, 4103 ], "loc": { "start": { "line": 117, "column": 31 }, "end": { "line": 117, "column": 33 } } }, "range": [ 4090, 4103 ], "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 117, "column": 33 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "labThisCol", "range": [ 4126, 4136 ], "loc": { "start": { "line": 118, "column": 20 }, "end": { "line": 118, "column": 30 } } }, "init": { "type": "ArrayExpression", "elements": [], "range": [ 4137, 4139 ], "loc": { "start": { "line": 118, "column": 31 }, "end": { "line": 118, "column": 33 } } }, "range": [ 4126, 4139 ], "loc": { "start": { "line": 118, "column": 20 }, "end": { "line": 118, "column": 33 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "oTypeThisCol", "range": [ 4162, 4174 ], "loc": { "start": { "line": 119, "column": 20 }, "end": { "line": 119, "column": 32 } } }, "init": { "type": "ArrayExpression", "elements": [], "range": [ 4175, 4177 ], "loc": { "start": { "line": 119, "column": 33 }, "end": { "line": 119, "column": 35 } } }, "range": [ 4162, 4177 ], "loc": { "start": { "line": 119, "column": 20 }, "end": { "line": 119, "column": 35 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "mThisCol", "range": [ 4200, 4208 ], "loc": { "start": { "line": 120, "column": 20 }, "end": { "line": 120, "column": 28 } } }, "init": { "type": "UnaryExpression", "operator": "-", "argument": { "type": "Literal", "value": 1, "raw": "1", "range": [ 4210, 4211 ], "loc": { "start": { "line": 120, "column": 30 }, "end": { "line": 120, "column": 31 } } }, "prefix": true, "range": [ 4209, 4211 ], "loc": { "start": { "line": 120, "column": 29 }, "end": { "line": 120, "column": 31 } } }, "range": [ 4200, 4211 ], "loc": { "start": { "line": 120, "column": 20 }, "end": { "line": 120, "column": 31 } } } ], "kind": "var", "range": [ 3460, 4212 ], "loc": { "start": { "line": 98, "column": 16 }, "end": { "line": 120, "column": 32 } }, "leadingComments": [ { "type": "Line", "value": "next: calculate all operations for this column", "range": [ 3394, 3442 ], "loc": { "start": { "line": 97, "column": 16 }, "end": { "line": 97, "column": 64 } } } ] }, { "type": "ForStatement", "init": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "k", "range": [ 4240, 4241 ], "loc": { "start": { "line": 122, "column": 24 }, "end": { "line": 122, "column": 25 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 4242, 4243 ], "loc": { "start": { "line": 122, "column": 26 }, "end": { "line": 122, "column": 27 } } }, "range": [ 4240, 4243 ], "loc": { "start": { "line": 122, "column": 24 }, "end": { "line": 122, "column": 27 } } } ], "kind": "var", "range": [ 4236, 4243 ], "loc": { "start": { "line": 122, "column": 20 }, "end": { "line": 122, "column": 27 } } }, "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "Identifier", "name": "k", "range": [ 4245, 4246 ], "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 30 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "colIndex", "range": [ 4247, 4255 ], "loc": { "start": { "line": 122, "column": 31 }, "end": { "line": 122, "column": 39 } } }, "property": { "type": "Identifier", "name": "length", "range": [ 4256, 4262 ], "loc": { "start": { "line": 122, "column": 40 }, "end": { "line": 122, "column": 46 } } }, "range": [ 4247, 4262 ], "loc": { "start": { "line": 122, "column": 31 }, "end": { "line": 122, "column": 46 } } }, "range": [ 4245, 4262 ], "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 46 } } }, "update": { "type": "UpdateExpression", "operator": "++", "argument": { "type": "Identifier", "name": "k", "range": [ 4264, 4265 ], "loc": { "start": { "line": 122, "column": 48 }, "end": { "line": 122, "column": 49 } } }, "prefix": false, "range": [ 4264, 4267 ], "loc": { "start": { "line": 122, "column": 48 }, "end": { "line": 122, "column": 51 } } }, "body": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colIndex", "range": [ 4295, 4303 ], "loc": { "start": { "line": 123, "column": 24 }, "end": { "line": 123, "column": 32 } } }, "property": { "type": "Identifier", "name": "k", "range": [ 4304, 4305 ], "loc": { "start": { "line": 123, "column": 33 }, "end": { "line": 123, "column": 34 } } }, "range": [ 4295, 4306 ], "loc": { "start": { "line": 123, "column": 24 }, "end": { "line": 123, "column": 35 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "ucolIndex", "range": [ 4311, 4320 ], "loc": { "start": { "line": 123, "column": 40 }, "end": { "line": 123, "column": 49 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 4321, 4325 ], "loc": { "start": { "line": 123, "column": 50 }, "end": { "line": 123, "column": 54 } } }, "range": [ 4311, 4326 ], "loc": { "start": { "line": 123, "column": 40 }, "end": { "line": 123, "column": 55 } } }, "range": [ 4295, 4326 ], "loc": { "start": { "line": 123, "column": 24 }, "end": { "line": 123, "column": 55 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "UpdateExpression", "operator": "++", "argument": { "type": "Identifier", "name": "mThisCol", "range": [ 4354, 4362 ], "loc": { "start": { "line": 124, "column": 24 }, "end": { "line": 124, "column": 32 } } }, "prefix": false, "range": [ 4354, 4364 ], "loc": { "start": { "line": 124, "column": 24 }, "end": { "line": 124, "column": 34 } } }, "range": [ 4354, 4365 ], "loc": { "start": { "line": 124, "column": 24 }, "end": { "line": 124, "column": 35 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "opsThisCol", "range": [ 4391, 4401 ], "loc": { "start": { "line": 125, "column": 24 }, "end": { "line": 125, "column": 34 } } }, "property": { "type": "Identifier", "name": "mThisCol", "range": [ 4402, 4410 ], "loc": { "start": { "line": 125, "column": 35 }, "end": { "line": 125, "column": 43 } } }, "range": [ 4391, 4411 ], "loc": { "start": { "line": 125, "column": 24 }, "end": { "line": 125, "column": 44 } } }, "right": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Str", "range": [ 4412, 4415 ], "loc": { "start": { "line": 125, "column": 45 }, "end": { "line": 125, "column": 48 } } }, "property": { "type": "Identifier", "name": "lower", "range": [ 4416, 4421 ], "loc": { "start": { "line": 125, "column": 49 }, "end": { "line": 125, "column": 54 } } }, "range": [ 4412, 4421 ], "loc": { "start": { "line": 125, "column": 45 }, "end": { "line": 125, "column": 54 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "operation", "range": [ 4422, 4431 ], "loc": { "start": { "line": 125, "column": 55 }, "end": { "line": 125, "column": 64 } } }, "property": { "type": "Identifier", "name": "k", "range": [ 4432, 4433 ], "loc": { "start": { "line": 125, "column": 65 }, "end": { "line": 125, "column": 66 } } }, "range": [ 4422, 4434 ], "loc": { "start": { "line": 125, "column": 55 }, "end": { "line": 125, "column": 67 } } } ], "range": [ 4412, 4435 ], "loc": { "start": { "line": 125, "column": 45 }, "end": { "line": 125, "column": 68 } } }, "range": [ 4391, 4435 ], "loc": { "start": { "line": 125, "column": 24 }, "end": { "line": 125, "column": 68 } } }, "range": [ 4391, 4436 ], "loc": { "start": { "line": 125, "column": 24 }, "end": { "line": 125, "column": 69 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "decThisCol", "range": [ 4462, 4472 ], "loc": { "start": { "line": 126, "column": 24 }, "end": { "line": 126, "column": 34 } } }, "property": { "type": "Identifier", "name": "mThisCol", "range": [ 4473, 4481 ], "loc": { "start": { "line": 126, "column": 35 }, "end": { "line": 126, "column": 43 } } }, "range": [ 4462, 4482 ], "loc": { "start": { "line": 126, "column": 24 }, "end": { "line": 126, "column": 44 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "decimalPrecision", "range": [ 4483, 4499 ], "loc": { "start": { "line": 126, "column": 45 }, "end": { "line": 126, "column": 61 } } }, "property": { "type": "Identifier", "name": "k", "range": [ 4500, 4501 ], "loc": { "start": { "line": 126, "column": 62 }, "end": { "line": 126, "column": 63 } } }, "range": [ 4483, 4502 ], "loc": { "start": { "line": 126, "column": 45 }, "end": { "line": 126, "column": 64 } } }, "range": [ 4462, 4502 ], "loc": { "start": { "line": 126, "column": 24 }, "end": { "line": 126, "column": 64 } } }, "range": [ 4462, 4503 ], "loc": { "start": { "line": 126, "column": 24 }, "end": { "line": 126, "column": 65 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "labThisCol", "range": [ 4529, 4539 ], "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 34 } } }, "property": { "type": "Identifier", "name": "mThisCol", "range": [ 4540, 4548 ], "loc": { "start": { "line": 127, "column": 35 }, "end": { "line": 127, "column": 43 } } }, "range": [ 4529, 4549 ], "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 44 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "labelId", "range": [ 4550, 4557 ], "loc": { "start": { "line": 127, "column": 45 }, "end": { "line": 127, "column": 52 } } }, "property": { "type": "Identifier", "name": "k", "range": [ 4558, 4559 ], "loc": { "start": { "line": 127, "column": 53 }, "end": { "line": 127, "column": 54 } } }, "range": [ 4550, 4560 ], "loc": { "start": { "line": 127, "column": 45 }, "end": { "line": 127, "column": 55 } } }, "range": [ 4529, 4560 ], "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 55 } } }, "range": [ 4529, 4561 ], "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 56 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "oTypeThisCol", "range": [ 4587, 4599 ], "loc": { "start": { "line": 128, "column": 24 }, "end": { "line": 128, "column": 36 } } }, "right": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "BinaryExpression", "operator": "!==", "left": { "type": "Identifier", "name": "outputType", "range": [ 4602, 4612 ], "loc": { "start": { "line": 128, "column": 39 }, "end": { "line": 128, "column": 49 } } }, "right": { "type": "Identifier", "name": "undefined", "range": [ 4617, 4626 ], "loc": { "start": { "line": 128, "column": 54 }, "end": { "line": 128, "column": 63 } } }, "range": [ 4602, 4626 ], "loc": { "start": { "line": 128, "column": 39 }, "end": { "line": 128, "column": 63 } } }, "right": { "type": "BinaryExpression", "operator": "===", "left": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Str", "range": [ 4659, 4662 ], "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 31 } } }, "property": { "type": "Identifier", "name": "lower", "range": [ 4663, 4668 ], "loc": { "start": { "line": 129, "column": 32 }, "end": { "line": 129, "column": 37 } } }, "range": [ 4659, 4668 ], "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 37 } } }, "arguments": [ { "type": "UnaryExpression", "operator": "typeof", "argument": { "type": "Identifier", "name": "outputType", "range": [ 4676, 4686 ], "loc": { "start": { "line": 129, "column": 45 }, "end": { "line": 129, "column": 55 } } }, "prefix": true, "range": [ 4669, 4686 ], "loc": { "start": { "line": 129, "column": 38 }, "end": { "line": 129, "column": 55 } } } ], "range": [ 4659, 4687 ], "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 56 } } }, "right": { "type": "Literal", "value": "object", "raw": "'object'", "range": [ 4690, 4698 ], "loc": { "start": { "line": 129, "column": 59 }, "end": { "line": 129, "column": 67 } } }, "range": [ 4659, 4698 ], "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 67 } } }, "range": [ 4602, 4698 ], "loc": { "start": { "line": 128, "column": 39 }, "end": { "line": 129, "column": 67 } } }, "consequent": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "outputType", "range": [ 4730, 4740 ], "loc": { "start": { "line": 130, "column": 28 }, "end": { "line": 130, "column": 38 } } }, "property": { "type": "Identifier", "name": "k", "range": [ 4741, 4742 ], "loc": { "start": { "line": 130, "column": 39 }, "end": { "line": 130, "column": 40 } } }, "range": [ 4730, 4743 ], "loc": { "start": { "line": 130, "column": 28 }, "end": { "line": 130, "column": 41 } } }, "alternate": { "type": "Literal", "value": null, "raw": "null", "range": [ 4746, 4750 ], "loc": { "start": { "line": 130, "column": 44 }, "end": { "line": 130, "column": 48 } } }, "range": [ 4602, 4750 ], "loc": { "start": { "line": 128, "column": 39 }, "end": { "line": 130, "column": 48 } } }, "range": [ 4587, 4750 ], "loc": { "start": { "line": 128, "column": 24 }, "end": { "line": 130, "column": 48 } } }, "range": [ 4587, 4751 ], "loc": { "start": { "line": 128, "column": 24 }, "end": { "line": 130, "column": 49 } } }, { "type": "SwitchStatement", "discriminant": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "opsThisCol", "range": [ 4786, 4796 ], "loc": { "start": { "line": 132, "column": 31 }, "end": { "line": 132, "column": 41 } } }, "property": { "type": "Identifier", "name": "mThisCol", "range": [ 4797, 4805 ], "loc": { "start": { "line": 132, "column": 42 }, "end": { "line": 132, "column": 50 } } }, "range": [ 4786, 4806 ], "loc": { "start": { "line": 132, "column": 31 }, "end": { "line": 132, "column": 51 } } }, "cases": [ { "type": "SwitchCase", "test": { "type": "Literal", "value": "mean", "raw": "'mean'", "range": [ 4843, 4849 ], "loc": { "start": { "line": 133, "column": 33 }, "end": { "line": 133, "column": 39 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "meanFlag", "range": [ 4884, 4892 ], "loc": { "start": { "line": 134, "column": 32 }, "end": { "line": 134, "column": 40 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 4893, 4894 ], "loc": { "start": { "line": 134, "column": 41 }, "end": { "line": 134, "column": 42 } } }, "range": [ 4884, 4894 ], "loc": { "start": { "line": 134, "column": 32 }, "end": { "line": 134, "column": 42 } } }, "range": [ 4884, 4895 ], "loc": { "start": { "line": 134, "column": 32 }, "end": { "line": 134, "column": 43 } } }, { "type": "BreakStatement", "label": null, "range": [ 4925, 4931 ], "loc": { "start": { "line": 135, "column": 28 }, "end": { "line": 135, "column": 34 } } } ], "range": [ 4838, 4931 ], "loc": { "start": { "line": 133, "column": 28 }, "end": { "line": 135, "column": 34 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "sum", "raw": "'sum'", "range": [ 4966, 4971 ], "loc": { "start": { "line": 136, "column": 33 }, "end": { "line": 136, "column": 38 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "sumFlag", "range": [ 5006, 5013 ], "loc": { "start": { "line": 137, "column": 32 }, "end": { "line": 137, "column": 39 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 5014, 5015 ], "loc": { "start": { "line": 137, "column": 40 }, "end": { "line": 137, "column": 41 } } }, "range": [ 5006, 5015 ], "loc": { "start": { "line": 137, "column": 32 }, "end": { "line": 137, "column": 41 } } }, "range": [ 5006, 5016 ], "loc": { "start": { "line": 137, "column": 32 }, "end": { "line": 137, "column": 42 } } }, { "type": "BreakStatement", "label": null, "range": [ 5046, 5052 ], "loc": { "start": { "line": 138, "column": 28 }, "end": { "line": 138, "column": 34 } } } ], "range": [ 4961, 5052 ], "loc": { "start": { "line": 136, "column": 28 }, "end": { "line": 138, "column": 34 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "min", "raw": "'min'", "range": [ 5087, 5092 ], "loc": { "start": { "line": 139, "column": 33 }, "end": { "line": 139, "column": 38 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "minFlag", "range": [ 5127, 5134 ], "loc": { "start": { "line": 140, "column": 32 }, "end": { "line": 140, "column": 39 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 5135, 5136 ], "loc": { "start": { "line": 140, "column": 40 }, "end": { "line": 140, "column": 41 } } }, "range": [ 5127, 5136 ], "loc": { "start": { "line": 140, "column": 32 }, "end": { "line": 140, "column": 41 } } }, "range": [ 5127, 5137 ], "loc": { "start": { "line": 140, "column": 32 }, "end": { "line": 140, "column": 42 } } }, { "type": "BreakStatement", "label": null, "range": [ 5167, 5173 ], "loc": { "start": { "line": 141, "column": 28 }, "end": { "line": 141, "column": 34 } } } ], "range": [ 5082, 5173 ], "loc": { "start": { "line": 139, "column": 28 }, "end": { "line": 141, "column": 34 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "max", "raw": "'max'", "range": [ 5208, 5213 ], "loc": { "start": { "line": 142, "column": 33 }, "end": { "line": 142, "column": 38 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "maxFlag", "range": [ 5248, 5255 ], "loc": { "start": { "line": 143, "column": 32 }, "end": { "line": 143, "column": 39 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 5256, 5257 ], "loc": { "start": { "line": 143, "column": 40 }, "end": { "line": 143, "column": 41 } } }, "range": [ 5248, 5257 ], "loc": { "start": { "line": 143, "column": 32 }, "end": { "line": 143, "column": 41 } } }, "range": [ 5248, 5258 ], "loc": { "start": { "line": 143, "column": 32 }, "end": { "line": 143, "column": 42 } } }, { "type": "BreakStatement", "label": null, "range": [ 5288, 5294 ], "loc": { "start": { "line": 144, "column": 28 }, "end": { "line": 144, "column": 34 } } } ], "range": [ 5203, 5294 ], "loc": { "start": { "line": 142, "column": 28 }, "end": { "line": 144, "column": 34 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "median", "raw": "'median'", "range": [ 5329, 5337 ], "loc": { "start": { "line": 145, "column": 33 }, "end": { "line": 145, "column": 41 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "medFlag", "range": [ 5372, 5379 ], "loc": { "start": { "line": 146, "column": 32 }, "end": { "line": 146, "column": 39 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 5380, 5381 ], "loc": { "start": { "line": 146, "column": 40 }, "end": { "line": 146, "column": 41 } } }, "range": [ 5372, 5381 ], "loc": { "start": { "line": 146, "column": 32 }, "end": { "line": 146, "column": 41 } } }, "range": [ 5372, 5382 ], "loc": { "start": { "line": 146, "column": 32 }, "end": { "line": 146, "column": 42 } } }, { "type": "BreakStatement", "label": null, "range": [ 5416, 5422 ], "loc": { "start": { "line": 147, "column": 32 }, "end": { "line": 147, "column": 38 } } } ], "range": [ 5324, 5422 ], "loc": { "start": { "line": 145, "column": 28 }, "end": { "line": 147, "column": 38 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "q1", "raw": "'q1'", "range": [ 5457, 5461 ], "loc": { "start": { "line": 148, "column": 33 }, "end": { "line": 148, "column": 37 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "q1Flag", "range": [ 5496, 5502 ], "loc": { "start": { "line": 149, "column": 32 }, "end": { "line": 149, "column": 38 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 5503, 5504 ], "loc": { "start": { "line": 149, "column": 39 }, "end": { "line": 149, "column": 40 } } }, "range": [ 5496, 5504 ], "loc": { "start": { "line": 149, "column": 32 }, "end": { "line": 149, "column": 40 } } }, "range": [ 5496, 5505 ], "loc": { "start": { "line": 149, "column": 32 }, "end": { "line": 149, "column": 41 } } }, { "type": "BreakStatement", "label": null, "range": [ 5535, 5541 ], "loc": { "start": { "line": 150, "column": 28 }, "end": { "line": 150, "column": 34 } } } ], "range": [ 5452, 5541 ], "loc": { "start": { "line": 148, "column": 28 }, "end": { "line": 150, "column": 34 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "q3", "raw": "'q3'", "range": [ 5576, 5580 ], "loc": { "start": { "line": 151, "column": 33 }, "end": { "line": 151, "column": 37 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "q3Flag", "range": [ 5615, 5621 ], "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 38 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 5622, 5623 ], "loc": { "start": { "line": 152, "column": 39 }, "end": { "line": 152, "column": 40 } } }, "range": [ 5615, 5623 ], "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 40 } } }, "range": [ 5615, 5624 ], "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 41 } } }, { "type": "BreakStatement", "label": null, "range": [ 5654, 5660 ], "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 34 } } } ], "range": [ 5571, 5660 ], "loc": { "start": { "line": 151, "column": 28 }, "end": { "line": 153, "column": 34 } } } ], "range": [ 4779, 5687 ], "loc": { "start": { "line": 132, "column": 24 }, "end": { "line": 154, "column": 25 } } } ], "range": [ 4327, 5710 ], "loc": { "start": { "line": 123, "column": 56 }, "end": { "line": 155, "column": 21 } } }, "alternate": null, "range": [ 4292, 5710 ], "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 155, "column": 21 } } } ], "range": [ 4268, 5729 ], "loc": { "start": { "line": 122, "column": 52 }, "end": { "line": 156, "column": 17 } } }, "range": [ 4232, 5729 ], "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 156, "column": 17 } } }, { "type": "ForStatement", "init": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "j", "range": [ 5757, 5758 ], "loc": { "start": { "line": 158, "column": 24 }, "end": { "line": 158, "column": 25 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 5759, 5760 ], "loc": { "start": { "line": 158, "column": 26 }, "end": { "line": 158, "column": 27 } } }, "range": [ 5757, 5760 ], "loc": { "start": { "line": 158, "column": 24 }, "end": { "line": 158, "column": 27 } } } ], "kind": "var", "range": [ 5753, 5760 ], "loc": { "start": { "line": 158, "column": 20 }, "end": { "line": 158, "column": 27 } } }, "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "Identifier", "name": "j", "range": [ 5762, 5763 ], "loc": { "start": { "line": 158, "column": 29 }, "end": { "line": 158, "column": 30 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colvalues", "range": [ 5764, 5773 ], "loc": { "start": { "line": 158, "column": 31 }, "end": { "line": 158, "column": 40 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 5774, 5778 ], "loc": { "start": { "line": 158, "column": 41 }, "end": { "line": 158, "column": 45 } } }, "range": [ 5764, 5779 ], "loc": { "start": { "line": 158, "column": 31 }, "end": { "line": 158, "column": 46 } } }, "property": { "type": "Identifier", "name": "length", "range": [ 5780, 5786 ], "loc": { "start": { "line": 158, "column": 47 }, "end": { "line": 158, "column": 53 } } }, "range": [ 5764, 5786 ], "loc": { "start": { "line": 158, "column": 31 }, "end": { "line": 158, "column": 53 } } }, "range": [ 5762, 5786 ], "loc": { "start": { "line": 158, "column": 29 }, "end": { "line": 158, "column": 53 } } }, "update": { "type": "UpdateExpression", "operator": "++", "argument": { "type": "Identifier", "name": "j", "range": [ 5788, 5789 ], "loc": { "start": { "line": 158, "column": 55 }, "end": { "line": 158, "column": 56 } } }, "prefix": false, "range": [ 5788, 5791 ], "loc": { "start": { "line": 158, "column": 55 }, "end": { "line": 158, "column": 58 } } }, "body": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "||", "left": { "type": "LogicalExpression", "operator": "||", "left": { "type": "BinaryExpression", "operator": "==", "left": { "type": "Identifier", "name": "q1Flag", "range": [ 5896, 5902 ], "loc": { "start": { "line": 160, "column": 24 }, "end": { "line": 160, "column": 30 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 5904, 5905 ], "loc": { "start": { "line": 160, "column": 32 }, "end": { "line": 160, "column": 33 } } }, "range": [ 5896, 5905 ], "loc": { "start": { "line": 160, "column": 24 }, "end": { "line": 160, "column": 33 } } }, "right": { "type": "BinaryExpression", "operator": "==", "left": { "type": "Identifier", "name": "q3Flag", "range": [ 5910, 5916 ], "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 44 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 5918, 5919 ], "loc": { "start": { "line": 160, "column": 46 }, "end": { "line": 160, "column": 47 } } }, "range": [ 5910, 5919 ], "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 47 } } }, "range": [ 5895, 5920 ], "loc": { "start": { "line": 160, "column": 23 }, "end": { "line": 160, "column": 48 } } }, "right": { "type": "BinaryExpression", "operator": "==", "left": { "type": "Identifier", "name": "medFlag", "range": [ 5925, 5932 ], "loc": { "start": { "line": 160, "column": 53 }, "end": { "line": 160, "column": 60 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 5934, 5935 ], "loc": { "start": { "line": 160, "column": 62 }, "end": { "line": 160, "column": 63 } } }, "range": [ 5925, 5935 ], "loc": { "start": { "line": 160, "column": 53 }, "end": { "line": 160, "column": 63 } } }, "range": [ 5895, 5936 ], "loc": { "start": { "line": 160, "column": 23 }, "end": { "line": 160, "column": 64 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "Identifier", "name": "j", "range": [ 5968, 5969 ], "loc": { "start": { "line": 161, "column": 28 }, "end": { "line": 161, "column": 29 } } }, "right": { "type": "BinaryExpression", "operator": "-", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colvalues", "range": [ 5970, 5979 ], "loc": { "start": { "line": 161, "column": 30 }, "end": { "line": 161, "column": 39 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 5980, 5984 ], "loc": { "start": { "line": 161, "column": 40 }, "end": { "line": 161, "column": 44 } } }, "range": [ 5970, 5985 ], "loc": { "start": { "line": 161, "column": 30 }, "end": { "line": 161, "column": 45 } } }, "property": { "type": "Identifier", "name": "length", "range": [ 5986, 5992 ], "loc": { "start": { "line": 161, "column": 46 }, "end": { "line": 161, "column": 52 } } }, "range": [ 5970, 5992 ], "loc": { "start": { "line": 161, "column": 30 }, "end": { "line": 161, "column": 52 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 5994, 5995 ], "loc": { "start": { "line": 161, "column": 54 }, "end": { "line": 161, "column": 55 } } }, "range": [ 5970, 5995 ], "loc": { "start": { "line": 161, "column": 30 }, "end": { "line": 161, "column": 55 } } }, "range": [ 5968, 5995 ], "loc": { "start": { "line": 161, "column": 28 }, "end": { "line": 161, "column": 55 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ForStatement", "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "k", "range": [ 6031, 6032 ], "loc": { "start": { "line": 162, "column": 32 }, "end": { "line": 162, "column": 33 } } }, "right": { "type": "BinaryExpression", "operator": "+", "left": { "type": "Identifier", "name": "j", "range": [ 6033, 6034 ], "loc": { "start": { "line": 162, "column": 34 }, "end": { "line": 162, "column": 35 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 6035, 6036 ], "loc": { "start": { "line": 162, "column": 36 }, "end": { "line": 162, "column": 37 } } }, "range": [ 6033, 6036 ], "loc": { "start": { "line": 162, "column": 34 }, "end": { "line": 162, "column": 37 } } }, "range": [ 6031, 6036 ], "loc": { "start": { "line": 162, "column": 32 }, "end": { "line": 162, "column": 37 } } }, "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "Identifier", "name": "k", "range": [ 6038, 6039 ], "loc": { "start": { "line": 162, "column": 39 }, "end": { "line": 162, "column": 40 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colvalues", "range": [ 6040, 6049 ], "loc": { "start": { "line": 162, "column": 41 }, "end": { "line": 162, "column": 50 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 6050, 6054 ], "loc": { "start": { "line": 162, "column": 51 }, "end": { "line": 162, "column": 55 } } }, "range": [ 6040, 6055 ], "loc": { "start": { "line": 162, "column": 41 }, "end": { "line": 162, "column": 56 } } }, "property": { "type": "Identifier", "name": "length", "range": [ 6056, 6062 ], "loc": { "start": { "line": 162, "column": 57 }, "end": { "line": 162, "column": 63 } } }, "range": [ 6040, 6062 ], "loc": { "start": { "line": 162, "column": 41 }, "end": { "line": 162, "column": 63 } } }, "range": [ 6038, 6062 ], "loc": { "start": { "line": 162, "column": 39 }, "end": { "line": 162, "column": 63 } } }, "update": { "type": "UpdateExpression", "operator": "++", "argument": { "type": "Identifier", "name": "k", "range": [ 6064, 6065 ], "loc": { "start": { "line": 162, "column": 65 }, "end": { "line": 162, "column": 66 } } }, "prefix": false, "range": [ 6064, 6067 ], "loc": { "start": { "line": 162, "column": 65 }, "end": { "line": 162, "column": 68 } } }, "body": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "eval", "range": [ 6107, 6111 ], "loc": { "start": { "line": 163, "column": 35 }, "end": { "line": 163, "column": 39 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colvalues", "range": [ 6112, 6121 ], "loc": { "start": { "line": 163, "column": 40 }, "end": { "line": 163, "column": 49 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 6122, 6126 ], "loc": { "start": { "line": 163, "column": 50 }, "end": { "line": 163, "column": 54 } } }, "range": [ 6112, 6127 ], "loc": { "start": { "line": 163, "column": 40 }, "end": { "line": 163, "column": 55 } } }, "property": { "type": "Identifier", "name": "k", "range": [ 6128, 6129 ], "loc": { "start": { "line": 163, "column": 56 }, "end": { "line": 163, "column": 57 } } }, "range": [ 6112, 6130 ], "loc": { "start": { "line": 163, "column": 40 }, "end": { "line": 163, "column": 58 } } } ], "range": [ 6107, 6131 ], "loc": { "start": { "line": 163, "column": 35 }, "end": { "line": 163, "column": 59 } } }, "right": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "eval", "range": [ 6171, 6175 ], "loc": { "start": { "line": 164, "column": 36 }, "end": { "line": 164, "column": 40 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colvalues", "range": [ 6176, 6185 ], "loc": { "start": { "line": 164, "column": 41 }, "end": { "line": 164, "column": 50 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 6186, 6190 ], "loc": { "start": { "line": 164, "column": 51 }, "end": { "line": 164, "column": 55 } } }, "range": [ 6176, 6191 ], "loc": { "start": { "line": 164, "column": 41 }, "end": { "line": 164, "column": 56 } } }, "property": { "type": "Identifier", "name": "j", "range": [ 6192, 6193 ], "loc": { "start": { "line": 164, "column": 57 }, "end": { "line": 164, "column": 58 } } }, "range": [ 6176, 6194 ], "loc": { "start": { "line": 164, "column": 41 }, "end": { "line": 164, "column": 59 } } } ], "range": [ 6171, 6195 ], "loc": { "start": { "line": 164, "column": 36 }, "end": { "line": 164, "column": 60 } } }, "range": [ 6107, 6195 ], "loc": { "start": { "line": 163, "column": 35 }, "end": { "line": 164, "column": 60 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "temp", "range": [ 6235, 6239 ], "loc": { "start": { "line": 165, "column": 36 }, "end": { "line": 165, "column": 40 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colvalues", "range": [ 6242, 6251 ], "loc": { "start": { "line": 165, "column": 43 }, "end": { "line": 165, "column": 52 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 6252, 6256 ], "loc": { "start": { "line": 165, "column": 53 }, "end": { "line": 165, "column": 57 } } }, "range": [ 6242, 6257 ], "loc": { "start": { "line": 165, "column": 43 }, "end": { "line": 165, "column": 58 } } }, "property": { "type": "Identifier", "name": "j", "range": [ 6258, 6259 ], "loc": { "start": { "line": 165, "column": 59 }, "end": { "line": 165, "column": 60 } } }, "range": [ 6242, 6260 ], "loc": { "start": { "line": 165, "column": 43 }, "end": { "line": 165, "column": 61 } } }, "range": [ 6235, 6260 ], "loc": { "start": { "line": 165, "column": 36 }, "end": { "line": 165, "column": 61 } } }, "range": [ 6235, 6261 ], "loc": { "start": { "line": 165, "column": 36 }, "end": { "line": 165, "column": 62 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colvalues", "range": [ 6299, 6308 ], "loc": { "start": { "line": 166, "column": 36 }, "end": { "line": 166, "column": 45 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 6309, 6313 ], "loc": { "start": { "line": 166, "column": 46 }, "end": { "line": 166, "column": 50 } } }, "range": [ 6299, 6314 ], "loc": { "start": { "line": 166, "column": 36 }, "end": { "line": 166, "column": 51 } } }, "property": { "type": "Identifier", "name": "j", "range": [ 6315, 6316 ], "loc": { "start": { "line": 166, "column": 52 }, "end": { "line": 166, "column": 53 } } }, "range": [ 6299, 6317 ], "loc": { "start": { "line": 166, "column": 36 }, "end": { "line": 166, "column": 54 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colvalues", "range": [ 6320, 6329 ], "loc": { "start": { "line": 166, "column": 57 }, "end": { "line": 166, "column": 66 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 6330, 6334 ], "loc": { "start": { "line": 166, "column": 67 }, "end": { "line": 166, "column": 71 } } }, "range": [ 6320, 6335 ], "loc": { "start": { "line": 166, "column": 57 }, "end": { "line": 166, "column": 72 } } }, "property": { "type": "Identifier", "name": "k", "range": [ 6336, 6337 ], "loc": { "start": { "line": 166, "column": 73 }, "end": { "line": 166, "column": 74 } } }, "range": [ 6320, 6338 ], "loc": { "start": { "line": 166, "column": 57 }, "end": { "line": 166, "column": 75 } } }, "range": [ 6299, 6338 ], "loc": { "start": { "line": 166, "column": 36 }, "end": { "line": 166, "column": 75 } } }, "range": [ 6299, 6339 ], "loc": { "start": { "line": 166, "column": 36 }, "end": { "line": 166, "column": 76 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colvalues", "range": [ 6377, 6386 ], "loc": { "start": { "line": 167, "column": 36 }, "end": { "line": 167, "column": 45 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 6387, 6391 ], "loc": { "start": { "line": 167, "column": 46 }, "end": { "line": 167, "column": 50 } } }, "range": [ 6377, 6392 ], "loc": { "start": { "line": 167, "column": 36 }, "end": { "line": 167, "column": 51 } } }, "property": { "type": "Identifier", "name": "k", "range": [ 6393, 6394 ], "loc": { "start": { "line": 167, "column": 52 }, "end": { "line": 167, "column": 53 } } }, "range": [ 6377, 6395 ], "loc": { "start": { "line": 167, "column": 36 }, "end": { "line": 167, "column": 54 } } }, "right": { "type": "Identifier", "name": "temp", "range": [ 6398, 6402 ], "loc": { "start": { "line": 167, "column": 57 }, "end": { "line": 167, "column": 61 } } }, "range": [ 6377, 6402 ], "loc": { "start": { "line": 167, "column": 36 }, "end": { "line": 167, "column": 61 } } }, "range": [ 6377, 6403 ], "loc": { "start": { "line": 167, "column": 36 }, "end": { "line": 167, "column": 62 } } } ], "range": [ 6196, 6438 ], "loc": { "start": { "line": 164, "column": 61 }, "end": { "line": 168, "column": 33 } } }, "alternate": null, "range": [ 6104, 6438 ], "loc": { "start": { "line": 163, "column": 32 }, "end": { "line": 168, "column": 33 } } } ], "range": [ 6069, 6469 ], "loc": { "start": { "line": 162, "column": 70 }, "end": { "line": 169, "column": 29 } } }, "range": [ 6027, 6469 ], "loc": { "start": { "line": 162, "column": 28 }, "end": { "line": 169, "column": 29 } } } ], "range": [ 5996, 6496 ], "loc": { "start": { "line": 161, "column": 56 }, "end": { "line": 170, "column": 25 } } }, "alternate": null, "range": [ 5964, 6496 ], "loc": { "start": { "line": 161, "column": 24 }, "end": { "line": 170, "column": 25 } } } ], "range": [ 5937, 6519 ], "loc": { "start": { "line": 160, "column": 65 }, "end": { "line": 171, "column": 21 } } }, "alternate": null, "range": [ 5892, 6519 ], "loc": { "start": { "line": 160, "column": 20 }, "end": { "line": 171, "column": 21 } }, "leadingComments": [ { "type": "Line", "value": "sort the list for calculation of median and quartiles", "range": [ 5815, 5870 ], "loc": { "start": { "line": 159, "column": 20 }, "end": { "line": 159, "column": 75 } } } ] }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "cvalue", "range": [ 6545, 6551 ], "loc": { "start": { "line": 172, "column": 24 }, "end": { "line": 172, "column": 30 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "parseFloat", "range": [ 6554, 6564 ], "loc": { "start": { "line": 172, "column": 33 }, "end": { "line": 172, "column": 43 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "colvalues", "range": [ 6565, 6574 ], "loc": { "start": { "line": 172, "column": 44 }, "end": { "line": 172, "column": 53 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 6575, 6579 ], "loc": { "start": { "line": 172, "column": 54 }, "end": { "line": 172, "column": 58 } } }, "range": [ 6565, 6580 ], "loc": { "start": { "line": 172, "column": 44 }, "end": { "line": 172, "column": 59 } } }, "property": { "type": "Identifier", "name": "j", "range": [ 6581, 6582 ], "loc": { "start": { "line": 172, "column": 60 }, "end": { "line": 172, "column": 61 } } }, "range": [ 6565, 6583 ], "loc": { "start": { "line": 172, "column": 44 }, "end": { "line": 172, "column": 62 } } } ], "range": [ 6554, 6584 ], "loc": { "start": { "line": 172, "column": 33 }, "end": { "line": 172, "column": 63 } } }, "range": [ 6545, 6584 ], "loc": { "start": { "line": 172, "column": 24 }, "end": { "line": 172, "column": 63 } } } ], "kind": "var", "range": [ 6541, 6585 ], "loc": { "start": { "line": 172, "column": 20 }, "end": { "line": 172, "column": 64 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "theList", "range": [ 6607, 6614 ], "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 27 } } }, "property": { "type": "Identifier", "name": "j", "range": [ 6615, 6616 ], "loc": { "start": { "line": 173, "column": 28 }, "end": { "line": 173, "column": 29 } } }, "range": [ 6607, 6617 ], "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 30 } } }, "right": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "parseFloat", "range": [ 6620, 6630 ], "loc": { "start": { "line": 173, "column": 33 }, "end": { "line": 173, "column": 43 } } }, "arguments": [ { "type": "Identifier", "name": "cvalue", "range": [ 6631, 6637 ], "loc": { "start": { "line": 173, "column": 44 }, "end": { "line": 173, "column": 50 } } } ], "range": [ 6620, 6638 ], "loc": { "start": { "line": 173, "column": 33 }, "end": { "line": 173, "column": 51 } } }, "range": [ 6607, 6638 ], "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 51 } } }, "range": [ 6607, 6639 ], "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 52 } } }, { "type": "IfStatement", "test": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "isNaN", "range": [ 6667, 6672 ], "loc": { "start": { "line": 175, "column": 24 }, "end": { "line": 175, "column": 29 } } }, "arguments": [ { "type": "Identifier", "name": "cvalue", "range": [ 6673, 6679 ], "loc": { "start": { "line": 175, "column": 30 }, "end": { "line": 175, "column": 36 } } } ], "range": [ 6667, 6680 ], "loc": { "start": { "line": 175, "column": 24 }, "end": { "line": 175, "column": 37 } } }, "prefix": true, "range": [ 6666, 6680 ], "loc": { "start": { "line": 175, "column": 23 }, "end": { "line": 175, "column": 37 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "UpdateExpression", "operator": "++", "argument": { "type": "Identifier", "name": "nbvalues", "range": [ 6708, 6716 ], "loc": { "start": { "line": 176, "column": 24 }, "end": { "line": 176, "column": 32 } } }, "prefix": false, "range": [ 6708, 6718 ], "loc": { "start": { "line": 176, "column": 24 }, "end": { "line": 176, "column": 34 } } }, "range": [ 6708, 6719 ], "loc": { "start": { "line": 176, "column": 24 }, "end": { "line": 176, "column": 35 } } }, { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "||", "left": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "sumFlag", "range": [ 6748, 6755 ], "loc": { "start": { "line": 177, "column": 27 }, "end": { "line": 177, "column": 34 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 6758, 6759 ], "loc": { "start": { "line": 177, "column": 37 }, "end": { "line": 177, "column": 38 } } }, "range": [ 6748, 6759 ], "loc": { "start": { "line": 177, "column": 27 }, "end": { "line": 177, "column": 38 } } }, "right": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "meanFlag", "range": [ 6763, 6771 ], "loc": { "start": { "line": 177, "column": 42 }, "end": { "line": 177, "column": 50 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 6774, 6775 ], "loc": { "start": { "line": 177, "column": 53 }, "end": { "line": 177, "column": 54 } } }, "range": [ 6763, 6775 ], "loc": { "start": { "line": 177, "column": 42 }, "end": { "line": 177, "column": 54 } } }, "range": [ 6748, 6775 ], "loc": { "start": { "line": 177, "column": 27 }, "end": { "line": 177, "column": 54 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "+=", "left": { "type": "Identifier", "name": "sumValue", "range": [ 6807, 6815 ], "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 36 } } }, "right": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "parseFloat", "range": [ 6819, 6829 ], "loc": { "start": { "line": 178, "column": 40 }, "end": { "line": 178, "column": 50 } } }, "arguments": [ { "type": "Identifier", "name": "cvalue", "range": [ 6831, 6837 ], "loc": { "start": { "line": 178, "column": 52 }, "end": { "line": 178, "column": 58 } } } ], "range": [ 6819, 6839 ], "loc": { "start": { "line": 178, "column": 40 }, "end": { "line": 178, "column": 60 } } }, "range": [ 6807, 6839 ], "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 60 } } }, "range": [ 6807, 6840 ], "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 61 } } } ], "range": [ 6776, 6867 ], "loc": { "start": { "line": 177, "column": 55 }, "end": { "line": 179, "column": 25 } } }, "alternate": null, "range": [ 6745, 6867 ], "loc": { "start": { "line": 177, "column": 24 }, "end": { "line": 179, "column": 25 } } }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "minFlag", "range": [ 6896, 6903 ], "loc": { "start": { "line": 180, "column": 27 }, "end": { "line": 180, "column": 34 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 6906, 6907 ], "loc": { "start": { "line": 180, "column": 37 }, "end": { "line": 180, "column": 38 } } }, "range": [ 6896, 6907 ], "loc": { "start": { "line": 180, "column": 27 }, "end": { "line": 180, "column": 38 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "minValue", "range": [ 6942, 6950 ], "loc": { "start": { "line": 181, "column": 31 }, "end": { "line": 181, "column": 39 } } }, "right": { "type": "Literal", "value": null, "raw": "null", "range": [ 6953, 6957 ], "loc": { "start": { "line": 181, "column": 42 }, "end": { "line": 181, "column": 46 } } }, "range": [ 6942, 6957 ], "loc": { "start": { "line": 181, "column": 31 }, "end": { "line": 181, "column": 46 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "minValue", "range": [ 6993, 7001 ], "loc": { "start": { "line": 182, "column": 32 }, "end": { "line": 182, "column": 40 } } }, "right": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "parseFloat", "range": [ 7004, 7014 ], "loc": { "start": { "line": 182, "column": 43 }, "end": { "line": 182, "column": 53 } } }, "arguments": [ { "type": "Identifier", "name": "cvalue", "range": [ 7016, 7022 ], "loc": { "start": { "line": 182, "column": 55 }, "end": { "line": 182, "column": 61 } } } ], "range": [ 7004, 7024 ], "loc": { "start": { "line": 182, "column": 43 }, "end": { "line": 182, "column": 63 } } }, "range": [ 6993, 7024 ], "loc": { "start": { "line": 182, "column": 32 }, "end": { "line": 182, "column": 63 } } }, "range": [ 6993, 7025 ], "loc": { "start": { "line": 182, "column": 32 }, "end": { "line": 182, "column": 64 } } } ], "range": [ 6958, 7056 ], "loc": { "start": { "line": 181, "column": 47 }, "end": { "line": 183, "column": 29 } } }, "alternate": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "minValue", "range": [ 7096, 7104 ], "loc": { "start": { "line": 184, "column": 32 }, "end": { "line": 184, "column": 40 } } }, "right": { "type": "ConditionalExpression", "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "parseFloat", "range": [ 7107, 7117 ], "loc": { "start": { "line": 184, "column": 43 }, "end": { "line": 184, "column": 53 } } }, "arguments": [ { "type": "Identifier", "name": "cvalue", "range": [ 7119, 7125 ], "loc": { "start": { "line": 184, "column": 55 }, "end": { "line": 184, "column": 61 } } } ], "range": [ 7107, 7127 ], "loc": { "start": { "line": 184, "column": 43 }, "end": { "line": 184, "column": 63 } } }, "right": { "type": "Identifier", "name": "minValue", "range": [ 7130, 7138 ], "loc": { "start": { "line": 184, "column": 66 }, "end": { "line": 184, "column": 74 } } }, "range": [ 7107, 7138 ], "loc": { "start": { "line": 184, "column": 43 }, "end": { "line": 184, "column": 74 } } }, "consequent": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "parseFloat", "range": [ 7178, 7188 ], "loc": { "start": { "line": 185, "column": 36 }, "end": { "line": 185, "column": 46 } } }, "arguments": [ { "type": "Identifier", "name": "cvalue", "range": [ 7190, 7196 ], "loc": { "start": { "line": 185, "column": 48 }, "end": { "line": 185, "column": 54 } } } ], "range": [ 7178, 7198 ], "loc": { "start": { "line": 185, "column": 36 }, "end": { "line": 185, "column": 56 } } }, "alternate": { "type": "Identifier", "name": "minValue", "range": [ 7200, 7208 ], "loc": { "start": { "line": 185, "column": 58 }, "end": { "line": 185, "column": 66 } } }, "range": [ 7107, 7208 ], "loc": { "start": { "line": 184, "column": 43 }, "end": { "line": 185, "column": 66 } } }, "range": [ 7096, 7208 ], "loc": { "start": { "line": 184, "column": 32 }, "end": { "line": 185, "column": 66 } } }, "range": [ 7096, 7209 ], "loc": { "start": { "line": 184, "column": 32 }, "end": { "line": 185, "column": 67 } } } ], "range": [ 7061, 7240 ], "loc": { "start": { "line": 183, "column": 34 }, "end": { "line": 186, "column": 29 } } }, "range": [ 6939, 7240 ], "loc": { "start": { "line": 181, "column": 28 }, "end": { "line": 186, "column": 29 } } } ], "range": [ 6908, 7267 ], "loc": { "start": { "line": 180, "column": 39 }, "end": { "line": 187, "column": 25 } } }, "alternate": null, "range": [ 6893, 7267 ], "loc": { "start": { "line": 180, "column": 24 }, "end": { "line": 187, "column": 25 } } }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "maxFlag", "range": [ 7296, 7303 ], "loc": { "start": { "line": 188, "column": 27 }, "end": { "line": 188, "column": 34 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 7306, 7307 ], "loc": { "start": { "line": 188, "column": 37 }, "end": { "line": 188, "column": 38 } } }, "range": [ 7296, 7307 ], "loc": { "start": { "line": 188, "column": 27 }, "end": { "line": 188, "column": 38 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "maxValue", "range": [ 7343, 7351 ], "loc": { "start": { "line": 189, "column": 32 }, "end": { "line": 189, "column": 40 } } }, "right": { "type": "Literal", "value": null, "raw": "null", "range": [ 7354, 7358 ], "loc": { "start": { "line": 189, "column": 43 }, "end": { "line": 189, "column": 47 } } }, "range": [ 7343, 7358 ], "loc": { "start": { "line": 189, "column": 32 }, "end": { "line": 189, "column": 47 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "maxValue", "range": [ 7394, 7402 ], "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 40 } } }, "right": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "parseFloat", "range": [ 7405, 7415 ], "loc": { "start": { "line": 190, "column": 43 }, "end": { "line": 190, "column": 53 } } }, "arguments": [ { "type": "Identifier", "name": "cvalue", "range": [ 7417, 7423 ], "loc": { "start": { "line": 190, "column": 55 }, "end": { "line": 190, "column": 61 } } } ], "range": [ 7405, 7425 ], "loc": { "start": { "line": 190, "column": 43 }, "end": { "line": 190, "column": 63 } } }, "range": [ 7394, 7425 ], "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 63 } } }, "range": [ 7394, 7426 ], "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 64 } } } ], "range": [ 7359, 7457 ], "loc": { "start": { "line": 189, "column": 48 }, "end": { "line": 191, "column": 29 } } }, "alternate": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "maxValue", "range": [ 7498, 7506 ], "loc": { "start": { "line": 192, "column": 32 }, "end": { "line": 192, "column": 40 } } }, "right": { "type": "ConditionalExpression", "test": { "type": "BinaryExpression", "operator": ">", "left": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "parseFloat", "range": [ 7509, 7519 ], "loc": { "start": { "line": 192, "column": 43 }, "end": { "line": 192, "column": 53 } } }, "arguments": [ { "type": "Identifier", "name": "cvalue", "range": [ 7521, 7527 ], "loc": { "start": { "line": 192, "column": 55 }, "end": { "line": 192, "column": 61 } } } ], "range": [ 7509, 7529 ], "loc": { "start": { "line": 192, "column": 43 }, "end": { "line": 192, "column": 63 } } }, "right": { "type": "Identifier", "name": "maxValue", "range": [ 7532, 7540 ], "loc": { "start": { "line": 192, "column": 66 }, "end": { "line": 192, "column": 74 } } }, "range": [ 7509, 7540 ], "loc": { "start": { "line": 192, "column": 43 }, "end": { "line": 192, "column": 74 } } }, "consequent": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "parseFloat", "range": [ 7580, 7590 ], "loc": { "start": { "line": 193, "column": 36 }, "end": { "line": 193, "column": 46 } } }, "arguments": [ { "type": "Identifier", "name": "cvalue", "range": [ 7592, 7598 ], "loc": { "start": { "line": 193, "column": 48 }, "end": { "line": 193, "column": 54 } } } ], "range": [ 7580, 7600 ], "loc": { "start": { "line": 193, "column": 36 }, "end": { "line": 193, "column": 56 } } }, "alternate": { "type": "Identifier", "name": "maxValue", "range": [ 7602, 7610 ], "loc": { "start": { "line": 193, "column": 58 }, "end": { "line": 193, "column": 66 } } }, "range": [ 7509, 7610 ], "loc": { "start": { "line": 192, "column": 43 }, "end": { "line": 193, "column": 66 } } }, "range": [ 7498, 7610 ], "loc": { "start": { "line": 192, "column": 32 }, "end": { "line": 193, "column": 66 } } }, "range": [ 7498, 7611 ], "loc": { "start": { "line": 192, "column": 32 }, "end": { "line": 193, "column": 67 } } } ], "range": [ 7463, 7642 ], "loc": { "start": { "line": 191, "column": 35 }, "end": { "line": 194, "column": 29 } } }, "range": [ 7339, 7642 ], "loc": { "start": { "line": 189, "column": 28 }, "end": { "line": 194, "column": 29 } } } ], "range": [ 7308, 7669 ], "loc": { "start": { "line": 188, "column": 39 }, "end": { "line": 195, "column": 25 } } }, "alternate": null, "range": [ 7293, 7669 ], "loc": { "start": { "line": 188, "column": 24 }, "end": { "line": 195, "column": 25 } } } ], "range": [ 6681, 7692 ], "loc": { "start": { "line": 175, "column": 38 }, "end": { "line": 196, "column": 21 } } }, "alternate": null, "range": [ 6663, 7692 ], "loc": { "start": { "line": 175, "column": 20 }, "end": { "line": 196, "column": 21 } } } ], "range": [ 5792, 7711 ], "loc": { "start": { "line": 158, "column": 59 }, "end": { "line": 197, "column": 17 } } }, "range": [ 5749, 7711 ], "loc": { "start": { "line": 158, "column": 16 }, "end": { "line": 197, "column": 17 } }, "trailingComments": [ { "type": "Line", "value": "for j", "range": [ 7711, 7718 ], "loc": { "start": { "line": 197, "column": 17 }, "end": { "line": 197, "column": 24 } } } ] }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "meanFlag", "range": [ 7739, 7747 ], "loc": { "start": { "line": 198, "column": 19 }, "end": { "line": 198, "column": 27 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 7750, 7751 ], "loc": { "start": { "line": 198, "column": 30 }, "end": { "line": 198, "column": 31 } } }, "range": [ 7739, 7751 ], "loc": { "start": { "line": 198, "column": 19 }, "end": { "line": 198, "column": 31 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "meanValue", "range": [ 7775, 7784 ], "loc": { "start": { "line": 199, "column": 20 }, "end": { "line": 199, "column": 29 } } }, "right": { "type": "BinaryExpression", "operator": "/", "left": { "type": "Identifier", "name": "sumValue", "range": [ 7787, 7795 ], "loc": { "start": { "line": 199, "column": 32 }, "end": { "line": 199, "column": 40 } } }, "right": { "type": "Identifier", "name": "nbvalues", "range": [ 7796, 7804 ], "loc": { "start": { "line": 199, "column": 41 }, "end": { "line": 199, "column": 49 } } }, "range": [ 7787, 7804 ], "loc": { "start": { "line": 199, "column": 32 }, "end": { "line": 199, "column": 49 } } }, "range": [ 7775, 7804 ], "loc": { "start": { "line": 199, "column": 20 }, "end": { "line": 199, "column": 49 } } }, "range": [ 7775, 7805 ], "loc": { "start": { "line": 199, "column": 20 }, "end": { "line": 199, "column": 50 } } } ], "range": [ 7752, 7824 ], "loc": { "start": { "line": 198, "column": 32 }, "end": { "line": 200, "column": 17 } } }, "alternate": null, "range": [ 7736, 7824 ], "loc": { "start": { "line": 198, "column": 16 }, "end": { "line": 200, "column": 17 } }, "leadingComments": [ { "type": "Line", "value": "for j", "range": [ 7711, 7718 ], "loc": { "start": { "line": 197, "column": 17 }, "end": { "line": 197, "column": 24 } } } ] }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "medFlag", "range": [ 7845, 7852 ], "loc": { "start": { "line": 201, "column": 19 }, "end": { "line": 201, "column": 26 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 7855, 7856 ], "loc": { "start": { "line": 201, "column": 29 }, "end": { "line": 201, "column": 30 } } }, "range": [ 7845, 7856 ], "loc": { "start": { "line": 201, "column": 19 }, "end": { "line": 201, "column": 30 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "aux", "range": [ 7884, 7887 ], "loc": { "start": { "line": 202, "column": 24 }, "end": { "line": 202, "column": 27 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 7890, 7891 ], "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 31 } } }, "range": [ 7884, 7891 ], "loc": { "start": { "line": 202, "column": 24 }, "end": { "line": 202, "column": 31 } } } ], "kind": "var", "range": [ 7880, 7892 ], "loc": { "start": { "line": 202, "column": 20 }, "end": { "line": 202, "column": 32 } } }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "BinaryExpression", "operator": "%", "left": { "type": "Identifier", "name": "nbvalues", "range": [ 7917, 7925 ], "loc": { "start": { "line": 203, "column": 23 }, "end": { "line": 203, "column": 31 } } }, "right": { "type": "Literal", "value": 2, "raw": "2", "range": [ 7926, 7927 ], "loc": { "start": { "line": 203, "column": 32 }, "end": { "line": 203, "column": 33 } } }, "range": [ 7917, 7927 ], "loc": { "start": { "line": 203, "column": 23 }, "end": { "line": 203, "column": 33 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 7932, 7933 ], "loc": { "start": { "line": 203, "column": 38 }, "end": { "line": 203, "column": 39 } } }, "range": [ 7917, 7933 ], "loc": { "start": { "line": 203, "column": 23 }, "end": { "line": 203, "column": 39 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "aux", "range": [ 7961, 7964 ], "loc": { "start": { "line": 204, "column": 24 }, "end": { "line": 204, "column": 27 } } }, "right": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Math", "range": [ 7967, 7971 ], "loc": { "start": { "line": 204, "column": 30 }, "end": { "line": 204, "column": 34 } } }, "property": { "type": "Identifier", "name": "floor", "range": [ 7972, 7977 ], "loc": { "start": { "line": 204, "column": 35 }, "end": { "line": 204, "column": 40 } } }, "range": [ 7967, 7977 ], "loc": { "start": { "line": 204, "column": 30 }, "end": { "line": 204, "column": 40 } } }, "arguments": [ { "type": "BinaryExpression", "operator": "/", "left": { "type": "Identifier", "name": "nbvalues", "range": [ 7978, 7986 ], "loc": { "start": { "line": 204, "column": 41 }, "end": { "line": 204, "column": 49 } } }, "right": { "type": "Literal", "value": 2, "raw": "2", "range": [ 7987, 7988 ], "loc": { "start": { "line": 204, "column": 50 }, "end": { "line": 204, "column": 51 } } }, "range": [ 7978, 7988 ], "loc": { "start": { "line": 204, "column": 41 }, "end": { "line": 204, "column": 51 } } } ], "range": [ 7967, 7989 ], "loc": { "start": { "line": 204, "column": 30 }, "end": { "line": 204, "column": 52 } } }, "range": [ 7961, 7989 ], "loc": { "start": { "line": 204, "column": 24 }, "end": { "line": 204, "column": 52 } } }, "range": [ 7961, 7990 ], "loc": { "start": { "line": 204, "column": 24 }, "end": { "line": 204, "column": 53 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "medValue", "range": [ 8016, 8024 ], "loc": { "start": { "line": 205, "column": 24 }, "end": { "line": 205, "column": 32 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "theList", "range": [ 8027, 8034 ], "loc": { "start": { "line": 205, "column": 35 }, "end": { "line": 205, "column": 42 } } }, "property": { "type": "Identifier", "name": "aux", "range": [ 8035, 8038 ], "loc": { "start": { "line": 205, "column": 43 }, "end": { "line": 205, "column": 46 } } }, "range": [ 8027, 8039 ], "loc": { "start": { "line": 205, "column": 35 }, "end": { "line": 205, "column": 47 } } }, "range": [ 8016, 8039 ], "loc": { "start": { "line": 205, "column": 24 }, "end": { "line": 205, "column": 47 } } }, "range": [ 8016, 8040 ], "loc": { "start": { "line": 205, "column": 24 }, "end": { "line": 205, "column": 48 } } } ], "range": [ 7934, 8063 ], "loc": { "start": { "line": 203, "column": 40 }, "end": { "line": 206, "column": 21 } } }, "alternate": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "medValue", "range": [ 8095, 8103 ], "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 32 } } }, "right": { "type": "BinaryExpression", "operator": "/", "left": { "type": "BinaryExpression", "operator": "+", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "theList", "range": [ 8136, 8143 ], "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "column": 36 } } }, "property": { "type": "BinaryExpression", "operator": "/", "left": { "type": "Identifier", "name": "nbvalues", "range": [ 8144, 8152 ], "loc": { "start": { "line": 208, "column": 37 }, "end": { "line": 208, "column": 45 } } }, "right": { "type": "Literal", "value": 2, "raw": "2", "range": [ 8153, 8154 ], "loc": { "start": { "line": 208, "column": 46 }, "end": { "line": 208, "column": 47 } } }, "range": [ 8144, 8154 ], "loc": { "start": { "line": 208, "column": 37 }, "end": { "line": 208, "column": 47 } } }, "range": [ 8136, 8155 ], "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "column": 48 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "theList", "range": [ 8158, 8165 ], "loc": { "start": { "line": 208, "column": 51 }, "end": { "line": 208, "column": 58 } } }, "property": { "type": "BinaryExpression", "operator": "-", "left": { "type": "BinaryExpression", "operator": "/", "left": { "type": "Identifier", "name": "nbvalues", "range": [ 8168, 8176 ], "loc": { "start": { "line": 208, "column": 61 }, "end": { "line": 208, "column": 69 } } }, "right": { "type": "Literal", "value": 2, "raw": "2", "range": [ 8177, 8178 ], "loc": { "start": { "line": 208, "column": 70 }, "end": { "line": 208, "column": 71 } } }, "range": [ 8168, 8178 ], "loc": { "start": { "line": 208, "column": 61 }, "end": { "line": 208, "column": 71 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 8180, 8181 ], "loc": { "start": { "line": 208, "column": 73 }, "end": { "line": 208, "column": 74 } } }, "range": [ 8167, 8181 ], "loc": { "start": { "line": 208, "column": 60 }, "end": { "line": 208, "column": 74 } } }, "range": [ 8158, 8183 ], "loc": { "start": { "line": 208, "column": 51 }, "end": { "line": 208, "column": 76 } } }, "range": [ 8136, 8183 ], "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "column": 76 } } }, "right": { "type": "Literal", "value": 2, "raw": "2", "range": [ 8185, 8186 ], "loc": { "start": { "line": 208, "column": 78 }, "end": { "line": 208, "column": 79 } } }, "range": [ 8135, 8186 ], "loc": { "start": { "line": 208, "column": 28 }, "end": { "line": 208, "column": 79 } } }, "range": [ 8095, 8186 ], "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 208, "column": 79 } } }, "range": [ 8095, 8187 ], "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 208, "column": 80 } } } ], "range": [ 8068, 8210 ], "loc": { "start": { "line": 206, "column": 26 }, "end": { "line": 209, "column": 21 } } }, "range": [ 7914, 8210 ], "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 209, "column": 21 } } } ], "range": [ 7857, 8229 ], "loc": { "start": { "line": 201, "column": 31 }, "end": { "line": 210, "column": 17 } } }, "alternate": null, "range": [ 7842, 8229 ], "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 210, "column": 17 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "posa", "range": [ 8251, 8255 ], "loc": { "start": { "line": 211, "column": 20 }, "end": { "line": 211, "column": 24 } } }, "init": null, "range": [ 8251, 8255 ], "loc": { "start": { "line": 211, "column": 20 }, "end": { "line": 211, "column": 24 } } } ], "kind": "var", "range": [ 8247, 8256 ], "loc": { "start": { "line": 211, "column": 16 }, "end": { "line": 211, "column": 25 } } }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "q1Flag", "range": [ 8277, 8283 ], "loc": { "start": { "line": 212, "column": 19 }, "end": { "line": 212, "column": 25 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 8286, 8287 ], "loc": { "start": { "line": 212, "column": 28 }, "end": { "line": 212, "column": 29 } } }, "range": [ 8277, 8287 ], "loc": { "start": { "line": 212, "column": 19 }, "end": { "line": 212, "column": 29 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "posa", "range": [ 8311, 8315 ], "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 213, "column": 24 } } }, "right": { "type": "Literal", "value": 0, "raw": "0.0", "range": [ 8316, 8319 ], "loc": { "start": { "line": 213, "column": 25 }, "end": { "line": 213, "column": 28 } } }, "range": [ 8311, 8319 ], "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 213, "column": 28 } } }, "range": [ 8311, 8320 ], "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 213, "column": 29 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "posa", "range": [ 8342, 8346 ], "loc": { "start": { "line": 214, "column": 20 }, "end": { "line": 214, "column": 24 } } }, "right": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Math", "range": [ 8349, 8353 ], "loc": { "start": { "line": 214, "column": 27 }, "end": { "line": 214, "column": 31 } } }, "property": { "type": "Identifier", "name": "floor", "range": [ 8354, 8359 ], "loc": { "start": { "line": 214, "column": 32 }, "end": { "line": 214, "column": 37 } } }, "range": [ 8349, 8359 ], "loc": { "start": { "line": 214, "column": 27 }, "end": { "line": 214, "column": 37 } } }, "arguments": [ { "type": "BinaryExpression", "operator": "/", "left": { "type": "Identifier", "name": "nbvalues", "range": [ 8360, 8368 ], "loc": { "start": { "line": 214, "column": 38 }, "end": { "line": 214, "column": 46 } } }, "right": { "type": "Literal", "value": 4, "raw": "4", "range": [ 8369, 8370 ], "loc": { "start": { "line": 214, "column": 47 }, "end": { "line": 214, "column": 48 } } }, "range": [ 8360, 8370 ], "loc": { "start": { "line": 214, "column": 38 }, "end": { "line": 214, "column": 48 } } } ], "range": [ 8349, 8371 ], "loc": { "start": { "line": 214, "column": 27 }, "end": { "line": 214, "column": 49 } } }, "range": [ 8342, 8371 ], "loc": { "start": { "line": 214, "column": 20 }, "end": { "line": 214, "column": 49 } } }, "range": [ 8342, 8372 ], "loc": { "start": { "line": 214, "column": 20 }, "end": { "line": 214, "column": 50 } } }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "==", "left": { "type": "BinaryExpression", "operator": "*", "left": { "type": "Literal", "value": 4, "raw": "4", "range": [ 8397, 8398 ], "loc": { "start": { "line": 215, "column": 23 }, "end": { "line": 215, "column": 24 } } }, "right": { "type": "Identifier", "name": "posa", "range": [ 8399, 8403 ], "loc": { "start": { "line": 215, "column": 25 }, "end": { "line": 215, "column": 29 } } }, "range": [ 8397, 8403 ], "loc": { "start": { "line": 215, "column": 23 }, "end": { "line": 215, "column": 29 } } }, "right": { "type": "Identifier", "name": "nbvalues", "range": [ 8407, 8415 ], "loc": { "start": { "line": 215, "column": 33 }, "end": { "line": 215, "column": 41 } } }, "range": [ 8397, 8415 ], "loc": { "start": { "line": 215, "column": 23 }, "end": { "line": 215, "column": 41 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "q1Value", "range": [ 8443, 8450 ], "loc": { "start": { "line": 216, "column": 24 }, "end": { "line": 216, "column": 31 } } }, "right": { "type": "BinaryExpression", "operator": "/", "left": { "type": "BinaryExpression", "operator": "+", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "theList", "range": [ 8454, 8461 ], "loc": { "start": { "line": 216, "column": 35 }, "end": { "line": 216, "column": 42 } } }, "property": { "type": "BinaryExpression", "operator": "-", "left": { "type": "Identifier", "name": "posa", "range": [ 8462, 8466 ], "loc": { "start": { "line": 216, "column": 43 }, "end": { "line": 216, "column": 47 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 8467, 8468 ], "loc": { "start": { "line": 216, "column": 48 }, "end": { "line": 216, "column": 49 } } }, "range": [ 8462, 8468 ], "loc": { "start": { "line": 216, "column": 43 }, "end": { "line": 216, "column": 49 } } }, "range": [ 8454, 8469 ], "loc": { "start": { "line": 216, "column": 35 }, "end": { "line": 216, "column": 50 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "theList", "range": [ 8472, 8479 ], "loc": { "start": { "line": 216, "column": 53 }, "end": { "line": 216, "column": 60 } } }, "property": { "type": "Identifier", "name": "posa", "range": [ 8480, 8484 ], "loc": { "start": { "line": 216, "column": 61 }, "end": { "line": 216, "column": 65 } } }, "range": [ 8472, 8485 ], "loc": { "start": { "line": 216, "column": 53 }, "end": { "line": 216, "column": 66 } } }, "range": [ 8454, 8485 ], "loc": { "start": { "line": 216, "column": 35 }, "end": { "line": 216, "column": 66 } } }, "right": { "type": "Literal", "value": 2, "raw": "2", "range": [ 8487, 8488 ], "loc": { "start": { "line": 216, "column": 68 }, "end": { "line": 216, "column": 69 } } }, "range": [ 8453, 8488 ], "loc": { "start": { "line": 216, "column": 34 }, "end": { "line": 216, "column": 69 } } }, "range": [ 8443, 8488 ], "loc": { "start": { "line": 216, "column": 24 }, "end": { "line": 216, "column": 69 } } }, "range": [ 8443, 8489 ], "loc": { "start": { "line": 216, "column": 24 }, "end": { "line": 216, "column": 70 } } } ], "range": [ 8416, 8512 ], "loc": { "start": { "line": 215, "column": 42 }, "end": { "line": 217, "column": 21 } } }, "alternate": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "q1Value", "range": [ 8545, 8552 ], "loc": { "start": { "line": 218, "column": 24 }, "end": { "line": 218, "column": 31 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "theList", "range": [ 8555, 8562 ], "loc": { "start": { "line": 218, "column": 34 }, "end": { "line": 218, "column": 41 } } }, "property": { "type": "Identifier", "name": "posa", "range": [ 8563, 8567 ], "loc": { "start": { "line": 218, "column": 42 }, "end": { "line": 218, "column": 46 } } }, "range": [ 8555, 8568 ], "loc": { "start": { "line": 218, "column": 34 }, "end": { "line": 218, "column": 47 } } }, "range": [ 8545, 8568 ], "loc": { "start": { "line": 218, "column": 24 }, "end": { "line": 218, "column": 47 } } }, "range": [ 8545, 8569 ], "loc": { "start": { "line": 218, "column": 24 }, "end": { "line": 218, "column": 48 } } } ], "range": [ 8518, 8592 ], "loc": { "start": { "line": 217, "column": 27 }, "end": { "line": 219, "column": 21 } } }, "range": [ 8394, 8592 ], "loc": { "start": { "line": 215, "column": 20 }, "end": { "line": 219, "column": 21 } } } ], "range": [ 8288, 8611 ], "loc": { "start": { "line": 212, "column": 30 }, "end": { "line": 220, "column": 17 } } }, "alternate": null, "range": [ 8274, 8611 ], "loc": { "start": { "line": 212, "column": 16 }, "end": { "line": 220, "column": 17 } } }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "q3Flag", "range": [ 8633, 8639 ], "loc": { "start": { "line": 221, "column": 20 }, "end": { "line": 221, "column": 26 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 8642, 8643 ], "loc": { "start": { "line": 221, "column": 29 }, "end": { "line": 221, "column": 30 } } }, "range": [ 8633, 8643 ], "loc": { "start": { "line": 221, "column": 20 }, "end": { "line": 221, "column": 30 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "posa", "range": [ 8667, 8671 ], "loc": { "start": { "line": 222, "column": 20 }, "end": { "line": 222, "column": 24 } } }, "right": { "type": "Literal", "value": 0, "raw": "0.0", "range": [ 8672, 8675 ], "loc": { "start": { "line": 222, "column": 25 }, "end": { "line": 222, "column": 28 } } }, "range": [ 8667, 8675 ], "loc": { "start": { "line": 222, "column": 20 }, "end": { "line": 222, "column": 28 } } }, "range": [ 8667, 8676 ], "loc": { "start": { "line": 222, "column": 20 }, "end": { "line": 222, "column": 29 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "posb", "range": [ 8702, 8706 ], "loc": { "start": { "line": 223, "column": 24 }, "end": { "line": 223, "column": 28 } } }, "init": { "type": "Literal", "value": 0, "raw": "0.0", "range": [ 8707, 8710 ], "loc": { "start": { "line": 223, "column": 29 }, "end": { "line": 223, "column": 32 } } }, "range": [ 8702, 8710 ], "loc": { "start": { "line": 223, "column": 24 }, "end": { "line": 223, "column": 32 } } } ], "kind": "var", "range": [ 8698, 8711 ], "loc": { "start": { "line": 223, "column": 20 }, "end": { "line": 223, "column": 33 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "posa", "range": [ 8733, 8737 ], "loc": { "start": { "line": 224, "column": 20 }, "end": { "line": 224, "column": 24 } } }, "right": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Math", "range": [ 8740, 8744 ], "loc": { "start": { "line": 224, "column": 27 }, "end": { "line": 224, "column": 31 } } }, "property": { "type": "Identifier", "name": "floor", "range": [ 8745, 8750 ], "loc": { "start": { "line": 224, "column": 32 }, "end": { "line": 224, "column": 37 } } }, "range": [ 8740, 8750 ], "loc": { "start": { "line": 224, "column": 27 }, "end": { "line": 224, "column": 37 } } }, "arguments": [ { "type": "BinaryExpression", "operator": "/", "left": { "type": "Identifier", "name": "nbvalues", "range": [ 8751, 8759 ], "loc": { "start": { "line": 224, "column": 38 }, "end": { "line": 224, "column": 46 } } }, "right": { "type": "Literal", "value": 4, "raw": "4", "range": [ 8760, 8761 ], "loc": { "start": { "line": 224, "column": 47 }, "end": { "line": 224, "column": 48 } } }, "range": [ 8751, 8761 ], "loc": { "start": { "line": 224, "column": 38 }, "end": { "line": 224, "column": 48 } } } ], "range": [ 8740, 8762 ], "loc": { "start": { "line": 224, "column": 27 }, "end": { "line": 224, "column": 49 } } }, "range": [ 8733, 8762 ], "loc": { "start": { "line": 224, "column": 20 }, "end": { "line": 224, "column": 49 } } }, "range": [ 8733, 8763 ], "loc": { "start": { "line": 224, "column": 20 }, "end": { "line": 224, "column": 50 } } }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "BinaryExpression", "operator": "*", "left": { "type": "Literal", "value": 4, "raw": "4", "range": [ 8789, 8790 ], "loc": { "start": { "line": 225, "column": 24 }, "end": { "line": 225, "column": 25 } } }, "right": { "type": "Identifier", "name": "posa", "range": [ 8791, 8795 ], "loc": { "start": { "line": 225, "column": 26 }, "end": { "line": 225, "column": 30 } } }, "range": [ 8789, 8795 ], "loc": { "start": { "line": 225, "column": 24 }, "end": { "line": 225, "column": 30 } } }, "right": { "type": "Identifier", "name": "nbvalues", "range": [ 8800, 8808 ], "loc": { "start": { "line": 225, "column": 35 }, "end": { "line": 225, "column": 43 } } }, "range": [ 8789, 8808 ], "loc": { "start": { "line": 225, "column": 24 }, "end": { "line": 225, "column": 43 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "posb", "range": [ 8836, 8840 ], "loc": { "start": { "line": 226, "column": 24 }, "end": { "line": 226, "column": 28 } } }, "right": { "type": "BinaryExpression", "operator": "*", "left": { "type": "Literal", "value": 3, "raw": "3", "range": [ 8843, 8844 ], "loc": { "start": { "line": 226, "column": 31 }, "end": { "line": 226, "column": 32 } } }, "right": { "type": "Identifier", "name": "posa", "range": [ 8845, 8849 ], "loc": { "start": { "line": 226, "column": 33 }, "end": { "line": 226, "column": 37 } } }, "range": [ 8843, 8849 ], "loc": { "start": { "line": 226, "column": 31 }, "end": { "line": 226, "column": 37 } } }, "range": [ 8836, 8849 ], "loc": { "start": { "line": 226, "column": 24 }, "end": { "line": 226, "column": 37 } } }, "range": [ 8836, 8850 ], "loc": { "start": { "line": 226, "column": 24 }, "end": { "line": 226, "column": 38 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "q3Value", "range": [ 8876, 8883 ], "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 227, "column": 31 } } }, "right": { "type": "BinaryExpression", "operator": "/", "left": { "type": "BinaryExpression", "operator": "+", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "theList", "range": [ 8887, 8894 ], "loc": { "start": { "line": 227, "column": 35 }, "end": { "line": 227, "column": 42 } } }, "property": { "type": "Identifier", "name": "posb", "range": [ 8895, 8899 ], "loc": { "start": { "line": 227, "column": 43 }, "end": { "line": 227, "column": 47 } } }, "range": [ 8887, 8900 ], "loc": { "start": { "line": 227, "column": 35 }, "end": { "line": 227, "column": 48 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "theList", "range": [ 8903, 8910 ], "loc": { "start": { "line": 227, "column": 51 }, "end": { "line": 227, "column": 58 } } }, "property": { "type": "BinaryExpression", "operator": "-", "left": { "type": "Identifier", "name": "posb", "range": [ 8911, 8915 ], "loc": { "start": { "line": 227, "column": 59 }, "end": { "line": 227, "column": 63 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 8916, 8917 ], "loc": { "start": { "line": 227, "column": 64 }, "end": { "line": 227, "column": 65 } } }, "range": [ 8911, 8917 ], "loc": { "start": { "line": 227, "column": 59 }, "end": { "line": 227, "column": 65 } } }, "range": [ 8903, 8918 ], "loc": { "start": { "line": 227, "column": 51 }, "end": { "line": 227, "column": 66 } } }, "range": [ 8887, 8918 ], "loc": { "start": { "line": 227, "column": 35 }, "end": { "line": 227, "column": 66 } } }, "right": { "type": "Literal", "value": 2, "raw": "2", "range": [ 8920, 8921 ], "loc": { "start": { "line": 227, "column": 68 }, "end": { "line": 227, "column": 69 } } }, "range": [ 8886, 8921 ], "loc": { "start": { "line": 227, "column": 34 }, "end": { "line": 227, "column": 69 } } }, "range": [ 8876, 8921 ], "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 227, "column": 69 } } }, "range": [ 8876, 8922 ], "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 227, "column": 70 } } } ], "range": [ 8809, 8945 ], "loc": { "start": { "line": 225, "column": 44 }, "end": { "line": 228, "column": 21 } } }, "alternate": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "q3Value", "range": [ 8978, 8985 ], "loc": { "start": { "line": 229, "column": 24 }, "end": { "line": 229, "column": 31 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "theList", "range": [ 8988, 8995 ], "loc": { "start": { "line": 229, "column": 34 }, "end": { "line": 229, "column": 41 } } }, "property": { "type": "BinaryExpression", "operator": "-", "left": { "type": "BinaryExpression", "operator": "-", "left": { "type": "Identifier", "name": "nbvalues", "range": [ 8996, 9004 ], "loc": { "start": { "line": 229, "column": 42 }, "end": { "line": 229, "column": 50 } } }, "right": { "type": "Identifier", "name": "posa", "range": [ 9005, 9009 ], "loc": { "start": { "line": 229, "column": 51 }, "end": { "line": 229, "column": 55 } } }, "range": [ 8996, 9009 ], "loc": { "start": { "line": 229, "column": 42 }, "end": { "line": 229, "column": 55 } } }, "right": { "type": "Literal", "value": 1, "raw": "1", "range": [ 9010, 9011 ], "loc": { "start": { "line": 229, "column": 56 }, "end": { "line": 229, "column": 57 } } }, "range": [ 8996, 9011 ], "loc": { "start": { "line": 229, "column": 42 }, "end": { "line": 229, "column": 57 } } }, "range": [ 8988, 9012 ], "loc": { "start": { "line": 229, "column": 34 }, "end": { "line": 229, "column": 58 } } }, "range": [ 8978, 9012 ], "loc": { "start": { "line": 229, "column": 24 }, "end": { "line": 229, "column": 58 } } }, "range": [ 8978, 9013 ], "loc": { "start": { "line": 229, "column": 24 }, "end": { "line": 229, "column": 59 } } } ], "range": [ 8951, 9036 ], "loc": { "start": { "line": 228, "column": 27 }, "end": { "line": 230, "column": 21 } } }, "range": [ 8785, 9036 ], "loc": { "start": { "line": 225, "column": 20 }, "end": { "line": 230, "column": 21 } } } ], "range": [ 8644, 9055 ], "loc": { "start": { "line": 221, "column": 31 }, "end": { "line": 231, "column": 17 } } }, "alternate": null, "range": [ 8629, 9055 ], "loc": { "start": { "line": 221, "column": 16 }, "end": { "line": 231, "column": 17 } } }, { "type": "ForStatement", "init": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "i", "range": [ 9083, 9084 ], "loc": { "start": { "line": 233, "column": 24 }, "end": { "line": 233, "column": 25 } } }, "init": { "type": "Literal", "value": 0, "raw": "0", "range": [ 9085, 9086 ], "loc": { "start": { "line": 233, "column": 26 }, "end": { "line": 233, "column": 27 } } }, "range": [ 9083, 9086 ], "loc": { "start": { "line": 233, "column": 24 }, "end": { "line": 233, "column": 27 } } } ], "kind": "var", "range": [ 9079, 9086 ], "loc": { "start": { "line": 233, "column": 20 }, "end": { "line": 233, "column": 27 } } }, "test": { "type": "BinaryExpression", "operator": "<=", "left": { "type": "Identifier", "name": "i", "range": [ 9088, 9089 ], "loc": { "start": { "line": 233, "column": 29 }, "end": { "line": 233, "column": 30 } } }, "right": { "type": "Identifier", "name": "mThisCol", "range": [ 9091, 9099 ], "loc": { "start": { "line": 233, "column": 32 }, "end": { "line": 233, "column": 40 } } }, "range": [ 9088, 9099 ], "loc": { "start": { "line": 233, "column": 29 }, "end": { "line": 233, "column": 40 } } }, "update": { "type": "UpdateExpression", "operator": "++", "argument": { "type": "Identifier", "name": "i", "range": [ 9101, 9102 ], "loc": { "start": { "line": 233, "column": 42 }, "end": { "line": 233, "column": 43 } } }, "prefix": false, "range": [ 9101, 9104 ], "loc": { "start": { "line": 233, "column": 42 }, "end": { "line": 233, "column": 45 } } }, "body": { "type": "BlockStatement", "body": [ { "type": "SwitchStatement", "discriminant": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "opsThisCol", "range": [ 9136, 9146 ], "loc": { "start": { "line": 234, "column": 28 }, "end": { "line": 234, "column": 38 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 9147, 9148 ], "loc": { "start": { "line": 234, "column": 39 }, "end": { "line": 234, "column": 40 } } }, "range": [ 9136, 9149 ], "loc": { "start": { "line": 234, "column": 28 }, "end": { "line": 234, "column": 41 } } }, "cases": [ { "type": "SwitchCase", "test": { "type": "Literal", "value": "mean", "raw": "'mean'", "range": [ 9183, 9189 ], "loc": { "start": { "line": 235, "column": 29 }, "end": { "line": 235, "column": 35 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "result", "range": [ 9220, 9226 ], "loc": { "start": { "line": 236, "column": 28 }, "end": { "line": 236, "column": 34 } } }, "right": { "type": "Identifier", "name": "meanValue", "range": [ 9227, 9236 ], "loc": { "start": { "line": 236, "column": 35 }, "end": { "line": 236, "column": 44 } } }, "range": [ 9220, 9236 ], "loc": { "start": { "line": 236, "column": 28 }, "end": { "line": 236, "column": 44 } } }, "range": [ 9220, 9237 ], "loc": { "start": { "line": 236, "column": 28 }, "end": { "line": 236, "column": 45 } } }, { "type": "BreakStatement", "label": null, "range": [ 9263, 9269 ], "loc": { "start": { "line": 237, "column": 24 }, "end": { "line": 237, "column": 30 } } } ], "range": [ 9178, 9269 ], "loc": { "start": { "line": 235, "column": 24 }, "end": { "line": 237, "column": 30 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "sum", "raw": "'sum'", "range": [ 9300, 9305 ], "loc": { "start": { "line": 238, "column": 29 }, "end": { "line": 238, "column": 34 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "result", "range": [ 9336, 9342 ], "loc": { "start": { "line": 239, "column": 28 }, "end": { "line": 239, "column": 34 } } }, "right": { "type": "Identifier", "name": "sumValue", "range": [ 9343, 9351 ], "loc": { "start": { "line": 239, "column": 35 }, "end": { "line": 239, "column": 43 } } }, "range": [ 9336, 9351 ], "loc": { "start": { "line": 239, "column": 28 }, "end": { "line": 239, "column": 43 } } }, "range": [ 9336, 9352 ], "loc": { "start": { "line": 239, "column": 28 }, "end": { "line": 239, "column": 44 } } }, { "type": "BreakStatement", "label": null, "range": [ 9378, 9384 ], "loc": { "start": { "line": 240, "column": 24 }, "end": { "line": 240, "column": 30 } } } ], "range": [ 9295, 9384 ], "loc": { "start": { "line": 238, "column": 24 }, "end": { "line": 240, "column": 30 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "min", "raw": "'min'", "range": [ 9415, 9420 ], "loc": { "start": { "line": 241, "column": 29 }, "end": { "line": 241, "column": 34 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "result", "range": [ 9451, 9457 ], "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 34 } } }, "right": { "type": "Identifier", "name": "minValue", "range": [ 9458, 9466 ], "loc": { "start": { "line": 242, "column": 35 }, "end": { "line": 242, "column": 43 } } }, "range": [ 9451, 9466 ], "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 43 } } }, "range": [ 9451, 9467 ], "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 44 } } }, { "type": "BreakStatement", "label": null, "range": [ 9493, 9499 ], "loc": { "start": { "line": 243, "column": 24 }, "end": { "line": 243, "column": 30 } } } ], "range": [ 9410, 9499 ], "loc": { "start": { "line": 241, "column": 24 }, "end": { "line": 243, "column": 30 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "max", "raw": "'max'", "range": [ 9530, 9535 ], "loc": { "start": { "line": 244, "column": 29 }, "end": { "line": 244, "column": 34 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "result", "range": [ 9566, 9572 ], "loc": { "start": { "line": 245, "column": 28 }, "end": { "line": 245, "column": 34 } } }, "right": { "type": "Identifier", "name": "maxValue", "range": [ 9573, 9581 ], "loc": { "start": { "line": 245, "column": 35 }, "end": { "line": 245, "column": 43 } } }, "range": [ 9566, 9581 ], "loc": { "start": { "line": 245, "column": 28 }, "end": { "line": 245, "column": 43 } } }, "range": [ 9566, 9582 ], "loc": { "start": { "line": 245, "column": 28 }, "end": { "line": 245, "column": 44 } } }, { "type": "BreakStatement", "label": null, "range": [ 9608, 9614 ], "loc": { "start": { "line": 246, "column": 24 }, "end": { "line": 246, "column": 30 } } } ], "range": [ 9525, 9614 ], "loc": { "start": { "line": 244, "column": 24 }, "end": { "line": 246, "column": 30 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "median", "raw": "'median'", "range": [ 9645, 9653 ], "loc": { "start": { "line": 247, "column": 29 }, "end": { "line": 247, "column": 37 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "result", "range": [ 9684, 9690 ], "loc": { "start": { "line": 248, "column": 28 }, "end": { "line": 248, "column": 34 } } }, "right": { "type": "Identifier", "name": "medValue", "range": [ 9691, 9699 ], "loc": { "start": { "line": 248, "column": 35 }, "end": { "line": 248, "column": 43 } } }, "range": [ 9684, 9699 ], "loc": { "start": { "line": 248, "column": 28 }, "end": { "line": 248, "column": 43 } } }, "range": [ 9684, 9700 ], "loc": { "start": { "line": 248, "column": 28 }, "end": { "line": 248, "column": 44 } } }, { "type": "BreakStatement", "label": null, "range": [ 9730, 9736 ], "loc": { "start": { "line": 249, "column": 28 }, "end": { "line": 249, "column": 34 } } } ], "range": [ 9640, 9736 ], "loc": { "start": { "line": 247, "column": 24 }, "end": { "line": 249, "column": 34 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "q1", "raw": "'q1'", "range": [ 9767, 9771 ], "loc": { "start": { "line": 250, "column": 29 }, "end": { "line": 250, "column": 33 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "result", "range": [ 9802, 9808 ], "loc": { "start": { "line": 251, "column": 28 }, "end": { "line": 251, "column": 34 } } }, "right": { "type": "Identifier", "name": "q1Value", "range": [ 9809, 9816 ], "loc": { "start": { "line": 251, "column": 35 }, "end": { "line": 251, "column": 42 } } }, "range": [ 9802, 9816 ], "loc": { "start": { "line": 251, "column": 28 }, "end": { "line": 251, "column": 42 } } }, "range": [ 9802, 9817 ], "loc": { "start": { "line": 251, "column": 28 }, "end": { "line": 251, "column": 43 } } }, { "type": "BreakStatement", "label": null, "range": [ 9843, 9849 ], "loc": { "start": { "line": 252, "column": 24 }, "end": { "line": 252, "column": 30 } } } ], "range": [ 9762, 9849 ], "loc": { "start": { "line": 250, "column": 24 }, "end": { "line": 252, "column": 30 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "q3", "raw": "'q3'", "range": [ 9880, 9884 ], "loc": { "start": { "line": 253, "column": 29 }, "end": { "line": 253, "column": 33 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "result", "range": [ 9915, 9921 ], "loc": { "start": { "line": 254, "column": 28 }, "end": { "line": 254, "column": 34 } } }, "right": { "type": "Identifier", "name": "q3Value", "range": [ 9922, 9929 ], "loc": { "start": { "line": 254, "column": 35 }, "end": { "line": 254, "column": 42 } } }, "range": [ 9915, 9929 ], "loc": { "start": { "line": 254, "column": 28 }, "end": { "line": 254, "column": 42 } } }, "range": [ 9915, 9930 ], "loc": { "start": { "line": 254, "column": 28 }, "end": { "line": 254, "column": 43 } } }, { "type": "BreakStatement", "label": null, "range": [ 9956, 9962 ], "loc": { "start": { "line": 255, "column": 24 }, "end": { "line": 255, "column": 30 } } } ], "range": [ 9875, 9962 ], "loc": { "start": { "line": 253, "column": 24 }, "end": { "line": 255, "column": 30 } } } ], "range": [ 9128, 9985 ], "loc": { "start": { "line": 234, "column": 20 }, "end": { "line": 256, "column": 21 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "precision", "range": [ 10013, 10022 ], "loc": { "start": { "line": 258, "column": 24 }, "end": { "line": 258, "column": 33 } } }, "init": { "type": "ConditionalExpression", "test": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "isNaN", "range": [ 10026, 10031 ], "loc": { "start": { "line": 258, "column": 37 }, "end": { "line": 258, "column": 42 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "decThisCol", "range": [ 10032, 10042 ], "loc": { "start": { "line": 258, "column": 43 }, "end": { "line": 258, "column": 53 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 10043, 10044 ], "loc": { "start": { "line": 258, "column": 54 }, "end": { "line": 258, "column": 55 } } }, "range": [ 10032, 10045 ], "loc": { "start": { "line": 258, "column": 43 }, "end": { "line": 258, "column": 56 } } } ], "range": [ 10026, 10046 ], "loc": { "start": { "line": 258, "column": 37 }, "end": { "line": 258, "column": 57 } } }, "prefix": true, "range": [ 10025, 10046 ], "loc": { "start": { "line": 258, "column": 36 }, "end": { "line": 258, "column": 57 } } }, "consequent": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "decThisCol", "range": [ 10049, 10059 ], "loc": { "start": { "line": 258, "column": 60 }, "end": { "line": 258, "column": 70 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 10060, 10061 ], "loc": { "start": { "line": 258, "column": 71 }, "end": { "line": 258, "column": 72 } } }, "range": [ 10049, 10062 ], "loc": { "start": { "line": 258, "column": 60 }, "end": { "line": 258, "column": 73 } } }, "alternate": { "type": "Literal", "value": 2, "raw": "2", "range": [ 10065, 10066 ], "loc": { "start": { "line": 258, "column": 76 }, "end": { "line": 258, "column": 77 } } }, "range": [ 10025, 10066 ], "loc": { "start": { "line": 258, "column": 36 }, "end": { "line": 258, "column": 77 } } }, "range": [ 10013, 10066 ], "loc": { "start": { "line": 258, "column": 24 }, "end": { "line": 258, "column": 77 } } } ], "kind": "var", "range": [ 10009, 10067 ], "loc": { "start": { "line": 258, "column": 20 }, "end": { "line": 258, "column": 78 } }, "trailingComments": [ { "type": "Line", "value": "if outputType is defined", "range": [ 10091, 10117 ], "loc": { "start": { "line": 260, "column": 20 }, "end": { "line": 260, "column": 46 } } } ] }, { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "Identifier", "name": "oTypeThisCol", "range": [ 10142, 10154 ], "loc": { "start": { "line": 261, "column": 23 }, "end": { "line": 261, "column": 35 } } }, "right": { "type": "Identifier", "name": "result", "range": [ 10158, 10164 ], "loc": { "start": { "line": 261, "column": 39 }, "end": { "line": 261, "column": 45 } } }, "range": [ 10142, 10164 ], "loc": { "start": { "line": 261, "column": 23 }, "end": { "line": 261, "column": 45 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "result", "range": [ 10192, 10198 ], "loc": { "start": { "line": 262, "column": 24 }, "end": { "line": 262, "column": 30 } } }, "right": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "result", "range": [ 10201, 10207 ], "loc": { "start": { "line": 262, "column": 33 }, "end": { "line": 262, "column": 39 } } }, "property": { "type": "Identifier", "name": "toFixed", "range": [ 10208, 10215 ], "loc": { "start": { "line": 262, "column": 40 }, "end": { "line": 262, "column": 47 } } }, "range": [ 10201, 10215 ], "loc": { "start": { "line": 262, "column": 33 }, "end": { "line": 262, "column": 47 } } }, "arguments": [ { "type": "Identifier", "name": "precision", "range": [ 10217, 10226 ], "loc": { "start": { "line": 262, "column": 49 }, "end": { "line": 262, "column": 58 } } } ], "range": [ 10201, 10228 ], "loc": { "start": { "line": 262, "column": 33 }, "end": { "line": 262, "column": 60 } } }, "range": [ 10192, 10228 ], "loc": { "start": { "line": 262, "column": 24 }, "end": { "line": 262, "column": 60 } } }, "range": [ 10192, 10229 ], "loc": { "start": { "line": 262, "column": 24 }, "end": { "line": 262, "column": 61 } } }, { "type": "IfStatement", "test": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Dom", "range": [ 10260, 10263 ], "loc": { "start": { "line": 264, "column": 27 }, "end": { "line": 264, "column": 30 } } }, "property": { "type": "Identifier", "name": "id", "range": [ 10264, 10266 ], "loc": { "start": { "line": 264, "column": 31 }, "end": { "line": 264, "column": 33 } } }, "range": [ 10260, 10266 ], "loc": { "start": { "line": 264, "column": 27 }, "end": { "line": 264, "column": 33 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "labThisCol", "range": [ 10267, 10277 ], "loc": { "start": { "line": 264, "column": 34 }, "end": { "line": 264, "column": 44 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 10278, 10279 ], "loc": { "start": { "line": 264, "column": 45 }, "end": { "line": 264, "column": 46 } } }, "range": [ 10267, 10280 ], "loc": { "start": { "line": 264, "column": 34 }, "end": { "line": 264, "column": 47 } } } ], "range": [ 10260, 10281 ], "loc": { "start": { "line": 264, "column": 27 }, "end": { "line": 264, "column": 48 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "SwitchStatement", "discriminant": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Str", "range": [ 10321, 10324 ], "loc": { "start": { "line": 265, "column": 36 }, "end": { "line": 265, "column": 39 } } }, "property": { "type": "Identifier", "name": "lower", "range": [ 10325, 10330 ], "loc": { "start": { "line": 265, "column": 40 }, "end": { "line": 265, "column": 45 } } }, "range": [ 10321, 10330 ], "loc": { "start": { "line": 265, "column": 36 }, "end": { "line": 265, "column": 45 } } }, "arguments": [ { "type": "Identifier", "name": "oTypeThisCol", "range": [ 10331, 10343 ], "loc": { "start": { "line": 265, "column": 46 }, "end": { "line": 265, "column": 58 } } } ], "range": [ 10321, 10344 ], "loc": { "start": { "line": 265, "column": 36 }, "end": { "line": 265, "column": 59 } } }, "cases": [ { "type": "SwitchCase", "test": { "type": "Literal", "value": "innerhtml", "raw": "'innerhtml'", "range": [ 10386, 10397 ], "loc": { "start": { "line": 266, "column": 37 }, "end": { "line": 266, "column": 48 } } }, "consequent": [ { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "||", "left": { "type": "LogicalExpression", "operator": "||", "left": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "isNaN", "range": [ 10440, 10445 ], "loc": { "start": { "line": 267, "column": 40 }, "end": { "line": 267, "column": 45 } } }, "arguments": [ { "type": "Identifier", "name": "result", "range": [ 10446, 10452 ], "loc": { "start": { "line": 267, "column": 46 }, "end": { "line": 267, "column": 52 } } } ], "range": [ 10440, 10453 ], "loc": { "start": { "line": 267, "column": 40 }, "end": { "line": 267, "column": 53 } } }, "right": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "isFinite", "range": [ 10458, 10466 ], "loc": { "start": { "line": 267, "column": 58 }, "end": { "line": 267, "column": 66 } } }, "arguments": [ { "type": "Identifier", "name": "result", "range": [ 10467, 10473 ], "loc": { "start": { "line": 267, "column": 67 }, "end": { "line": 267, "column": 73 } } } ], "range": [ 10458, 10474 ], "loc": { "start": { "line": 267, "column": 58 }, "end": { "line": 267, "column": 74 } } }, "prefix": true, "range": [ 10457, 10474 ], "loc": { "start": { "line": 267, "column": 57 }, "end": { "line": 267, "column": 74 } } }, "range": [ 10440, 10474 ], "loc": { "start": { "line": 267, "column": 40 }, "end": { "line": 267, "column": 74 } } }, "right": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "nbvalues", "range": [ 10519, 10527 ], "loc": { "start": { "line": 268, "column": 40 }, "end": { "line": 268, "column": 48 } } }, "right": { "type": "Literal", "value": 0, "raw": "0", "range": [ 10530, 10531 ], "loc": { "start": { "line": 268, "column": 51 }, "end": { "line": 268, "column": 52 } } }, "range": [ 10519, 10531 ], "loc": { "start": { "line": 268, "column": 40 }, "end": { "line": 268, "column": 52 } } }, "range": [ 10440, 10531 ], "loc": { "start": { "line": 267, "column": 40 }, "end": { "line": 268, "column": 52 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Dom", "range": [ 10575, 10578 ], "loc": { "start": { "line": 269, "column": 40 }, "end": { "line": 269, "column": 43 } } }, "property": { "type": "Identifier", "name": "id", "range": [ 10579, 10581 ], "loc": { "start": { "line": 269, "column": 44 }, "end": { "line": 269, "column": 46 } } }, "range": [ 10575, 10581 ], "loc": { "start": { "line": 269, "column": 40 }, "end": { "line": 269, "column": 46 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "labThisCol", "range": [ 10582, 10592 ], "loc": { "start": { "line": 269, "column": 47 }, "end": { "line": 269, "column": 57 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 10593, 10594 ], "loc": { "start": { "line": 269, "column": 58 }, "end": { "line": 269, "column": 59 } } }, "range": [ 10582, 10595 ], "loc": { "start": { "line": 269, "column": 47 }, "end": { "line": 269, "column": 60 } } } ], "range": [ 10575, 10596 ], "loc": { "start": { "line": 269, "column": 40 }, "end": { "line": 269, "column": 61 } } }, "property": { "type": "Identifier", "name": "innerHTML", "range": [ 10597, 10606 ], "loc": { "start": { "line": 269, "column": 62 }, "end": { "line": 269, "column": 71 } } }, "range": [ 10575, 10606 ], "loc": { "start": { "line": 269, "column": 40 }, "end": { "line": 269, "column": 71 } } }, "right": { "type": "Literal", "value": ".", "raw": "'.'", "range": [ 10609, 10612 ], "loc": { "start": { "line": 269, "column": 74 }, "end": { "line": 269, "column": 77 } } }, "range": [ 10575, 10612 ], "loc": { "start": { "line": 269, "column": 40 }, "end": { "line": 269, "column": 77 } } }, "range": [ 10575, 10613 ], "loc": { "start": { "line": 269, "column": 40 }, "end": { "line": 269, "column": 78 } } } ], "range": [ 10532, 10652 ], "loc": { "start": { "line": 268, "column": 53 }, "end": { "line": 270, "column": 37 } } }, "alternate": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Dom", "range": [ 10700, 10703 ], "loc": { "start": { "line": 271, "column": 40 }, "end": { "line": 271, "column": 43 } } }, "property": { "type": "Identifier", "name": "id", "range": [ 10704, 10706 ], "loc": { "start": { "line": 271, "column": 44 }, "end": { "line": 271, "column": 46 } } }, "range": [ 10700, 10706 ], "loc": { "start": { "line": 271, "column": 40 }, "end": { "line": 271, "column": 46 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "labThisCol", "range": [ 10707, 10717 ], "loc": { "start": { "line": 271, "column": 47 }, "end": { "line": 271, "column": 57 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 10718, 10719 ], "loc": { "start": { "line": 271, "column": 58 }, "end": { "line": 271, "column": 59 } } }, "range": [ 10707, 10720 ], "loc": { "start": { "line": 271, "column": 47 }, "end": { "line": 271, "column": 60 } } } ], "range": [ 10700, 10721 ], "loc": { "start": { "line": 271, "column": 40 }, "end": { "line": 271, "column": 61 } } }, "property": { "type": "Identifier", "name": "innerHTML", "range": [ 10722, 10731 ], "loc": { "start": { "line": 271, "column": 62 }, "end": { "line": 271, "column": 71 } } }, "range": [ 10700, 10731 ], "loc": { "start": { "line": 271, "column": 40 }, "end": { "line": 271, "column": 71 } } }, "right": { "type": "Identifier", "name": "result", "range": [ 10733, 10739 ], "loc": { "start": { "line": 271, "column": 73 }, "end": { "line": 271, "column": 79 } } }, "range": [ 10700, 10739 ], "loc": { "start": { "line": 271, "column": 40 }, "end": { "line": 271, "column": 79 } } }, "range": [ 10700, 10740 ], "loc": { "start": { "line": 271, "column": 40 }, "end": { "line": 271, "column": 80 } } } ], "range": [ 10657, 10779 ], "loc": { "start": { "line": 270, "column": 42 }, "end": { "line": 272, "column": 37 } } }, "range": [ 10436, 10779 ], "loc": { "start": { "line": 267, "column": 36 }, "end": { "line": 272, "column": 37 } } }, { "type": "BreakStatement", "label": null, "range": [ 10813, 10819 ], "loc": { "start": { "line": 273, "column": 32 }, "end": { "line": 273, "column": 38 } } } ], "range": [ 10381, 10819 ], "loc": { "start": { "line": 266, "column": 32 }, "end": { "line": 273, "column": 38 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "setvalue", "raw": "'setvalue'", "range": [ 10858, 10868 ], "loc": { "start": { "line": 274, "column": 37 }, "end": { "line": 274, "column": 47 } } }, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Dom", "range": [ 10907, 10910 ], "loc": { "start": { "line": 275, "column": 36 }, "end": { "line": 275, "column": 39 } } }, "property": { "type": "Identifier", "name": "id", "range": [ 10911, 10913 ], "loc": { "start": { "line": 275, "column": 40 }, "end": { "line": 275, "column": 42 } } }, "range": [ 10907, 10913 ], "loc": { "start": { "line": 275, "column": 36 }, "end": { "line": 275, "column": 42 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "labThisCol", "range": [ 10915, 10925 ], "loc": { "start": { "line": 275, "column": 44 }, "end": { "line": 275, "column": 54 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 10926, 10927 ], "loc": { "start": { "line": 275, "column": 55 }, "end": { "line": 275, "column": 56 } } }, "range": [ 10915, 10928 ], "loc": { "start": { "line": 275, "column": 44 }, "end": { "line": 275, "column": 57 } } } ], "range": [ 10907, 10930 ], "loc": { "start": { "line": 275, "column": 36 }, "end": { "line": 275, "column": 59 } } }, "property": { "type": "Identifier", "name": "value", "range": [ 10931, 10936 ], "loc": { "start": { "line": 275, "column": 60 }, "end": { "line": 275, "column": 65 } } }, "range": [ 10907, 10936 ], "loc": { "start": { "line": 275, "column": 36 }, "end": { "line": 275, "column": 65 } } }, "right": { "type": "Identifier", "name": "result", "range": [ 10939, 10945 ], "loc": { "start": { "line": 275, "column": 68 }, "end": { "line": 275, "column": 74 } } }, "range": [ 10907, 10945 ], "loc": { "start": { "line": 275, "column": 36 }, "end": { "line": 275, "column": 74 } } }, "range": [ 10907, 10946 ], "loc": { "start": { "line": 275, "column": 36 }, "end": { "line": 275, "column": 75 } } }, { "type": "BreakStatement", "label": null, "range": [ 10980, 10986 ], "loc": { "start": { "line": 276, "column": 32 }, "end": { "line": 276, "column": 38 } } } ], "range": [ 10853, 10986 ], "loc": { "start": { "line": 274, "column": 32 }, "end": { "line": 276, "column": 38 } } }, { "type": "SwitchCase", "test": { "type": "Literal", "value": "createtextnode", "raw": "'createtextnode'", "range": [ 11025, 11041 ], "loc": { "start": { "line": 277, "column": 37 }, "end": { "line": 277, "column": 53 } } }, "consequent": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "oldnode", "range": [ 11084, 11091 ], "loc": { "start": { "line": 278, "column": 40 }, "end": { "line": 278, "column": 47 } } }, "init": { "type": "MemberExpression", "computed": false, "object": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Dom", "range": [ 11094, 11097 ], "loc": { "start": { "line": 278, "column": 50 }, "end": { "line": 278, "column": 53 } } }, "property": { "type": "Identifier", "name": "id", "range": [ 11098, 11100 ], "loc": { "start": { "line": 278, "column": 54 }, "end": { "line": 278, "column": 56 } } }, "range": [ 11094, 11100 ], "loc": { "start": { "line": 278, "column": 50 }, "end": { "line": 278, "column": 56 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "labThisCol", "range": [ 11101, 11111 ], "loc": { "start": { "line": 278, "column": 57 }, "end": { "line": 278, "column": 67 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 11112, 11113 ], "loc": { "start": { "line": 278, "column": 68 }, "end": { "line": 278, "column": 69 } } }, "range": [ 11101, 11114 ], "loc": { "start": { "line": 278, "column": 57 }, "end": { "line": 278, "column": 70 } } } ], "range": [ 11094, 11115 ], "loc": { "start": { "line": 278, "column": 50 }, "end": { "line": 278, "column": 71 } } }, "property": { "type": "Identifier", "name": "firstChild", "range": [ 11158, 11168 ], "loc": { "start": { "line": 279, "column": 41 }, "end": { "line": 279, "column": 51 } } }, "range": [ 11094, 11168 ], "loc": { "start": { "line": 278, "column": 50 }, "end": { "line": 279, "column": 51 } } }, "range": [ 11084, 11168 ], "loc": { "start": { "line": 278, "column": 40 }, "end": { "line": 279, "column": 51 } } } ], "kind": "var", "range": [ 11080, 11169 ], "loc": { "start": { "line": 278, "column": 36 }, "end": { "line": 279, "column": 52 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "txtnode", "range": [ 11211, 11218 ], "loc": { "start": { "line": 280, "column": 40 }, "end": { "line": 280, "column": 47 } } }, "init": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Dom", "range": [ 11221, 11224 ], "loc": { "start": { "line": 280, "column": 50 }, "end": { "line": 280, "column": 53 } } }, "property": { "type": "Identifier", "name": "text", "range": [ 11225, 11229 ], "loc": { "start": { "line": 280, "column": 54 }, "end": { "line": 280, "column": 58 } } }, "range": [ 11221, 11229 ], "loc": { "start": { "line": 280, "column": 50 }, "end": { "line": 280, "column": 58 } } }, "arguments": [ { "type": "Identifier", "name": "result", "range": [ 11230, 11236 ], "loc": { "start": { "line": 280, "column": 59 }, "end": { "line": 280, "column": 65 } } } ], "range": [ 11221, 11237 ], "loc": { "start": { "line": 280, "column": 50 }, "end": { "line": 280, "column": 66 } } }, "range": [ 11211, 11237 ], "loc": { "start": { "line": 280, "column": 40 }, "end": { "line": 280, "column": 66 } } } ], "kind": "var", "range": [ 11207, 11238 ], "loc": { "start": { "line": 280, "column": 36 }, "end": { "line": 280, "column": 67 } } }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Dom", "range": [ 11276, 11279 ], "loc": { "start": { "line": 281, "column": 36 }, "end": { "line": 281, "column": 39 } } }, "property": { "type": "Identifier", "name": "id", "range": [ 11280, 11282 ], "loc": { "start": { "line": 281, "column": 40 }, "end": { "line": 281, "column": 42 } } }, "range": [ 11276, 11282 ], "loc": { "start": { "line": 281, "column": 36 }, "end": { "line": 281, "column": 42 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "labThisCol", "range": [ 11283, 11293 ], "loc": { "start": { "line": 281, "column": 43 }, "end": { "line": 281, "column": 53 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 11294, 11295 ], "loc": { "start": { "line": 281, "column": 54 }, "end": { "line": 281, "column": 55 } } }, "range": [ 11283, 11296 ], "loc": { "start": { "line": 281, "column": 43 }, "end": { "line": 281, "column": 56 } } } ], "range": [ 11276, 11297 ], "loc": { "start": { "line": 281, "column": 36 }, "end": { "line": 281, "column": 57 } } }, "property": { "type": "Identifier", "name": "replaceChild", "range": [ 11340, 11352 ], "loc": { "start": { "line": 282, "column": 41 }, "end": { "line": 282, "column": 53 } } }, "range": [ 11276, 11352 ], "loc": { "start": { "line": 281, "column": 36 }, "end": { "line": 282, "column": 53 } } }, "arguments": [ { "type": "Identifier", "name": "txtnode", "range": [ 11353, 11360 ], "loc": { "start": { "line": 282, "column": 54 }, "end": { "line": 282, "column": 61 } } }, { "type": "Identifier", "name": "oldnode", "range": [ 11362, 11369 ], "loc": { "start": { "line": 282, "column": 63 }, "end": { "line": 282, "column": 70 } } } ], "range": [ 11276, 11370 ], "loc": { "start": { "line": 281, "column": 36 }, "end": { "line": 282, "column": 71 } } }, "range": [ 11276, 11371 ], "loc": { "start": { "line": 281, "column": 36 }, "end": { "line": 282, "column": 72 } } }, { "type": "BreakStatement", "label": null, "range": [ 11405, 11411 ], "loc": { "start": { "line": 283, "column": 32 }, "end": { "line": 283, "column": 38 } } } ], "range": [ 11020, 11411 ], "loc": { "start": { "line": 277, "column": 32 }, "end": { "line": 283, "column": 38 } } } ], "range": [ 10313, 11442 ], "loc": { "start": { "line": 265, "column": 28 }, "end": { "line": 284, "column": 29 } }, "trailingComments": [ { "type": "Line", "value": "switch", "range": [ 11442, 11450 ], "loc": { "start": { "line": 284, "column": 29 }, "end": { "line": 284, "column": 37 } } } ] } ], "range": [ 10282, 11477 ], "loc": { "start": { "line": 264, "column": 49 }, "end": { "line": 285, "column": 25 } } }, "alternate": null, "range": [ 10257, 11477 ], "loc": { "start": { "line": 264, "column": 24 }, "end": { "line": 285, "column": 25 } } } ], "range": [ 10165, 11500 ], "loc": { "start": { "line": 261, "column": 46 }, "end": { "line": 286, "column": 21 } } }, "alternate": { "type": "BlockStatement", "body": [ { "type": "TryStatement", "block": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "||", "left": { "type": "LogicalExpression", "operator": "||", "left": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "isNaN", "range": [ 11570, 11575 ], "loc": { "start": { "line": 288, "column": 31 }, "end": { "line": 288, "column": 36 } } }, "arguments": [ { "type": "Identifier", "name": "result", "range": [ 11576, 11582 ], "loc": { "start": { "line": 288, "column": 37 }, "end": { "line": 288, "column": 43 } } } ], "range": [ 11570, 11583 ], "loc": { "start": { "line": 288, "column": 31 }, "end": { "line": 288, "column": 44 } } }, "right": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "isFinite", "range": [ 11588, 11596 ], "loc": { "start": { "line": 288, "column": 49 }, "end": { "line": 288, "column": 57 } } }, "arguments": [ { "type": "Identifier", "name": "result", "range": [ 11597, 11603 ], "loc": { "start": { "line": 288, "column": 58 }, "end": { "line": 288, "column": 64 } } } ], "range": [ 11588, 11604 ], "loc": { "start": { "line": 288, "column": 49 }, "end": { "line": 288, "column": 65 } } }, "prefix": true, "range": [ 11587, 11604 ], "loc": { "start": { "line": 288, "column": 48 }, "end": { "line": 288, "column": 65 } } }, "range": [ 11570, 11604 ], "loc": { "start": { "line": 288, "column": 31 }, "end": { "line": 288, "column": 65 } } }, "right": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "nbvalues", "range": [ 11641, 11649 ], "loc": { "start": { "line": 289, "column": 32 }, "end": { "line": 289, "column": 40 } } }, "right": { "type": "Literal", "value": 0, "raw": "0", "range": [ 11652, 11653 ], "loc": { "start": { "line": 289, "column": 43 }, "end": { "line": 289, "column": 44 } } }, "range": [ 11641, 11653 ], "loc": { "start": { "line": 289, "column": 32 }, "end": { "line": 289, "column": 44 } } }, "range": [ 11570, 11653 ], "loc": { "start": { "line": 288, "column": 31 }, "end": { "line": 289, "column": 44 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Dom", "range": [ 11689, 11692 ], "loc": { "start": { "line": 290, "column": 32 }, "end": { "line": 290, "column": 35 } } }, "property": { "type": "Identifier", "name": "id", "range": [ 11693, 11695 ], "loc": { "start": { "line": 290, "column": 36 }, "end": { "line": 290, "column": 38 } } }, "range": [ 11689, 11695 ], "loc": { "start": { "line": 290, "column": 32 }, "end": { "line": 290, "column": 38 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "labThisCol", "range": [ 11696, 11706 ], "loc": { "start": { "line": 290, "column": 39 }, "end": { "line": 290, "column": 49 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 11707, 11708 ], "loc": { "start": { "line": 290, "column": 50 }, "end": { "line": 290, "column": 51 } } }, "range": [ 11696, 11709 ], "loc": { "start": { "line": 290, "column": 39 }, "end": { "line": 290, "column": 52 } } } ], "range": [ 11689, 11710 ], "loc": { "start": { "line": 290, "column": 32 }, "end": { "line": 290, "column": 53 } } }, "property": { "type": "Identifier", "name": "innerHTML", "range": [ 11711, 11720 ], "loc": { "start": { "line": 290, "column": 54 }, "end": { "line": 290, "column": 63 } } }, "range": [ 11689, 11720 ], "loc": { "start": { "line": 290, "column": 32 }, "end": { "line": 290, "column": 63 } } }, "right": { "type": "Literal", "value": ".", "raw": "'.'", "range": [ 11723, 11726 ], "loc": { "start": { "line": 290, "column": 66 }, "end": { "line": 290, "column": 69 } } }, "range": [ 11689, 11726 ], "loc": { "start": { "line": 290, "column": 32 }, "end": { "line": 290, "column": 69 } } }, "range": [ 11689, 11727 ], "loc": { "start": { "line": 290, "column": 32 }, "end": { "line": 290, "column": 70 } } } ], "range": [ 11654, 11758 ], "loc": { "start": { "line": 289, "column": 45 }, "end": { "line": 291, "column": 29 } } }, "alternate": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Dom", "range": [ 11799, 11802 ], "loc": { "start": { "line": 292, "column": 32 }, "end": { "line": 292, "column": 35 } } }, "property": { "type": "Identifier", "name": "id", "range": [ 11803, 11805 ], "loc": { "start": { "line": 292, "column": 36 }, "end": { "line": 292, "column": 38 } } }, "range": [ 11799, 11805 ], "loc": { "start": { "line": 292, "column": 32 }, "end": { "line": 292, "column": 38 } } }, "arguments": [ { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "labThisCol", "range": [ 11806, 11816 ], "loc": { "start": { "line": 292, "column": 39 }, "end": { "line": 292, "column": 49 } } }, "property": { "type": "Identifier", "name": "i", "range": [ 11817, 11818 ], "loc": { "start": { "line": 292, "column": 50 }, "end": { "line": 292, "column": 51 } } }, "range": [ 11806, 11819 ], "loc": { "start": { "line": 292, "column": 39 }, "end": { "line": 292, "column": 52 } } } ], "range": [ 11799, 11820 ], "loc": { "start": { "line": 292, "column": 32 }, "end": { "line": 292, "column": 53 } } }, "property": { "type": "Identifier", "name": "innerHTML", "range": [ 11821, 11830 ], "loc": { "start": { "line": 292, "column": 54 }, "end": { "line": 292, "column": 63 } } }, "range": [ 11799, 11830 ], "loc": { "start": { "line": 292, "column": 32 }, "end": { "line": 292, "column": 63 } } }, "right": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "result", "range": [ 11870, 11876 ], "loc": { "start": { "line": 293, "column": 36 }, "end": { "line": 293, "column": 42 } } }, "property": { "type": "Identifier", "name": "toFixed", "range": [ 11877, 11884 ], "loc": { "start": { "line": 293, "column": 43 }, "end": { "line": 293, "column": 50 } } }, "range": [ 11870, 11884 ], "loc": { "start": { "line": 293, "column": 36 }, "end": { "line": 293, "column": 50 } } }, "arguments": [ { "type": "Identifier", "name": "precision", "range": [ 11885, 11894 ], "loc": { "start": { "line": 293, "column": 51 }, "end": { "line": 293, "column": 60 } } } ], "range": [ 11870, 11895 ], "loc": { "start": { "line": 293, "column": 36 }, "end": { "line": 293, "column": 61 } } }, "range": [ 11799, 11895 ], "loc": { "start": { "line": 292, "column": 32 }, "end": { "line": 293, "column": 61 } } }, "range": [ 11799, 11896 ], "loc": { "start": { "line": 292, "column": 32 }, "end": { "line": 293, "column": 62 } } } ], "range": [ 11764, 11927 ], "loc": { "start": { "line": 291, "column": 35 }, "end": { "line": 294, "column": 29 } } }, "range": [ 11567, 11927 ], "loc": { "start": { "line": 288, "column": 28 }, "end": { "line": 294, "column": 29 } } } ], "range": [ 11536, 11954 ], "loc": { "start": { "line": 287, "column": 27 }, "end": { "line": 295, "column": 25 } } }, "handler": { "type": "CatchClause", "param": { "type": "Identifier", "name": "e", "range": [ 11961, 11962 ], "loc": { "start": { "line": 295, "column": 32 }, "end": { "line": 295, "column": 33 } } }, "body": { "type": "BlockStatement", "body": [], "range": [ 11964, 11966 ], "loc": { "start": { "line": 295, "column": 35 }, "end": { "line": 295, "column": 37 } } }, "range": [ 11955, 11966 ], "loc": { "start": { "line": 295, "column": 26 }, "end": { "line": 295, "column": 37 } } }, "finalizer": null, "range": [ 11533, 11966 ], "loc": { "start": { "line": 287, "column": 24 }, "end": { "line": 295, "column": 37 } }, "trailingComments": [ { "type": "Line", "value": "catch", "range": [ 11966, 11973 ], "loc": { "start": { "line": 295, "column": 37 }, "end": { "line": 295, "column": 44 } } } ] } ], "range": [ 11506, 11996 ], "loc": { "start": { "line": 286, "column": 27 }, "end": { "line": 296, "column": 21 } }, "leadingComments": [ { "type": "Line", "value": "switch", "range": [ 11442, 11450 ], "loc": { "start": { "line": 284, "column": 29 }, "end": { "line": 284, "column": 37 } } } ] }, "range": [ 10139, 11996 ], "loc": { "start": { "line": 261, "column": 20 }, "end": { "line": 296, "column": 21 } }, "leadingComments": [ { "type": "Line", "value": "if outputType is defined", "range": [ 10091, 10117 ], "loc": { "start": { "line": 260, "column": 20 }, "end": { "line": 260, "column": 46 } } } ], "trailingComments": [ { "type": "Line", "value": "else", "range": [ 11996, 12002 ], "loc": { "start": { "line": 296, "column": 21 }, "end": { "line": 296, "column": 27 } } } ] } ], "range": [ 9105, 12021 ], "loc": { "start": { "line": 233, "column": 46 }, "end": { "line": 297, "column": 17 } } }, "range": [ 9075, 12021 ], "loc": { "start": { "line": 233, "column": 16 }, "end": { "line": 297, "column": 17 } }, "trailingComments": [ { "type": "Line", "value": "for i", "range": [ 12021, 12028 ], "loc": { "start": { "line": 297, "column": 17 }, "end": { "line": 297, "column": 24 } } }, { "type": "Line", "value": " row(s) with result are always visible", "range": [ 12048, 12088 ], "loc": { "start": { "line": 299, "column": 16 }, "end": { "line": 299, "column": 56 } } } ] }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "totRow", "range": [ 12110, 12116 ], "loc": { "start": { "line": 300, "column": 20 }, "end": { "line": 300, "column": 26 } } }, "init": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "Identifier", "name": "totRowIndex", "range": [ 12119, 12130 ], "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 300, "column": 40 } } }, "right": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "totRowIndex", "range": [ 12134, 12145 ], "loc": { "start": { "line": 300, "column": 44 }, "end": { "line": 300, "column": 55 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 12146, 12150 ], "loc": { "start": { "line": 300, "column": 56 }, "end": { "line": 300, "column": 60 } } }, "range": [ 12134, 12151 ], "loc": { "start": { "line": 300, "column": 44 }, "end": { "line": 300, "column": 61 } } }, "range": [ 12119, 12151 ], "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 300, "column": 61 } } }, "consequent": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "rows", "range": [ 12187, 12191 ], "loc": { "start": { "line": 301, "column": 32 }, "end": { "line": 301, "column": 36 } } }, "property": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "totRowIndex", "range": [ 12192, 12203 ], "loc": { "start": { "line": 301, "column": 37 }, "end": { "line": 301, "column": 48 } } }, "property": { "type": "Identifier", "name": "ucol", "range": [ 12204, 12208 ], "loc": { "start": { "line": 301, "column": 49 }, "end": { "line": 301, "column": 53 } } }, "range": [ 12192, 12209 ], "loc": { "start": { "line": 301, "column": 37 }, "end": { "line": 301, "column": 54 } } }, "range": [ 12187, 12210 ], "loc": { "start": { "line": 301, "column": 32 }, "end": { "line": 301, "column": 55 } } }, "alternate": { "type": "Literal", "value": null, "raw": "null", "range": [ 12213, 12217 ], "loc": { "start": { "line": 301, "column": 58 }, "end": { "line": 301, "column": 62 } } }, "range": [ 12119, 12217 ], "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 301, "column": 62 } } }, "range": [ 12110, 12217 ], "loc": { "start": { "line": 300, "column": 20 }, "end": { "line": 301, "column": 62 } } } ], "kind": "var", "range": [ 12106, 12218 ], "loc": { "start": { "line": 300, "column": 16 }, "end": { "line": 301, "column": 63 } }, "leadingComments": [ { "type": "Line", "value": "catch", "range": [ 11966, 11973 ], "loc": { "start": { "line": 295, "column": 37 }, "end": { "line": 295, "column": 44 } } }, { "type": "Line", "value": "else", "range": [ 11996, 12002 ], "loc": { "start": { "line": 296, "column": 21 }, "end": { "line": 296, "column": 27 } } }, { "type": "Line", "value": "for i", "range": [ 12021, 12028 ], "loc": { "start": { "line": 297, "column": 17 }, "end": { "line": 297, "column": 24 } } }, { "type": "Line", "value": " row(s) with result are always visible", "range": [ 12048, 12088 ], "loc": { "start": { "line": 299, "column": 16 }, "end": { "line": 299, "column": 56 } } } ] }, { "type": "IfStatement", "test": { "type": "Identifier", "name": "totRow", "range": [ 12239, 12245 ], "loc": { "start": { "line": 302, "column": 19 }, "end": { "line": 302, "column": 25 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "totRow", "range": [ 12269, 12275 ], "loc": { "start": { "line": 303, "column": 20 }, "end": { "line": 303, "column": 26 } } }, "property": { "type": "Identifier", "name": "style", "range": [ 12276, 12281 ], "loc": { "start": { "line": 303, "column": 27 }, "end": { "line": 303, "column": 32 } } }, "range": [ 12269, 12281 ], "loc": { "start": { "line": 303, "column": 20 }, "end": { "line": 303, "column": 32 } } }, "property": { "type": "Identifier", "name": "display", "range": [ 12282, 12289 ], "loc": { "start": { "line": 303, "column": 33 }, "end": { "line": 303, "column": 40 } } }, "range": [ 12269, 12289 ], "loc": { "start": { "line": 303, "column": 20 }, "end": { "line": 303, "column": 40 } } }, "right": { "type": "Literal", "value": "", "raw": "''", "range": [ 12292, 12294 ], "loc": { "start": { "line": 303, "column": 43 }, "end": { "line": 303, "column": 45 } } }, "range": [ 12269, 12294 ], "loc": { "start": { "line": 303, "column": 20 }, "end": { "line": 303, "column": 45 } } }, "range": [ 12269, 12295 ], "loc": { "start": { "line": 303, "column": 20 }, "end": { "line": 303, "column": 46 } } } ], "range": [ 12246, 12314 ], "loc": { "start": { "line": 302, "column": 26 }, "end": { "line": 304, "column": 17 } } }, "alternate": null, "range": [ 12236, 12314 ], "loc": { "start": { "line": 302, "column": 16 }, "end": { "line": 304, "column": 17 } } } ], "range": [ 3064, 12329 ], "loc": { "start": { "line": 90, "column": 50 }, "end": { "line": 305, "column": 13 } } }, "range": [ 3026, 12329 ], "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 305, "column": 13 } }, "trailingComments": [ { "type": "Line", "value": "for ucol", "range": [ 12329, 12339 ], "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 23 } } } ] } ], "range": [ 2939, 12350 ], "loc": { "start": { "line": 86, "column": 50 }, "end": { "line": 306, "column": 9 } } }, "alternate": null, "range": [ 2793, 12350 ], "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 306, "column": 9 } }, "trailingComments": [ { "type": "Line", "value": "if typeof", "range": [ 12350, 12361 ], "loc": { "start": { "line": 306, "column": 9 }, "end": { "line": 306, "column": 20 } } } ] }, { "type": "IfStatement", "test": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 12376, 12380 ], "loc": { "start": { "line": 308, "column": 11 }, "end": { "line": 308, "column": 15 } } }, "property": { "type": "Identifier", "name": "onAfterOperation", "range": [ 12381, 12397 ], "loc": { "start": { "line": 308, "column": 16 }, "end": { "line": 308, "column": 32 } } }, "range": [ 12376, 12397 ], "loc": { "start": { "line": 308, "column": 11 }, "end": { "line": 308, "column": 32 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ 12413, 12417 ], "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 16 } } }, "property": { "type": "Identifier", "name": "onAfterOperation", "range": [ 12418, 12434 ], "loc": { "start": { "line": 309, "column": 17 }, "end": { "line": 309, "column": 33 } } }, "range": [ 12413, 12434 ], "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 33 } } }, "property": { "type": "Identifier", "name": "call", "range": [ 12435, 12439 ], "loc": { "start": { "line": 309, "column": 34 }, "end": { "line": 309, "column": 38 } } }, "range": [ 12413, 12439 ], "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 38 } } }, "arguments": [ { "type": "Literal", "value": null, "raw": "null", "range": [ 12440, 12444 ], "loc": { "start": { "line": 309, "column": 39 }, "end": { "line": 309, "column": 43 } } }, { "type": "Identifier", "name": "tf", "range": [ 12446, 12448 ], "loc": { "start": { "line": 309, "column": 45 }, "end": { "line": 309, "column": 47 } } } ], "range": [ 12413, 12449 ], "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 48 } } }, "range": [ 12413, 12450 ], "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 49 } } } ], "range": [ 12398, 12461 ], "loc": { "start": { "line": 308, "column": 33 }, "end": { "line": 310, "column": 9 } } }, "alternate": null, "range": [ 12373, 12461 ], "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 310, "column": 9 } }, "leadingComments": [ { "type": "Line", "value": "for ucol", "range": [ 12329, 12339 ], "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 23 } } }, { "type": "Line", "value": "if typeof", "range": [ 12350, 12361 ], "loc": { "start": { "line": 306, "column": 9 }, "end": { "line": 306, "column": 20 } } } ] } ], "range": [ 1502, 12468 ], "loc": { "start": { "line": 44, "column": 11 }, "end": { "line": 311, "column": 5 } } }, "generator": false, "expression": false, "range": [ 1499, 12468 ], "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 311, "column": 5 } } }, "kind": "method", "computed": false, "range": [ 1495, 12468 ], "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 311, "column": 5 } }, "leadingComments": [ { "type": "Block", "value": "*\r\n * Calculates columns' values\r\n * Configuration options are stored in 'opts' property\r\n * - 'id' contains ids of elements showing result (array)\r\n * - 'col' contains the columns' indexes (array)\r\n * - 'operation' contains operation type (array, values: 'sum', 'mean',\r\n * 'min', 'max', 'median', 'q1', 'q3')\r\n * - 'write_method' array defines which method to use for displaying the\r\n * result (innerHTML, setValue, createTextNode) - default: 'innerHTML'\r\n * - 'tot_row_index' defines in which row results are displayed\r\n * (integers array)\r\n *\r\n * - changes made by Nuovella:\r\n * (1) optimized the routine (now it will only process each column once),\r\n * (2) added calculations for the median, lower and upper quartile.\r\n ", "range": [ 693, 1489 ], "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 43, "column": 7 } } } ], "static": false }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "destroy", "range": [ 12476, 12483 ], "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 313, "column": 11 } } }, "value": { "type": "FunctionExpression", "id": null, "params": [], "body": { "type": "BlockStatement", "body": [], "range": [ 12485, 12487 ], "loc": { "start": { "line": 313, "column": 13 }, "end": { "line": 313, "column": 15 } } }, "generator": false, "expression": false, "range": [ 12483, 12487 ], "loc": { "start": { "line": 313, "column": 11 }, "end": { "line": 313, "column": 15 } } }, "kind": "method", "computed": false, "range": [ 12476, 12487 ], "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 313, "column": 15 } }, "static": false } ], "range": [ 126, 12492 ], "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 315, "column": 1 } } }, "range": [ 114, 12492 ], "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 315, "column": 1 } }, "leadingComments": [], "trailingComments": [] }, "range": [ 99, 12492 ], "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 315, "column": 1 } } } ], "sourceType": "module", "range": [ 0, 12492 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 315, "column": 1 } }, "comments": [ { "type": "Block", "value": "*\r\n * Column calculations\r\n * @param {Object} tf TableFilter instance\r\n ", "range": [ 135, 223 ], "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 10, "column": 7 } } }, { "type": "Line", "value": "calls function before col operation", "range": [ 264, 301 ], "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 45 } } }, { "type": "Line", "value": "calls function after col operation", "range": [ 430, 466 ], "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 44 } } }, { "type": "Block", "value": "*\r\n * Calculates columns' values\r\n * Configuration options are stored in 'opts' property\r\n * - 'id' contains ids of elements showing result (array)\r\n * - 'col' contains the columns' indexes (array)\r\n * - 'operation' contains operation type (array, values: 'sum', 'mean',\r\n * 'min', 'max', 'median', 'q1', 'q3')\r\n * - 'write_method' array defines which method to use for displaying the\r\n * result (innerHTML, setValue, createTextNode) - default: 'innerHTML'\r\n * - 'tot_row_index' defines in which row results are displayed\r\n * (integers array)\r\n *\r\n * - changes made by Nuovella:\r\n * (1) optimized the routine (now it will only process each column once),\r\n * (2) added calculations for the median, lower and upper quartile.\r\n ", "range": [ 693, 1489 ], "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 43, "column": 7 } } }, { "type": "Line", "value": "nuovella: determine unique list of columns to operate on", "range": [ 2116, 2174 ], "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 66 } } }, { "type": "Line", "value": "see if colIndex[ii] is already in the list of unique indexes", "range": [ 2366, 2428 ], "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 74 } } }, { "type": "Line", "value": "if not saved then, save the index;", "range": [ 2608, 2644 ], "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 48 } } }, { "type": "Line", "value": "this retrieves col values", "range": [ 3083, 3110 ], "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 43 } } }, { "type": "Line", "value": "use ucolIndex because we only want to pass through this loop", "range": [ 3128, 3190 ], "loc": { "start": { "line": 92, "column": 16 }, "end": { "line": 92, "column": 78 } } }, { "type": "Line", "value": "once for each column get the values in this unique column", "range": [ 3208, 3267 ], "loc": { "start": { "line": 93, "column": 16 }, "end": { "line": 93, "column": 75 } } }, { "type": "Line", "value": "next: calculate all operations for this column", "range": [ 3394, 3442 ], "loc": { "start": { "line": 97, "column": 16 }, "end": { "line": 97, "column": 64 } } }, { "type": "Line", "value": "sort the list for calculation of median and quartiles", "range": [ 5815, 5870 ], "loc": { "start": { "line": 159, "column": 20 }, "end": { "line": 159, "column": 75 } } }, { "type": "Line", "value": "for j", "range": [ 7711, 7718 ], "loc": { "start": { "line": 197, "column": 17 }, "end": { "line": 197, "column": 24 } } }, { "type": "Line", "value": "if outputType is defined", "range": [ 10091, 10117 ], "loc": { "start": { "line": 260, "column": 20 }, "end": { "line": 260, "column": 46 } } }, { "type": "Line", "value": "switch", "range": [ 11442, 11450 ], "loc": { "start": { "line": 284, "column": 29 }, "end": { "line": 284, "column": 37 } } }, { "type": "Line", "value": "catch", "range": [ 11966, 11973 ], "loc": { "start": { "line": 295, "column": 37 }, "end": { "line": 295, "column": 44 } } }, { "type": "Line", "value": "else", "range": [ 11996, 12002 ], "loc": { "start": { "line": 296, "column": 21 }, "end": { "line": 296, "column": 27 } } }, { "type": "Line", "value": "for i", "range": [ 12021, 12028 ], "loc": { "start": { "line": 297, "column": 17 }, "end": { "line": 297, "column": 24 } } }, { "type": "Line", "value": " row(s) with result are always visible", "range": [ 12048, 12088 ], "loc": { "start": { "line": 299, "column": 16 }, "end": { "line": 299, "column": 56 } } }, { "type": "Line", "value": "for ucol", "range": [ 12329, 12339 ], "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 23 } } }, { "type": "Line", "value": "if typeof", "range": [ 12350, 12361 ], "loc": { "start": { "line": 306, "column": 9 }, "end": { "line": 306, "column": 20 } } } ] }