{ "type": "File", "start": 0, "end": 4304, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 120, "column": 27 } }, "program": { "type": "Program", "start": 0, "end": 4304, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 120, "column": 27 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 69, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 69 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 8, "end": 19, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 19 } }, "imported": { "type": "Identifier", "start": 8, "end": 19, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 19 }, "identifierName": "ContextMenu" }, "name": "ContextMenu" }, "local": { "type": "Identifier", "start": 8, "end": 19, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 19 }, "identifierName": "ContextMenu" }, "name": "ContextMenu" } } ], "source": { "type": "StringLiteral", "start": 26, "end": 68, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 68 } }, "extra": { "rawValue": "@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js", "raw": "\"@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js\"" }, "value": "@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n * @param {*} cfg Configs\n * @param {Boolean} [cfg.enableEditModels=false] Set true to show Add/Edit/Delete options in the menu.\n ", "start": 71, "end": 219, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 7, "column": 3 } } } ] }, { "type": "Identifier", "start": 220, "end": 4275, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 118, "column": 1 } }, "id": { "type": "Identifier", "start": 226, "end": 243, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 23 }, "identifierName": "ModelsContextMenu" }, "name": "ModelsContextMenu", "leadingComments": null }, "superClass": { "type": "Identifier", "start": 252, "end": 263, "loc": { "start": { "line": 8, "column": 32 }, "end": { "line": 8, "column": 43 }, "identifierName": "ContextMenu" }, "name": "ContextMenu" }, "body": { "type": "ClassBody", "start": 264, "end": 4275, "loc": { "start": { "line": 8, "column": 44 }, "end": { "line": 118, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 271, "end": 4273, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 117, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 271, "end": 282, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 283, "end": 291, "loc": { "start": { "line": 10, "column": 16 }, "end": { "line": 10, "column": 24 } }, "left": { "type": "Identifier", "start": 283, "end": 286, "loc": { "start": { "line": 10, "column": 16 }, "end": { "line": 10, "column": 19 }, "identifierName": "cfg" }, "name": "cfg" }, "right": { "type": "ObjectExpression", "start": 289, "end": 291, "loc": { "start": { "line": 10, "column": 22 }, "end": { "line": 10, "column": 24 } }, "properties": [] } } ], "body": { "type": "BlockStatement", "start": 293, "end": 4273, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 117, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 304, "end": 354, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 310, "end": 353, "loc": { "start": { "line": 12, "column": 14 }, "end": { "line": 12, "column": 57 } }, "id": { "type": "Identifier", "start": 310, "end": 326, "loc": { "start": { "line": 12, "column": 14 }, "end": { "line": 12, "column": 30 }, "identifierName": "enableEditModels" }, "name": "enableEditModels" }, "init": { "type": "UnaryExpression", "start": 330, "end": 352, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 12, "column": 56 } }, "operator": "!", "prefix": true, "argument": { "type": "UnaryExpression", "start": 331, "end": 352, "loc": { "start": { "line": 12, "column": 35 }, "end": { "line": 12, "column": 56 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 332, "end": 352, "loc": { "start": { "line": 12, "column": 36 }, "end": { "line": 12, "column": 56 } }, "object": { "type": "Identifier", "start": 332, "end": 335, "loc": { "start": { "line": 12, "column": 36 }, "end": { "line": 12, "column": 39 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 336, "end": 352, "loc": { "start": { "line": 12, "column": 40 }, "end": { "line": 12, "column": 56 }, "identifierName": "enableEditModels" }, "name": "enableEditModels" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesizedArgument": false, "parenthesized": true, "parenStart": 329 } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 364, "end": 1436, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 39, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 370, "end": 1435, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 39, "column": 9 } }, "id": { "type": "Identifier", "start": 370, "end": 375, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 14, "column": 19 }, "identifierName": "items" }, "name": "items" }, "init": { "type": "ArrayExpression", "start": 378, "end": 1435, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 39, "column": 9 } }, "elements": [ { "type": "ArrayExpression", "start": 392, "end": 1425, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 38, "column": 13 } }, "elements": [ { "type": "ObjectExpression", "start": 410, "end": 900, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 26, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 432, "end": 590, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 19, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 432, "end": 440, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 17, "column": 28 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 442, "end": 590, "loc": { "start": { "line": 17, "column": 30 }, "end": { "line": 19, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 443, "end": 450, "loc": { "start": { "line": 17, "column": 31 }, "end": { "line": 17, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 455, "end": 590, "loc": { "start": { "line": 17, "column": 43 }, "end": { "line": 19, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 481, "end": 568, "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 18, "column": 111 } }, "argument": { "type": "LogicalExpression", "start": 488, "end": 567, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 110 } }, "left": { "type": "CallExpression", "start": 488, "end": 557, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 488, "end": 526, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 69 } }, "object": { "type": "MemberExpression", "start": 488, "end": 516, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 59 } }, "object": { "type": "MemberExpression", "start": 488, "end": 502, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 45 } }, "object": { "type": "Identifier", "start": 488, "end": 495, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 38 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 496, "end": 502, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 45 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 503, "end": 516, "loc": { "start": { "line": 18, "column": 46 }, "end": { "line": 18, "column": 59 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 517, "end": 526, "loc": { "start": { "line": 18, "column": 60 }, "end": { "line": 18, "column": 69 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 527, "end": 556, "loc": { "start": { "line": 18, "column": 70 }, "end": { "line": 18, "column": 99 } }, "extra": { "rawValue": "modelsContextMenu.loadModel", "raw": "\"modelsContextMenu.loadModel\"" }, "value": "modelsContextMenu.loadModel" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 561, "end": 567, "loc": { "start": { "line": 18, "column": 104 }, "end": { "line": 18, "column": 110 } }, "extra": { "rawValue": "Load", "raw": "\"Load\"" }, "value": "Load" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 612, "end": 744, "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 22, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 612, "end": 622, "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 20, "column": 30 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 624, "end": 744, "loc": { "start": { "line": 20, "column": 32 }, "end": { "line": 22, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 625, "end": 632, "loc": { "start": { "line": 20, "column": 33 }, "end": { "line": 20, "column": 40 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 637, "end": 744, "loc": { "start": { "line": 20, "column": 45 }, "end": { "line": 22, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 663, "end": 722, "loc": { "start": { "line": 21, "column": 24 }, "end": { "line": 21, "column": 83 } }, "argument": { "type": "UnaryExpression", "start": 671, "end": 720, "loc": { "start": { "line": 21, "column": 32 }, "end": { "line": 21, "column": 81 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 672, "end": 720, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 672, "end": 703, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 64 } }, "object": { "type": "MemberExpression", "start": 672, "end": 689, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 50 } }, "object": { "type": "Identifier", "start": 672, "end": 679, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 40 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 680, "end": 689, "loc": { "start": { "line": 21, "column": 41 }, "end": { "line": 21, "column": 50 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 690, "end": 703, "loc": { "start": { "line": 21, "column": 51 }, "end": { "line": 21, "column": 64 }, "identifierName": "isModelLoaded" }, "name": "isModelLoaded" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 704, "end": 719, "loc": { "start": { "line": 21, "column": 65 }, "end": { "line": 21, "column": 80 } }, "object": { "type": "Identifier", "start": 704, "end": 711, "loc": { "start": { "line": 21, "column": 65 }, "end": { "line": 21, "column": 72 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 712, "end": 719, "loc": { "start": { "line": 21, "column": 73 }, "end": { "line": 21, "column": 80 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] }, "extra": { "parenthesizedArgument": false, "parenthesized": true, "parenStart": 670 } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 766, "end": 882, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 25, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 766, "end": 774, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 28 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 776, "end": 882, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 25, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 777, "end": 784, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 789, "end": 882, "loc": { "start": { "line": 23, "column": 43 }, "end": { "line": 25, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 815, "end": 860, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 69 } }, "expression": { "type": "CallExpression", "start": 815, "end": 859, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 815, "end": 842, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 51 } }, "object": { "type": "MemberExpression", "start": 815, "end": 832, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 41 } }, "object": { "type": "Identifier", "start": 815, "end": 822, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 31 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 823, "end": 832, "loc": { "start": { "line": 24, "column": 32 }, "end": { "line": 24, "column": 41 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 833, "end": 842, "loc": { "start": { "line": 24, "column": 42 }, "end": { "line": 24, "column": 51 }, "identifierName": "loadModel" }, "name": "loadModel" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 843, "end": 858, "loc": { "start": { "line": 24, "column": 52 }, "end": { "line": 24, "column": 67 } }, "object": { "type": "Identifier", "start": 843, "end": 850, "loc": { "start": { "line": 24, "column": 52 }, "end": { "line": 24, "column": 59 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 851, "end": 858, "loc": { "start": { "line": 24, "column": 60 }, "end": { "line": 24, "column": 67 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] } } ], "directives": [] } } } ] }, { "type": "ObjectExpression", "start": 918, "end": 1411, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 37, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 940, "end": 1102, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 30, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 940, "end": 948, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 28, "column": 28 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 950, "end": 1102, "loc": { "start": { "line": 28, "column": 30 }, "end": { "line": 30, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 951, "end": 958, "loc": { "start": { "line": 28, "column": 31 }, "end": { "line": 28, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 963, "end": 1102, "loc": { "start": { "line": 28, "column": 43 }, "end": { "line": 30, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 989, "end": 1080, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 115 } }, "argument": { "type": "LogicalExpression", "start": 996, "end": 1079, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 114 } }, "left": { "type": "CallExpression", "start": 996, "end": 1067, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 102 } }, "callee": { "type": "MemberExpression", "start": 996, "end": 1034, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 69 } }, "object": { "type": "MemberExpression", "start": 996, "end": 1024, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 59 } }, "object": { "type": "MemberExpression", "start": 996, "end": 1010, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 45 } }, "object": { "type": "Identifier", "start": 996, "end": 1003, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 38 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1004, "end": 1010, "loc": { "start": { "line": 29, "column": 39 }, "end": { "line": 29, "column": 45 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 1011, "end": 1024, "loc": { "start": { "line": 29, "column": 46 }, "end": { "line": 29, "column": 59 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 1025, "end": 1034, "loc": { "start": { "line": 29, "column": 60 }, "end": { "line": 29, "column": 69 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1035, "end": 1066, "loc": { "start": { "line": 29, "column": 70 }, "end": { "line": 29, "column": 101 } }, "extra": { "rawValue": "modelsContextMenu.unloadModel", "raw": "\"modelsContextMenu.unloadModel\"" }, "value": "modelsContextMenu.unloadModel" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 1071, "end": 1079, "loc": { "start": { "line": 29, "column": 106 }, "end": { "line": 29, "column": 114 } }, "extra": { "rawValue": "Unload", "raw": "\"Unload\"" }, "value": "Unload" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 1124, "end": 1253, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 33, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1124, "end": 1134, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 30 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 1136, "end": 1253, "loc": { "start": { "line": 31, "column": 32 }, "end": { "line": 33, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1137, "end": 1144, "loc": { "start": { "line": 31, "column": 33 }, "end": { "line": 31, "column": 40 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 1149, "end": 1253, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 33, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 1175, "end": 1231, "loc": { "start": { "line": 32, "column": 24 }, "end": { "line": 32, "column": 80 } }, "argument": { "type": "CallExpression", "start": 1182, "end": 1230, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 1182, "end": 1213, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 62 } }, "object": { "type": "MemberExpression", "start": 1182, "end": 1199, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 48 } }, "object": { "type": "Identifier", "start": 1182, "end": 1189, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 38 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1190, "end": 1199, "loc": { "start": { "line": 32, "column": 39 }, "end": { "line": 32, "column": 48 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 1200, "end": 1213, "loc": { "start": { "line": 32, "column": 49 }, "end": { "line": 32, "column": 62 }, "identifierName": "isModelLoaded" }, "name": "isModelLoaded" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1214, "end": 1229, "loc": { "start": { "line": 32, "column": 63 }, "end": { "line": 32, "column": 78 } }, "object": { "type": "Identifier", "start": 1214, "end": 1221, "loc": { "start": { "line": 32, "column": 63 }, "end": { "line": 32, "column": 70 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1222, "end": 1229, "loc": { "start": { "line": 32, "column": 71 }, "end": { "line": 32, "column": 78 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 1275, "end": 1393, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 36, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1275, "end": 1283, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 28 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 1285, "end": 1393, "loc": { "start": { "line": 34, "column": 30 }, "end": { "line": 36, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1286, "end": 1293, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 1298, "end": 1393, "loc": { "start": { "line": 34, "column": 43 }, "end": { "line": 36, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 1324, "end": 1371, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 71 } }, "expression": { "type": "CallExpression", "start": 1324, "end": 1370, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 1324, "end": 1353, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 53 } }, "object": { "type": "MemberExpression", "start": 1324, "end": 1341, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 41 } }, "object": { "type": "Identifier", "start": 1324, "end": 1331, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 31 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1332, "end": 1341, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 41 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 1342, "end": 1353, "loc": { "start": { "line": 35, "column": 42 }, "end": { "line": 35, "column": 53 }, "identifierName": "unloadModel" }, "name": "unloadModel" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1354, "end": 1369, "loc": { "start": { "line": 35, "column": 54 }, "end": { "line": 35, "column": 69 } }, "object": { "type": "Identifier", "start": 1354, "end": 1361, "loc": { "start": { "line": 35, "column": 54 }, "end": { "line": 35, "column": 61 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1362, "end": 1369, "loc": { "start": { "line": 35, "column": 62 }, "end": { "line": 35, "column": 69 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] } } ], "directives": [] } } } ] } ] } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 1446, "end": 2448, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 67, "column": 9 } }, "test": { "type": "Identifier", "start": 1450, "end": 1466, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 28 }, "identifierName": "enableEditModels" }, "name": "enableEditModels" }, "consequent": { "type": "BlockStatement", "start": 1468, "end": 2448, "loc": { "start": { "line": 41, "column": 30 }, "end": { "line": 67, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1483, "end": 2438, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 66, "column": 15 } }, "expression": { "type": "CallExpression", "start": 1483, "end": 2437, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 66, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 1483, "end": 1493, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 22 } }, "object": { "type": "Identifier", "start": 1483, "end": 1488, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 17 }, "identifierName": "items" }, "name": "items" }, "property": { "type": "Identifier", "start": 1489, "end": 1493, "loc": { "start": { "line": 43, "column": 18 }, "end": { "line": 43, "column": 22 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ArrayExpression", "start": 1494, "end": 2436, "loc": { "start": { "line": 43, "column": 23 }, "end": { "line": 66, "column": 13 } }, "elements": [ { "type": "ObjectExpression", "start": 1512, "end": 1955, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 54, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 1534, "end": 1692, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 47, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1534, "end": 1542, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 28 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 1544, "end": 1692, "loc": { "start": { "line": 45, "column": 30 }, "end": { "line": 47, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1545, "end": 1552, "loc": { "start": { "line": 45, "column": 31 }, "end": { "line": 45, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 1557, "end": 1692, "loc": { "start": { "line": 45, "column": 43 }, "end": { "line": 47, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 1583, "end": 1670, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 111 } }, "argument": { "type": "LogicalExpression", "start": 1590, "end": 1669, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 110 } }, "left": { "type": "CallExpression", "start": 1590, "end": 1659, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 1590, "end": 1628, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 69 } }, "object": { "type": "MemberExpression", "start": 1590, "end": 1618, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 59 } }, "object": { "type": "MemberExpression", "start": 1590, "end": 1604, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 45 } }, "object": { "type": "Identifier", "start": 1590, "end": 1597, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 38 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1598, "end": 1604, "loc": { "start": { "line": 46, "column": 39 }, "end": { "line": 46, "column": 45 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 1605, "end": 1618, "loc": { "start": { "line": 46, "column": 46 }, "end": { "line": 46, "column": 59 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 1619, "end": 1628, "loc": { "start": { "line": 46, "column": 60 }, "end": { "line": 46, "column": 69 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1629, "end": 1658, "loc": { "start": { "line": 46, "column": 70 }, "end": { "line": 46, "column": 99 } }, "extra": { "rawValue": "modelsContextMenu.editModel", "raw": "\"modelsContextMenu.editModel\"" }, "value": "modelsContextMenu.editModel" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 1663, "end": 1669, "loc": { "start": { "line": 46, "column": 104 }, "end": { "line": 46, "column": 110 } }, "extra": { "rawValue": "Edit", "raw": "\"Edit\"" }, "value": "Edit" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 1714, "end": 1799, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 50, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1714, "end": 1724, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 48, "column": 30 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 1726, "end": 1799, "loc": { "start": { "line": 48, "column": 32 }, "end": { "line": 50, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1727, "end": 1734, "loc": { "start": { "line": 48, "column": 33 }, "end": { "line": 48, "column": 40 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 1739, "end": 1799, "loc": { "start": { "line": 48, "column": 45 }, "end": { "line": 50, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 1765, "end": 1777, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 36 } }, "argument": { "type": "BooleanLiteral", "start": 1772, "end": 1776, "loc": { "start": { "line": 49, "column": 31 }, "end": { "line": 49, "column": 35 } }, "value": true } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 1821, "end": 1937, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 53, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1821, "end": 1829, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 28 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 1831, "end": 1937, "loc": { "start": { "line": 51, "column": 30 }, "end": { "line": 53, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1832, "end": 1839, "loc": { "start": { "line": 51, "column": 31 }, "end": { "line": 51, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 1844, "end": 1937, "loc": { "start": { "line": 51, "column": 43 }, "end": { "line": 53, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 1870, "end": 1915, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 69 } }, "expression": { "type": "CallExpression", "start": 1870, "end": 1914, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 1870, "end": 1897, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 51 } }, "object": { "type": "MemberExpression", "start": 1870, "end": 1887, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 41 } }, "object": { "type": "Identifier", "start": 1870, "end": 1877, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 31 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1878, "end": 1887, "loc": { "start": { "line": 52, "column": 32 }, "end": { "line": 52, "column": 41 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 1888, "end": 1897, "loc": { "start": { "line": 52, "column": 42 }, "end": { "line": 52, "column": 51 }, "identifierName": "editModel" }, "name": "editModel" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1898, "end": 1913, "loc": { "start": { "line": 52, "column": 52 }, "end": { "line": 52, "column": 67 } }, "object": { "type": "Identifier", "start": 1898, "end": 1905, "loc": { "start": { "line": 52, "column": 52 }, "end": { "line": 52, "column": 59 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1906, "end": 1913, "loc": { "start": { "line": 52, "column": 60 }, "end": { "line": 52, "column": 67 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] } } ], "directives": [] } } } ] }, { "type": "ObjectExpression", "start": 1973, "end": 2422, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 65, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 1995, "end": 2157, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 58, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1995, "end": 2003, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 28 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 2005, "end": 2157, "loc": { "start": { "line": 56, "column": 30 }, "end": { "line": 58, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2006, "end": 2013, "loc": { "start": { "line": 56, "column": 31 }, "end": { "line": 56, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 2018, "end": 2157, "loc": { "start": { "line": 56, "column": 43 }, "end": { "line": 58, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 2044, "end": 2135, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 115 } }, "argument": { "type": "LogicalExpression", "start": 2051, "end": 2134, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 114 } }, "left": { "type": "CallExpression", "start": 2051, "end": 2122, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 102 } }, "callee": { "type": "MemberExpression", "start": 2051, "end": 2089, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 69 } }, "object": { "type": "MemberExpression", "start": 2051, "end": 2079, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 59 } }, "object": { "type": "MemberExpression", "start": 2051, "end": 2065, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 45 } }, "object": { "type": "Identifier", "start": 2051, "end": 2058, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 38 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2059, "end": 2065, "loc": { "start": { "line": 57, "column": 39 }, "end": { "line": 57, "column": 45 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 2066, "end": 2079, "loc": { "start": { "line": 57, "column": 46 }, "end": { "line": 57, "column": 59 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 2080, "end": 2089, "loc": { "start": { "line": 57, "column": 60 }, "end": { "line": 57, "column": 69 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2090, "end": 2121, "loc": { "start": { "line": 57, "column": 70 }, "end": { "line": 57, "column": 101 } }, "extra": { "rawValue": "modelsContextMenu.deleteModel", "raw": "\"modelsContextMenu.deleteModel\"" }, "value": "modelsContextMenu.deleteModel" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 2126, "end": 2134, "loc": { "start": { "line": 57, "column": 106 }, "end": { "line": 57, "column": 114 } }, "extra": { "rawValue": "Delete", "raw": "\"Delete\"" }, "value": "Delete" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 2179, "end": 2264, "loc": { "start": { "line": 59, "column": 20 }, "end": { "line": 61, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2179, "end": 2189, "loc": { "start": { "line": 59, "column": 20 }, "end": { "line": 59, "column": 30 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 2191, "end": 2264, "loc": { "start": { "line": 59, "column": 32 }, "end": { "line": 61, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2192, "end": 2199, "loc": { "start": { "line": 59, "column": 33 }, "end": { "line": 59, "column": 40 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 2204, "end": 2264, "loc": { "start": { "line": 59, "column": 45 }, "end": { "line": 61, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 2230, "end": 2242, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 36 } }, "argument": { "type": "BooleanLiteral", "start": 2237, "end": 2241, "loc": { "start": { "line": 60, "column": 31 }, "end": { "line": 60, "column": 35 } }, "value": true } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 2286, "end": 2404, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 64, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2286, "end": 2294, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 28 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 2296, "end": 2404, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 64, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2297, "end": 2304, "loc": { "start": { "line": 62, "column": 31 }, "end": { "line": 62, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 2309, "end": 2404, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 64, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 2335, "end": 2382, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 71 } }, "expression": { "type": "CallExpression", "start": 2335, "end": 2381, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 2335, "end": 2364, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 53 } }, "object": { "type": "MemberExpression", "start": 2335, "end": 2352, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 41 } }, "object": { "type": "Identifier", "start": 2335, "end": 2342, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 31 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2343, "end": 2352, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 41 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 2353, "end": 2364, "loc": { "start": { "line": 63, "column": 42 }, "end": { "line": 63, "column": 53 }, "identifierName": "deleteModel" }, "name": "deleteModel" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2365, "end": 2380, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 69 } }, "object": { "type": "Identifier", "start": 2365, "end": 2372, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 61 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2373, "end": 2380, "loc": { "start": { "line": 63, "column": 62 }, "end": { "line": 63, "column": 69 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] } } ], "directives": [] } } } ] } ] } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 2458, "end": 3650, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 96, "column": 11 } }, "expression": { "type": "CallExpression", "start": 2458, "end": 3649, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 96, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 2458, "end": 2468, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 18 } }, "object": { "type": "Identifier", "start": 2458, "end": 2463, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 13 }, "identifierName": "items" }, "name": "items" }, "property": { "type": "Identifier", "start": 2464, "end": 2468, "loc": { "start": { "line": 69, "column": 14 }, "end": { "line": 69, "column": 18 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ArrayExpression", "start": 2469, "end": 3648, "loc": { "start": { "line": 69, "column": 19 }, "end": { "line": 96, "column": 9 } }, "elements": [ { "type": "ObjectExpression", "start": 2483, "end": 3113, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 83, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 2501, "end": 2659, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 73, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2501, "end": 2509, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 71, "column": 24 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 2511, "end": 2659, "loc": { "start": { "line": 71, "column": 26 }, "end": { "line": 73, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2512, "end": 2519, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 2524, "end": 2659, "loc": { "start": { "line": 71, "column": 39 }, "end": { "line": 73, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 2546, "end": 2641, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 115 } }, "argument": { "type": "LogicalExpression", "start": 2553, "end": 2640, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 114 } }, "left": { "type": "CallExpression", "start": 2553, "end": 2626, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 2553, "end": 2591, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 65 } }, "object": { "type": "MemberExpression", "start": 2553, "end": 2581, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 55 } }, "object": { "type": "MemberExpression", "start": 2553, "end": 2567, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 41 } }, "object": { "type": "Identifier", "start": 2553, "end": 2560, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 34 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2561, "end": 2567, "loc": { "start": { "line": 72, "column": 35 }, "end": { "line": 72, "column": 41 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 2568, "end": 2581, "loc": { "start": { "line": 72, "column": 42 }, "end": { "line": 72, "column": 55 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 2582, "end": 2591, "loc": { "start": { "line": 72, "column": 56 }, "end": { "line": 72, "column": 65 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2592, "end": 2625, "loc": { "start": { "line": 72, "column": 66 }, "end": { "line": 72, "column": 99 } }, "extra": { "rawValue": "modelsContextMenu.loadAllModels", "raw": "\"modelsContextMenu.loadAllModels\"" }, "value": "modelsContextMenu.loadAllModels" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 2630, "end": 2640, "loc": { "start": { "line": 72, "column": 104 }, "end": { "line": 72, "column": 114 } }, "extra": { "rawValue": "Load All", "raw": "\"Load All\"" }, "value": "Load All" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 2677, "end": 2984, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 79, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2677, "end": 2687, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 26 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 2689, "end": 2984, "loc": { "start": { "line": 74, "column": 28 }, "end": { "line": 79, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2690, "end": 2697, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 36 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 2702, "end": 2984, "loc": { "start": { "line": 74, "column": 41 }, "end": { "line": 79, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 2724, "end": 2760, "loc": { "start": { "line": 75, "column": 20 }, "end": { "line": 75, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2730, "end": 2759, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 55 } }, "id": { "type": "Identifier", "start": 2730, "end": 2739, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 35 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "init": { "type": "MemberExpression", "start": 2742, "end": 2759, "loc": { "start": { "line": 75, "column": 38 }, "end": { "line": 75, "column": 55 } }, "object": { "type": "Identifier", "start": 2742, "end": 2749, "loc": { "start": { "line": 75, "column": 38 }, "end": { "line": 75, "column": 45 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2750, "end": 2759, "loc": { "start": { "line": 75, "column": 46 }, "end": { "line": 75, "column": 55 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2781, "end": 2822, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2787, "end": 2821, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "column": 60 } }, "id": { "type": "Identifier", "start": 2787, "end": 2795, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "column": 34 }, "identifierName": "modelIds" }, "name": "modelIds" }, "init": { "type": "CallExpression", "start": 2798, "end": 2821, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 2798, "end": 2819, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 58 } }, "object": { "type": "Identifier", "start": 2798, "end": 2807, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 46 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "property": { "type": "Identifier", "start": 2808, "end": 2819, "loc": { "start": { "line": 76, "column": 47 }, "end": { "line": 76, "column": 58 }, "identifierName": "getModelIds" }, "name": "getModelIds" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2843, "end": 2896, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2849, "end": 2895, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 72 } }, "id": { "type": "Identifier", "start": 2849, "end": 2863, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 40 }, "identifierName": "loadedModelIds" }, "name": "loadedModelIds" }, "init": { "type": "CallExpression", "start": 2866, "end": 2895, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 2866, "end": 2893, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "column": 70 } }, "object": { "type": "Identifier", "start": 2866, "end": 2875, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "column": 52 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "property": { "type": "Identifier", "start": 2876, "end": 2893, "loc": { "start": { "line": 77, "column": 53 }, "end": { "line": 77, "column": 70 }, "identifierName": "getLoadedModelIds" }, "name": "getLoadedModelIds" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 2917, "end": 2966, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 69 } }, "argument": { "type": "BinaryExpression", "start": 2925, "end": 2964, "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 78, "column": 67 } }, "left": { "type": "MemberExpression", "start": 2925, "end": 2946, "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 78, "column": 49 } }, "object": { "type": "Identifier", "start": 2925, "end": 2939, "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 78, "column": 42 }, "identifierName": "loadedModelIds" }, "name": "loadedModelIds" }, "property": { "type": "Identifier", "start": 2940, "end": 2946, "loc": { "start": { "line": 78, "column": 43 }, "end": { "line": 78, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "<", "right": { "type": "MemberExpression", "start": 2949, "end": 2964, "loc": { "start": { "line": 78, "column": 52 }, "end": { "line": 78, "column": 67 } }, "object": { "type": "Identifier", "start": 2949, "end": 2957, "loc": { "start": { "line": 78, "column": 52 }, "end": { "line": 78, "column": 60 }, "identifierName": "modelIds" }, "name": "modelIds" }, "property": { "type": "Identifier", "start": 2958, "end": 2964, "loc": { "start": { "line": 78, "column": 61 }, "end": { "line": 78, "column": 67 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "extra": { "parenthesized": true, "parenStart": 2924 } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 3002, "end": 3099, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 82, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3002, "end": 3010, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 24 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 3012, "end": 3099, "loc": { "start": { "line": 80, "column": 26 }, "end": { "line": 82, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3013, "end": 3020, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3025, "end": 3099, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 82, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 3047, "end": 3081, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 54 } }, "expression": { "type": "CallExpression", "start": 3047, "end": 3080, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 3047, "end": 3078, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 51 } }, "object": { "type": "MemberExpression", "start": 3047, "end": 3064, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 37 } }, "object": { "type": "Identifier", "start": 3047, "end": 3054, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 27 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3055, "end": 3064, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 37 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3065, "end": 3078, "loc": { "start": { "line": 81, "column": 38 }, "end": { "line": 81, "column": 51 }, "identifierName": "loadAllModels" }, "name": "loadAllModels" }, "computed": false }, "arguments": [] } } ], "directives": [] } } } ] }, { "type": "ObjectExpression", "start": 3127, "end": 3638, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 95, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 3145, "end": 3307, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 87, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3145, "end": 3153, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 24 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 3155, "end": 3307, "loc": { "start": { "line": 85, "column": 26 }, "end": { "line": 87, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3156, "end": 3163, "loc": { "start": { "line": 85, "column": 27 }, "end": { "line": 85, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3168, "end": 3307, "loc": { "start": { "line": 85, "column": 39 }, "end": { "line": 87, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 3190, "end": 3289, "loc": { "start": { "line": 86, "column": 20 }, "end": { "line": 86, "column": 119 } }, "argument": { "type": "LogicalExpression", "start": 3197, "end": 3288, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 118 } }, "left": { "type": "CallExpression", "start": 3197, "end": 3272, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 102 } }, "callee": { "type": "MemberExpression", "start": 3197, "end": 3235, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 65 } }, "object": { "type": "MemberExpression", "start": 3197, "end": 3225, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 55 } }, "object": { "type": "MemberExpression", "start": 3197, "end": 3211, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 41 } }, "object": { "type": "Identifier", "start": 3197, "end": 3204, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 34 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3205, "end": 3211, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 41 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3212, "end": 3225, "loc": { "start": { "line": 86, "column": 42 }, "end": { "line": 86, "column": 55 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 3226, "end": 3235, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 65 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3236, "end": 3271, "loc": { "start": { "line": 86, "column": 66 }, "end": { "line": 86, "column": 101 } }, "extra": { "rawValue": "modelsContextMenu.unloadAllModels", "raw": "\"modelsContextMenu.unloadAllModels\"" }, "value": "modelsContextMenu.unloadAllModels" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 3276, "end": 3288, "loc": { "start": { "line": 86, "column": 106 }, "end": { "line": 86, "column": 118 } }, "extra": { "rawValue": "Unload All", "raw": "\"Unload All\"" }, "value": "Unload All" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 3325, "end": 3507, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 91, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3325, "end": 3335, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 26 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 3337, "end": 3507, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 91, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3338, "end": 3345, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 36 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3350, "end": 3507, "loc": { "start": { "line": 88, "column": 41 }, "end": { "line": 91, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 3372, "end": 3433, "loc": { "start": { "line": 89, "column": 20 }, "end": { "line": 89, "column": 81 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3378, "end": 3432, "loc": { "start": { "line": 89, "column": 26 }, "end": { "line": 89, "column": 80 } }, "id": { "type": "Identifier", "start": 3378, "end": 3392, "loc": { "start": { "line": 89, "column": 26 }, "end": { "line": 89, "column": 40 }, "identifierName": "loadedModelIds" }, "name": "loadedModelIds" }, "init": { "type": "CallExpression", "start": 3395, "end": 3432, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 3395, "end": 3430, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 78 } }, "object": { "type": "MemberExpression", "start": 3395, "end": 3412, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 60 } }, "object": { "type": "Identifier", "start": 3395, "end": 3402, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 50 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3403, "end": 3412, "loc": { "start": { "line": 89, "column": 51 }, "end": { "line": 89, "column": 60 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3413, "end": 3430, "loc": { "start": { "line": 89, "column": 61 }, "end": { "line": 89, "column": 78 }, "identifierName": "getLoadedModelIds" }, "name": "getLoadedModelIds" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 3454, "end": 3489, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 55 } }, "argument": { "type": "BinaryExpression", "start": 3462, "end": 3487, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 53 } }, "left": { "type": "MemberExpression", "start": 3462, "end": 3483, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 49 } }, "object": { "type": "Identifier", "start": 3462, "end": 3476, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 42 }, "identifierName": "loadedModelIds" }, "name": "loadedModelIds" }, "property": { "type": "Identifier", "start": 3477, "end": 3483, "loc": { "start": { "line": 90, "column": 43 }, "end": { "line": 90, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3486, "end": 3487, "loc": { "start": { "line": 90, "column": 52 }, "end": { "line": 90, "column": 53 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "extra": { "parenthesized": true, "parenStart": 3461 } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 3525, "end": 3624, "loc": { "start": { "line": 92, "column": 16 }, "end": { "line": 94, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3525, "end": 3533, "loc": { "start": { "line": 92, "column": 16 }, "end": { "line": 92, "column": 24 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 3535, "end": 3624, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 94, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3536, "end": 3543, "loc": { "start": { "line": 92, "column": 27 }, "end": { "line": 92, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3548, "end": 3624, "loc": { "start": { "line": 92, "column": 39 }, "end": { "line": 94, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 3570, "end": 3606, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 56 } }, "expression": { "type": "CallExpression", "start": 3570, "end": 3605, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 3570, "end": 3603, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 53 } }, "object": { "type": "MemberExpression", "start": 3570, "end": 3587, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 37 } }, "object": { "type": "Identifier", "start": 3570, "end": 3577, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 27 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3578, "end": 3587, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 37 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3588, "end": 3603, "loc": { "start": { "line": 93, "column": 38 }, "end": { "line": 93, "column": 53 }, "identifierName": "unloadAllModels" }, "name": "unloadAllModels" }, "computed": false }, "arguments": [] } } ], "directives": [] } } } ] } ] } ] } }, { "type": "ExpressionStatement", "start": 3660, "end": 4135, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 110, "column": 11 } }, "expression": { "type": "CallExpression", "start": 3660, "end": 4134, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 110, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 3660, "end": 3670, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 18 } }, "object": { "type": "Identifier", "start": 3660, "end": 3665, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 13 }, "identifierName": "items" }, "name": "items" }, "property": { "type": "Identifier", "start": 3666, "end": 3670, "loc": { "start": { "line": 98, "column": 14 }, "end": { "line": 98, "column": 18 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ArrayExpression", "start": 3671, "end": 4133, "loc": { "start": { "line": 98, "column": 19 }, "end": { "line": 110, "column": 9 } }, "elements": [ { "type": "ObjectExpression", "start": 3685, "end": 4123, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 109, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 3703, "end": 3863, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 102, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3703, "end": 3711, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 24 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 3713, "end": 3863, "loc": { "start": { "line": 100, "column": 26 }, "end": { "line": 102, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3714, "end": 3721, "loc": { "start": { "line": 100, "column": 27 }, "end": { "line": 100, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3726, "end": 3863, "loc": { "start": { "line": 100, "column": 39 }, "end": { "line": 102, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 3748, "end": 3845, "loc": { "start": { "line": 101, "column": 20 }, "end": { "line": 101, "column": 117 } }, "argument": { "type": "LogicalExpression", "start": 3755, "end": 3844, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 116 } }, "left": { "type": "CallExpression", "start": 3755, "end": 3826, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 3755, "end": 3793, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 65 } }, "object": { "type": "MemberExpression", "start": 3755, "end": 3783, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 55 } }, "object": { "type": "MemberExpression", "start": 3755, "end": 3769, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 41 } }, "object": { "type": "Identifier", "start": 3755, "end": 3762, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 34 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3763, "end": 3769, "loc": { "start": { "line": 101, "column": 35 }, "end": { "line": 101, "column": 41 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3770, "end": 3783, "loc": { "start": { "line": 101, "column": 42 }, "end": { "line": 101, "column": 55 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 3784, "end": 3793, "loc": { "start": { "line": 101, "column": 56 }, "end": { "line": 101, "column": 65 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3794, "end": 3825, "loc": { "start": { "line": 101, "column": 66 }, "end": { "line": 101, "column": 97 } }, "extra": { "rawValue": "modelsContextMenu.clearSlices", "raw": "\"modelsContextMenu.clearSlices\"" }, "value": "modelsContextMenu.clearSlices" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 3830, "end": 3844, "loc": { "start": { "line": 101, "column": 102 }, "end": { "line": 101, "column": 116 } }, "extra": { "rawValue": "Clear Slices", "raw": "\"Clear Slices\"" }, "value": "Clear Slices" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 3881, "end": 3994, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 105, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3881, "end": 3891, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 26 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 3893, "end": 3994, "loc": { "start": { "line": 103, "column": 28 }, "end": { "line": 105, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3894, "end": 3901, "loc": { "start": { "line": 103, "column": 29 }, "end": { "line": 103, "column": 36 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3906, "end": 3994, "loc": { "start": { "line": 103, "column": 41 }, "end": { "line": 105, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 3928, "end": 3976, "loc": { "start": { "line": 104, "column": 20 }, "end": { "line": 104, "column": 68 } }, "argument": { "type": "BinaryExpression", "start": 3936, "end": 3974, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 66 } }, "left": { "type": "CallExpression", "start": 3936, "end": 3970, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 3936, "end": 3968, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 60 } }, "object": { "type": "MemberExpression", "start": 3936, "end": 3953, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 45 } }, "object": { "type": "Identifier", "start": 3936, "end": 3943, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 35 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3944, "end": 3953, "loc": { "start": { "line": 104, "column": 36 }, "end": { "line": 104, "column": 45 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3954, "end": 3968, "loc": { "start": { "line": 104, "column": 46 }, "end": { "line": 104, "column": 60 }, "identifierName": "getNumSections" }, "name": "getNumSections" }, "computed": false }, "arguments": [] }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3973, "end": 3974, "loc": { "start": { "line": 104, "column": 65 }, "end": { "line": 104, "column": 66 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "extra": { "parenthesized": true, "parenStart": 3935 } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 4012, "end": 4109, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 108, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 4012, "end": 4020, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 24 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 4022, "end": 4109, "loc": { "start": { "line": 106, "column": 26 }, "end": { "line": 108, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4023, "end": 4030, "loc": { "start": { "line": 106, "column": 27 }, "end": { "line": 106, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 4035, "end": 4109, "loc": { "start": { "line": 106, "column": 39 }, "end": { "line": 108, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 4057, "end": 4091, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 54 } }, "expression": { "type": "CallExpression", "start": 4057, "end": 4090, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 4057, "end": 4088, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4057, "end": 4074, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 37 } }, "object": { "type": "Identifier", "start": 4057, "end": 4064, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 27 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 4065, "end": 4074, "loc": { "start": { "line": 107, "column": 28 }, "end": { "line": 107, "column": 37 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 4075, "end": 4088, "loc": { "start": { "line": 107, "column": 38 }, "end": { "line": 107, "column": 51 }, "identifierName": "clearSections" }, "name": "clearSections" }, "computed": false }, "arguments": [] } } ], "directives": [] } } } ] } ] } ] } }, { "type": "ExpressionStatement", "start": 4145, "end": 4267, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 116, "column": 11 } }, "expression": { "type": "CallExpression", "start": 4145, "end": 4266, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 116, "column": 10 } }, "callee": { "type": "Super", "start": 4145, "end": 4150, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 13 } } }, "arguments": [ { "type": "ObjectExpression", "start": 4151, "end": 4265, "loc": { "start": { "line": 112, "column": 14 }, "end": { "line": 116, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 4165, "end": 4195, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 42 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 4165, "end": 4177, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 24 }, "identifierName": "hideOnAction" }, "name": "hideOnAction" }, "value": { "type": "MemberExpression", "start": 4179, "end": 4195, "loc": { "start": { "line": 113, "column": 26 }, "end": { "line": 113, "column": 42 } }, "object": { "type": "Identifier", "start": 4179, "end": 4182, "loc": { "start": { "line": 113, "column": 26 }, "end": { "line": 113, "column": 29 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 4183, "end": 4195, "loc": { "start": { "line": 113, "column": 30 }, "end": { "line": 113, "column": 42 }, "identifierName": "hideOnAction" }, "name": "hideOnAction" }, "computed": false } }, { "type": "ObjectProperty", "start": 4209, "end": 4229, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 4209, "end": 4216, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "column": 19 }, "identifierName": "context" }, "name": "context" }, "value": { "type": "MemberExpression", "start": 4218, "end": 4229, "loc": { "start": { "line": 114, "column": 21 }, "end": { "line": 114, "column": 32 } }, "object": { "type": "Identifier", "start": 4218, "end": 4221, "loc": { "start": { "line": 114, "column": 21 }, "end": { "line": 114, "column": 24 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 4222, "end": 4229, "loc": { "start": { "line": 114, "column": 25 }, "end": { "line": 114, "column": 32 }, "identifierName": "context" }, "name": "context" }, "computed": false } }, { "type": "ObjectProperty", "start": 4243, "end": 4255, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 4243, "end": 4248, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 17 }, "identifierName": "items" }, "name": "items" }, "value": { "type": "Identifier", "start": 4250, "end": 4255, "loc": { "start": { "line": 115, "column": 19 }, "end": { "line": 115, "column": 24 }, "identifierName": "items" }, "name": "items" } } ] } ] } } ], "directives": [] } } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "ExportNamedDeclaration", "start": 4277, "end": 4304, "loc": { "start": { "line": 120, "column": 0 }, "end": { "line": 120, "column": 27 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 4285, "end": 4302, "loc": { "start": { "line": 120, "column": 8 }, "end": { "line": 120, "column": 25 } }, "local": { "type": "Identifier", "start": 4285, "end": 4302, "loc": { "start": { "line": 120, "column": 8 }, "end": { "line": 120, "column": 25 }, "identifierName": "ModelsContextMenu" }, "name": "ModelsContextMenu" }, "exported": { "type": "Identifier", "start": 4285, "end": 4302, "loc": { "start": { "line": 120, "column": 8 }, "end": { "line": 120, "column": 25 }, "identifierName": "ModelsContextMenu" }, "name": "ModelsContextMenu" } } ], "source": null }, { "type": "ExportNamedDeclaration", "start": 4277, "end": 4304, "loc": { "start": { "line": 120, "column": 0 }, "end": { "line": 120, "column": 27 } }, "declaration": { "type": "ClassDeclaration", "start": 220, "end": 4275, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 118, "column": 1 } }, "id": { "type": "Identifier", "start": 226, "end": 243, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 23 }, "identifierName": "ModelsContextMenu" }, "name": "ModelsContextMenu", "leadingComments": null }, "superClass": { "type": "Identifier", "start": 252, "end": 263, "loc": { "start": { "line": 8, "column": 32 }, "end": { "line": 8, "column": 43 }, "identifierName": "ContextMenu" }, "name": "ContextMenu" }, "body": { "type": "ClassBody", "start": 264, "end": 4275, "loc": { "start": { "line": 8, "column": 44 }, "end": { "line": 118, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 271, "end": 4273, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 117, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 271, "end": 282, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 283, "end": 291, "loc": { "start": { "line": 10, "column": 16 }, "end": { "line": 10, "column": 24 } }, "left": { "type": "Identifier", "start": 283, "end": 286, "loc": { "start": { "line": 10, "column": 16 }, "end": { "line": 10, "column": 19 }, "identifierName": "cfg" }, "name": "cfg" }, "right": { "type": "ObjectExpression", "start": 289, "end": 291, "loc": { "start": { "line": 10, "column": 22 }, "end": { "line": 10, "column": 24 } }, "properties": [] } } ], "body": { "type": "BlockStatement", "start": 293, "end": 4273, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 117, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 304, "end": 354, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 310, "end": 353, "loc": { "start": { "line": 12, "column": 14 }, "end": { "line": 12, "column": 57 } }, "id": { "type": "Identifier", "start": 310, "end": 326, "loc": { "start": { "line": 12, "column": 14 }, "end": { "line": 12, "column": 30 }, "identifierName": "enableEditModels" }, "name": "enableEditModels" }, "init": { "type": "UnaryExpression", "start": 330, "end": 352, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 12, "column": 56 } }, "operator": "!", "prefix": true, "argument": { "type": "UnaryExpression", "start": 331, "end": 352, "loc": { "start": { "line": 12, "column": 35 }, "end": { "line": 12, "column": 56 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 332, "end": 352, "loc": { "start": { "line": 12, "column": 36 }, "end": { "line": 12, "column": 56 } }, "object": { "type": "Identifier", "start": 332, "end": 335, "loc": { "start": { "line": 12, "column": 36 }, "end": { "line": 12, "column": 39 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 336, "end": 352, "loc": { "start": { "line": 12, "column": 40 }, "end": { "line": 12, "column": 56 }, "identifierName": "enableEditModels" }, "name": "enableEditModels" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesizedArgument": false, "parenthesized": true, "parenStart": 329 } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 364, "end": 1436, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 39, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 370, "end": 1435, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 39, "column": 9 } }, "id": { "type": "Identifier", "start": 370, "end": 375, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 14, "column": 19 }, "identifierName": "items" }, "name": "items" }, "init": { "type": "ArrayExpression", "start": 378, "end": 1435, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 39, "column": 9 } }, "elements": [ { "type": "ArrayExpression", "start": 392, "end": 1425, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 38, "column": 13 } }, "elements": [ { "type": "ObjectExpression", "start": 410, "end": 900, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 26, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 432, "end": 590, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 19, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 432, "end": 440, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 17, "column": 28 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 442, "end": 590, "loc": { "start": { "line": 17, "column": 30 }, "end": { "line": 19, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 443, "end": 450, "loc": { "start": { "line": 17, "column": 31 }, "end": { "line": 17, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 455, "end": 590, "loc": { "start": { "line": 17, "column": 43 }, "end": { "line": 19, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 481, "end": 568, "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 18, "column": 111 } }, "argument": { "type": "LogicalExpression", "start": 488, "end": 567, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 110 } }, "left": { "type": "CallExpression", "start": 488, "end": 557, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 488, "end": 526, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 69 } }, "object": { "type": "MemberExpression", "start": 488, "end": 516, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 59 } }, "object": { "type": "MemberExpression", "start": 488, "end": 502, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 45 } }, "object": { "type": "Identifier", "start": 488, "end": 495, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 38 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 496, "end": 502, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 45 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 503, "end": 516, "loc": { "start": { "line": 18, "column": 46 }, "end": { "line": 18, "column": 59 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 517, "end": 526, "loc": { "start": { "line": 18, "column": 60 }, "end": { "line": 18, "column": 69 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 527, "end": 556, "loc": { "start": { "line": 18, "column": 70 }, "end": { "line": 18, "column": 99 } }, "extra": { "rawValue": "modelsContextMenu.loadModel", "raw": "\"modelsContextMenu.loadModel\"" }, "value": "modelsContextMenu.loadModel" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 561, "end": 567, "loc": { "start": { "line": 18, "column": 104 }, "end": { "line": 18, "column": 110 } }, "extra": { "rawValue": "Load", "raw": "\"Load\"" }, "value": "Load" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 612, "end": 744, "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 22, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 612, "end": 622, "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 20, "column": 30 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 624, "end": 744, "loc": { "start": { "line": 20, "column": 32 }, "end": { "line": 22, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 625, "end": 632, "loc": { "start": { "line": 20, "column": 33 }, "end": { "line": 20, "column": 40 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 637, "end": 744, "loc": { "start": { "line": 20, "column": 45 }, "end": { "line": 22, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 663, "end": 722, "loc": { "start": { "line": 21, "column": 24 }, "end": { "line": 21, "column": 83 } }, "argument": { "type": "UnaryExpression", "start": 671, "end": 720, "loc": { "start": { "line": 21, "column": 32 }, "end": { "line": 21, "column": 81 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 672, "end": 720, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 672, "end": 703, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 64 } }, "object": { "type": "MemberExpression", "start": 672, "end": 689, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 50 } }, "object": { "type": "Identifier", "start": 672, "end": 679, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 40 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 680, "end": 689, "loc": { "start": { "line": 21, "column": 41 }, "end": { "line": 21, "column": 50 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 690, "end": 703, "loc": { "start": { "line": 21, "column": 51 }, "end": { "line": 21, "column": 64 }, "identifierName": "isModelLoaded" }, "name": "isModelLoaded" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 704, "end": 719, "loc": { "start": { "line": 21, "column": 65 }, "end": { "line": 21, "column": 80 } }, "object": { "type": "Identifier", "start": 704, "end": 711, "loc": { "start": { "line": 21, "column": 65 }, "end": { "line": 21, "column": 72 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 712, "end": 719, "loc": { "start": { "line": 21, "column": 73 }, "end": { "line": 21, "column": 80 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] }, "extra": { "parenthesizedArgument": false, "parenthesized": true, "parenStart": 670 } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 766, "end": 882, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 25, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 766, "end": 774, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 28 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 776, "end": 882, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 25, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 777, "end": 784, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 789, "end": 882, "loc": { "start": { "line": 23, "column": 43 }, "end": { "line": 25, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 815, "end": 860, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 69 } }, "expression": { "type": "CallExpression", "start": 815, "end": 859, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 815, "end": 842, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 51 } }, "object": { "type": "MemberExpression", "start": 815, "end": 832, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 41 } }, "object": { "type": "Identifier", "start": 815, "end": 822, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 31 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 823, "end": 832, "loc": { "start": { "line": 24, "column": 32 }, "end": { "line": 24, "column": 41 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 833, "end": 842, "loc": { "start": { "line": 24, "column": 42 }, "end": { "line": 24, "column": 51 }, "identifierName": "loadModel" }, "name": "loadModel" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 843, "end": 858, "loc": { "start": { "line": 24, "column": 52 }, "end": { "line": 24, "column": 67 } }, "object": { "type": "Identifier", "start": 843, "end": 850, "loc": { "start": { "line": 24, "column": 52 }, "end": { "line": 24, "column": 59 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 851, "end": 858, "loc": { "start": { "line": 24, "column": 60 }, "end": { "line": 24, "column": 67 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] } } ], "directives": [] } } } ] }, { "type": "ObjectExpression", "start": 918, "end": 1411, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 37, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 940, "end": 1102, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 30, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 940, "end": 948, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 28, "column": 28 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 950, "end": 1102, "loc": { "start": { "line": 28, "column": 30 }, "end": { "line": 30, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 951, "end": 958, "loc": { "start": { "line": 28, "column": 31 }, "end": { "line": 28, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 963, "end": 1102, "loc": { "start": { "line": 28, "column": 43 }, "end": { "line": 30, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 989, "end": 1080, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 115 } }, "argument": { "type": "LogicalExpression", "start": 996, "end": 1079, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 114 } }, "left": { "type": "CallExpression", "start": 996, "end": 1067, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 102 } }, "callee": { "type": "MemberExpression", "start": 996, "end": 1034, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 69 } }, "object": { "type": "MemberExpression", "start": 996, "end": 1024, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 59 } }, "object": { "type": "MemberExpression", "start": 996, "end": 1010, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 45 } }, "object": { "type": "Identifier", "start": 996, "end": 1003, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 38 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1004, "end": 1010, "loc": { "start": { "line": 29, "column": 39 }, "end": { "line": 29, "column": 45 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 1011, "end": 1024, "loc": { "start": { "line": 29, "column": 46 }, "end": { "line": 29, "column": 59 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 1025, "end": 1034, "loc": { "start": { "line": 29, "column": 60 }, "end": { "line": 29, "column": 69 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1035, "end": 1066, "loc": { "start": { "line": 29, "column": 70 }, "end": { "line": 29, "column": 101 } }, "extra": { "rawValue": "modelsContextMenu.unloadModel", "raw": "\"modelsContextMenu.unloadModel\"" }, "value": "modelsContextMenu.unloadModel" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 1071, "end": 1079, "loc": { "start": { "line": 29, "column": 106 }, "end": { "line": 29, "column": 114 } }, "extra": { "rawValue": "Unload", "raw": "\"Unload\"" }, "value": "Unload" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 1124, "end": 1253, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 33, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1124, "end": 1134, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 30 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 1136, "end": 1253, "loc": { "start": { "line": 31, "column": 32 }, "end": { "line": 33, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1137, "end": 1144, "loc": { "start": { "line": 31, "column": 33 }, "end": { "line": 31, "column": 40 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 1149, "end": 1253, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 33, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 1175, "end": 1231, "loc": { "start": { "line": 32, "column": 24 }, "end": { "line": 32, "column": 80 } }, "argument": { "type": "CallExpression", "start": 1182, "end": 1230, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 1182, "end": 1213, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 62 } }, "object": { "type": "MemberExpression", "start": 1182, "end": 1199, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 48 } }, "object": { "type": "Identifier", "start": 1182, "end": 1189, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 38 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1190, "end": 1199, "loc": { "start": { "line": 32, "column": 39 }, "end": { "line": 32, "column": 48 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 1200, "end": 1213, "loc": { "start": { "line": 32, "column": 49 }, "end": { "line": 32, "column": 62 }, "identifierName": "isModelLoaded" }, "name": "isModelLoaded" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1214, "end": 1229, "loc": { "start": { "line": 32, "column": 63 }, "end": { "line": 32, "column": 78 } }, "object": { "type": "Identifier", "start": 1214, "end": 1221, "loc": { "start": { "line": 32, "column": 63 }, "end": { "line": 32, "column": 70 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1222, "end": 1229, "loc": { "start": { "line": 32, "column": 71 }, "end": { "line": 32, "column": 78 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 1275, "end": 1393, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 36, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1275, "end": 1283, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 28 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 1285, "end": 1393, "loc": { "start": { "line": 34, "column": 30 }, "end": { "line": 36, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1286, "end": 1293, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 1298, "end": 1393, "loc": { "start": { "line": 34, "column": 43 }, "end": { "line": 36, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 1324, "end": 1371, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 71 } }, "expression": { "type": "CallExpression", "start": 1324, "end": 1370, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 1324, "end": 1353, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 53 } }, "object": { "type": "MemberExpression", "start": 1324, "end": 1341, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 41 } }, "object": { "type": "Identifier", "start": 1324, "end": 1331, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 31 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1332, "end": 1341, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 41 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 1342, "end": 1353, "loc": { "start": { "line": 35, "column": 42 }, "end": { "line": 35, "column": 53 }, "identifierName": "unloadModel" }, "name": "unloadModel" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1354, "end": 1369, "loc": { "start": { "line": 35, "column": 54 }, "end": { "line": 35, "column": 69 } }, "object": { "type": "Identifier", "start": 1354, "end": 1361, "loc": { "start": { "line": 35, "column": 54 }, "end": { "line": 35, "column": 61 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1362, "end": 1369, "loc": { "start": { "line": 35, "column": 62 }, "end": { "line": 35, "column": 69 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] } } ], "directives": [] } } } ] } ] } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 1446, "end": 2448, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 67, "column": 9 } }, "test": { "type": "Identifier", "start": 1450, "end": 1466, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 28 }, "identifierName": "enableEditModels" }, "name": "enableEditModels" }, "consequent": { "type": "BlockStatement", "start": 1468, "end": 2448, "loc": { "start": { "line": 41, "column": 30 }, "end": { "line": 67, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1483, "end": 2438, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 66, "column": 15 } }, "expression": { "type": "CallExpression", "start": 1483, "end": 2437, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 66, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 1483, "end": 1493, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 22 } }, "object": { "type": "Identifier", "start": 1483, "end": 1488, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 17 }, "identifierName": "items" }, "name": "items" }, "property": { "type": "Identifier", "start": 1489, "end": 1493, "loc": { "start": { "line": 43, "column": 18 }, "end": { "line": 43, "column": 22 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ArrayExpression", "start": 1494, "end": 2436, "loc": { "start": { "line": 43, "column": 23 }, "end": { "line": 66, "column": 13 } }, "elements": [ { "type": "ObjectExpression", "start": 1512, "end": 1955, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 54, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 1534, "end": 1692, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 47, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1534, "end": 1542, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 28 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 1544, "end": 1692, "loc": { "start": { "line": 45, "column": 30 }, "end": { "line": 47, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1545, "end": 1552, "loc": { "start": { "line": 45, "column": 31 }, "end": { "line": 45, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 1557, "end": 1692, "loc": { "start": { "line": 45, "column": 43 }, "end": { "line": 47, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 1583, "end": 1670, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 111 } }, "argument": { "type": "LogicalExpression", "start": 1590, "end": 1669, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 110 } }, "left": { "type": "CallExpression", "start": 1590, "end": 1659, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 1590, "end": 1628, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 69 } }, "object": { "type": "MemberExpression", "start": 1590, "end": 1618, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 59 } }, "object": { "type": "MemberExpression", "start": 1590, "end": 1604, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 45 } }, "object": { "type": "Identifier", "start": 1590, "end": 1597, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 38 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1598, "end": 1604, "loc": { "start": { "line": 46, "column": 39 }, "end": { "line": 46, "column": 45 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 1605, "end": 1618, "loc": { "start": { "line": 46, "column": 46 }, "end": { "line": 46, "column": 59 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 1619, "end": 1628, "loc": { "start": { "line": 46, "column": 60 }, "end": { "line": 46, "column": 69 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1629, "end": 1658, "loc": { "start": { "line": 46, "column": 70 }, "end": { "line": 46, "column": 99 } }, "extra": { "rawValue": "modelsContextMenu.editModel", "raw": "\"modelsContextMenu.editModel\"" }, "value": "modelsContextMenu.editModel" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 1663, "end": 1669, "loc": { "start": { "line": 46, "column": 104 }, "end": { "line": 46, "column": 110 } }, "extra": { "rawValue": "Edit", "raw": "\"Edit\"" }, "value": "Edit" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 1714, "end": 1799, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 50, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1714, "end": 1724, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 48, "column": 30 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 1726, "end": 1799, "loc": { "start": { "line": 48, "column": 32 }, "end": { "line": 50, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1727, "end": 1734, "loc": { "start": { "line": 48, "column": 33 }, "end": { "line": 48, "column": 40 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 1739, "end": 1799, "loc": { "start": { "line": 48, "column": 45 }, "end": { "line": 50, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 1765, "end": 1777, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 36 } }, "argument": { "type": "BooleanLiteral", "start": 1772, "end": 1776, "loc": { "start": { "line": 49, "column": 31 }, "end": { "line": 49, "column": 35 } }, "value": true } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 1821, "end": 1937, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 53, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1821, "end": 1829, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 28 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 1831, "end": 1937, "loc": { "start": { "line": 51, "column": 30 }, "end": { "line": 53, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1832, "end": 1839, "loc": { "start": { "line": 51, "column": 31 }, "end": { "line": 51, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 1844, "end": 1937, "loc": { "start": { "line": 51, "column": 43 }, "end": { "line": 53, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 1870, "end": 1915, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 69 } }, "expression": { "type": "CallExpression", "start": 1870, "end": 1914, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 1870, "end": 1897, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 51 } }, "object": { "type": "MemberExpression", "start": 1870, "end": 1887, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 41 } }, "object": { "type": "Identifier", "start": 1870, "end": 1877, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 31 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1878, "end": 1887, "loc": { "start": { "line": 52, "column": 32 }, "end": { "line": 52, "column": 41 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 1888, "end": 1897, "loc": { "start": { "line": 52, "column": 42 }, "end": { "line": 52, "column": 51 }, "identifierName": "editModel" }, "name": "editModel" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1898, "end": 1913, "loc": { "start": { "line": 52, "column": 52 }, "end": { "line": 52, "column": 67 } }, "object": { "type": "Identifier", "start": 1898, "end": 1905, "loc": { "start": { "line": 52, "column": 52 }, "end": { "line": 52, "column": 59 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 1906, "end": 1913, "loc": { "start": { "line": 52, "column": 60 }, "end": { "line": 52, "column": 67 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] } } ], "directives": [] } } } ] }, { "type": "ObjectExpression", "start": 1973, "end": 2422, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 65, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 1995, "end": 2157, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 58, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1995, "end": 2003, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 28 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 2005, "end": 2157, "loc": { "start": { "line": 56, "column": 30 }, "end": { "line": 58, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2006, "end": 2013, "loc": { "start": { "line": 56, "column": 31 }, "end": { "line": 56, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 2018, "end": 2157, "loc": { "start": { "line": 56, "column": 43 }, "end": { "line": 58, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 2044, "end": 2135, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 115 } }, "argument": { "type": "LogicalExpression", "start": 2051, "end": 2134, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 114 } }, "left": { "type": "CallExpression", "start": 2051, "end": 2122, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 102 } }, "callee": { "type": "MemberExpression", "start": 2051, "end": 2089, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 69 } }, "object": { "type": "MemberExpression", "start": 2051, "end": 2079, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 59 } }, "object": { "type": "MemberExpression", "start": 2051, "end": 2065, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 45 } }, "object": { "type": "Identifier", "start": 2051, "end": 2058, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 38 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2059, "end": 2065, "loc": { "start": { "line": 57, "column": 39 }, "end": { "line": 57, "column": 45 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 2066, "end": 2079, "loc": { "start": { "line": 57, "column": 46 }, "end": { "line": 57, "column": 59 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 2080, "end": 2089, "loc": { "start": { "line": 57, "column": 60 }, "end": { "line": 57, "column": 69 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2090, "end": 2121, "loc": { "start": { "line": 57, "column": 70 }, "end": { "line": 57, "column": 101 } }, "extra": { "rawValue": "modelsContextMenu.deleteModel", "raw": "\"modelsContextMenu.deleteModel\"" }, "value": "modelsContextMenu.deleteModel" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 2126, "end": 2134, "loc": { "start": { "line": 57, "column": 106 }, "end": { "line": 57, "column": 114 } }, "extra": { "rawValue": "Delete", "raw": "\"Delete\"" }, "value": "Delete" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 2179, "end": 2264, "loc": { "start": { "line": 59, "column": 20 }, "end": { "line": 61, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2179, "end": 2189, "loc": { "start": { "line": 59, "column": 20 }, "end": { "line": 59, "column": 30 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 2191, "end": 2264, "loc": { "start": { "line": 59, "column": 32 }, "end": { "line": 61, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2192, "end": 2199, "loc": { "start": { "line": 59, "column": 33 }, "end": { "line": 59, "column": 40 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 2204, "end": 2264, "loc": { "start": { "line": 59, "column": 45 }, "end": { "line": 61, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 2230, "end": 2242, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 36 } }, "argument": { "type": "BooleanLiteral", "start": 2237, "end": 2241, "loc": { "start": { "line": 60, "column": 31 }, "end": { "line": 60, "column": 35 } }, "value": true } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 2286, "end": 2404, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 64, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2286, "end": 2294, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 28 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 2296, "end": 2404, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 64, "column": 21 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2297, "end": 2304, "loc": { "start": { "line": 62, "column": 31 }, "end": { "line": 62, "column": 38 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 2309, "end": 2404, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 64, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 2335, "end": 2382, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 71 } }, "expression": { "type": "CallExpression", "start": 2335, "end": 2381, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 2335, "end": 2364, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 53 } }, "object": { "type": "MemberExpression", "start": 2335, "end": 2352, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 41 } }, "object": { "type": "Identifier", "start": 2335, "end": 2342, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 31 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2343, "end": 2352, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 41 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 2353, "end": 2364, "loc": { "start": { "line": 63, "column": 42 }, "end": { "line": 63, "column": 53 }, "identifierName": "deleteModel" }, "name": "deleteModel" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2365, "end": 2380, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 69 } }, "object": { "type": "Identifier", "start": 2365, "end": 2372, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 61 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2373, "end": 2380, "loc": { "start": { "line": 63, "column": 62 }, "end": { "line": 63, "column": 69 }, "identifierName": "modelId" }, "name": "modelId" }, "computed": false } ] } } ], "directives": [] } } } ] } ] } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 2458, "end": 3650, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 96, "column": 11 } }, "expression": { "type": "CallExpression", "start": 2458, "end": 3649, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 96, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 2458, "end": 2468, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 18 } }, "object": { "type": "Identifier", "start": 2458, "end": 2463, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 13 }, "identifierName": "items" }, "name": "items" }, "property": { "type": "Identifier", "start": 2464, "end": 2468, "loc": { "start": { "line": 69, "column": 14 }, "end": { "line": 69, "column": 18 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ArrayExpression", "start": 2469, "end": 3648, "loc": { "start": { "line": 69, "column": 19 }, "end": { "line": 96, "column": 9 } }, "elements": [ { "type": "ObjectExpression", "start": 2483, "end": 3113, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 83, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 2501, "end": 2659, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 73, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2501, "end": 2509, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 71, "column": 24 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 2511, "end": 2659, "loc": { "start": { "line": 71, "column": 26 }, "end": { "line": 73, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2512, "end": 2519, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 2524, "end": 2659, "loc": { "start": { "line": 71, "column": 39 }, "end": { "line": 73, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 2546, "end": 2641, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 115 } }, "argument": { "type": "LogicalExpression", "start": 2553, "end": 2640, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 114 } }, "left": { "type": "CallExpression", "start": 2553, "end": 2626, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 2553, "end": 2591, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 65 } }, "object": { "type": "MemberExpression", "start": 2553, "end": 2581, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 55 } }, "object": { "type": "MemberExpression", "start": 2553, "end": 2567, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 41 } }, "object": { "type": "Identifier", "start": 2553, "end": 2560, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 34 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2561, "end": 2567, "loc": { "start": { "line": 72, "column": 35 }, "end": { "line": 72, "column": 41 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 2568, "end": 2581, "loc": { "start": { "line": 72, "column": 42 }, "end": { "line": 72, "column": 55 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 2582, "end": 2591, "loc": { "start": { "line": 72, "column": 56 }, "end": { "line": 72, "column": 65 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2592, "end": 2625, "loc": { "start": { "line": 72, "column": 66 }, "end": { "line": 72, "column": 99 } }, "extra": { "rawValue": "modelsContextMenu.loadAllModels", "raw": "\"modelsContextMenu.loadAllModels\"" }, "value": "modelsContextMenu.loadAllModels" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 2630, "end": 2640, "loc": { "start": { "line": 72, "column": 104 }, "end": { "line": 72, "column": 114 } }, "extra": { "rawValue": "Load All", "raw": "\"Load All\"" }, "value": "Load All" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 2677, "end": 2984, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 79, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2677, "end": 2687, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 26 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 2689, "end": 2984, "loc": { "start": { "line": 74, "column": 28 }, "end": { "line": 79, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2690, "end": 2697, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 36 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 2702, "end": 2984, "loc": { "start": { "line": 74, "column": 41 }, "end": { "line": 79, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 2724, "end": 2760, "loc": { "start": { "line": 75, "column": 20 }, "end": { "line": 75, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2730, "end": 2759, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 55 } }, "id": { "type": "Identifier", "start": 2730, "end": 2739, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 35 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "init": { "type": "MemberExpression", "start": 2742, "end": 2759, "loc": { "start": { "line": 75, "column": 38 }, "end": { "line": 75, "column": 55 } }, "object": { "type": "Identifier", "start": 2742, "end": 2749, "loc": { "start": { "line": 75, "column": 38 }, "end": { "line": 75, "column": 45 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2750, "end": 2759, "loc": { "start": { "line": 75, "column": 46 }, "end": { "line": 75, "column": 55 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2781, "end": 2822, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2787, "end": 2821, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "column": 60 } }, "id": { "type": "Identifier", "start": 2787, "end": 2795, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "column": 34 }, "identifierName": "modelIds" }, "name": "modelIds" }, "init": { "type": "CallExpression", "start": 2798, "end": 2821, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 2798, "end": 2819, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 58 } }, "object": { "type": "Identifier", "start": 2798, "end": 2807, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 46 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "property": { "type": "Identifier", "start": 2808, "end": 2819, "loc": { "start": { "line": 76, "column": 47 }, "end": { "line": 76, "column": 58 }, "identifierName": "getModelIds" }, "name": "getModelIds" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2843, "end": 2896, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2849, "end": 2895, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 72 } }, "id": { "type": "Identifier", "start": 2849, "end": 2863, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 40 }, "identifierName": "loadedModelIds" }, "name": "loadedModelIds" }, "init": { "type": "CallExpression", "start": 2866, "end": 2895, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 2866, "end": 2893, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "column": 70 } }, "object": { "type": "Identifier", "start": 2866, "end": 2875, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "column": 52 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "property": { "type": "Identifier", "start": 2876, "end": 2893, "loc": { "start": { "line": 77, "column": 53 }, "end": { "line": 77, "column": 70 }, "identifierName": "getLoadedModelIds" }, "name": "getLoadedModelIds" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 2917, "end": 2966, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 69 } }, "argument": { "type": "BinaryExpression", "start": 2925, "end": 2964, "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 78, "column": 67 } }, "left": { "type": "MemberExpression", "start": 2925, "end": 2946, "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 78, "column": 49 } }, "object": { "type": "Identifier", "start": 2925, "end": 2939, "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 78, "column": 42 }, "identifierName": "loadedModelIds" }, "name": "loadedModelIds" }, "property": { "type": "Identifier", "start": 2940, "end": 2946, "loc": { "start": { "line": 78, "column": 43 }, "end": { "line": 78, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "<", "right": { "type": "MemberExpression", "start": 2949, "end": 2964, "loc": { "start": { "line": 78, "column": 52 }, "end": { "line": 78, "column": 67 } }, "object": { "type": "Identifier", "start": 2949, "end": 2957, "loc": { "start": { "line": 78, "column": 52 }, "end": { "line": 78, "column": 60 }, "identifierName": "modelIds" }, "name": "modelIds" }, "property": { "type": "Identifier", "start": 2958, "end": 2964, "loc": { "start": { "line": 78, "column": 61 }, "end": { "line": 78, "column": 67 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "extra": { "parenthesized": true, "parenStart": 2924 } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 3002, "end": 3099, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 82, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3002, "end": 3010, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 24 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 3012, "end": 3099, "loc": { "start": { "line": 80, "column": 26 }, "end": { "line": 82, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3013, "end": 3020, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3025, "end": 3099, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 82, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 3047, "end": 3081, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 54 } }, "expression": { "type": "CallExpression", "start": 3047, "end": 3080, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 3047, "end": 3078, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 51 } }, "object": { "type": "MemberExpression", "start": 3047, "end": 3064, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 37 } }, "object": { "type": "Identifier", "start": 3047, "end": 3054, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 27 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3055, "end": 3064, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 37 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3065, "end": 3078, "loc": { "start": { "line": 81, "column": 38 }, "end": { "line": 81, "column": 51 }, "identifierName": "loadAllModels" }, "name": "loadAllModels" }, "computed": false }, "arguments": [] } } ], "directives": [] } } } ] }, { "type": "ObjectExpression", "start": 3127, "end": 3638, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 95, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 3145, "end": 3307, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 87, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3145, "end": 3153, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 24 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 3155, "end": 3307, "loc": { "start": { "line": 85, "column": 26 }, "end": { "line": 87, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3156, "end": 3163, "loc": { "start": { "line": 85, "column": 27 }, "end": { "line": 85, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3168, "end": 3307, "loc": { "start": { "line": 85, "column": 39 }, "end": { "line": 87, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 3190, "end": 3289, "loc": { "start": { "line": 86, "column": 20 }, "end": { "line": 86, "column": 119 } }, "argument": { "type": "LogicalExpression", "start": 3197, "end": 3288, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 118 } }, "left": { "type": "CallExpression", "start": 3197, "end": 3272, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 102 } }, "callee": { "type": "MemberExpression", "start": 3197, "end": 3235, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 65 } }, "object": { "type": "MemberExpression", "start": 3197, "end": 3225, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 55 } }, "object": { "type": "MemberExpression", "start": 3197, "end": 3211, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 41 } }, "object": { "type": "Identifier", "start": 3197, "end": 3204, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 34 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3205, "end": 3211, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 41 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3212, "end": 3225, "loc": { "start": { "line": 86, "column": 42 }, "end": { "line": 86, "column": 55 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 3226, "end": 3235, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 65 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3236, "end": 3271, "loc": { "start": { "line": 86, "column": 66 }, "end": { "line": 86, "column": 101 } }, "extra": { "rawValue": "modelsContextMenu.unloadAllModels", "raw": "\"modelsContextMenu.unloadAllModels\"" }, "value": "modelsContextMenu.unloadAllModels" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 3276, "end": 3288, "loc": { "start": { "line": 86, "column": 106 }, "end": { "line": 86, "column": 118 } }, "extra": { "rawValue": "Unload All", "raw": "\"Unload All\"" }, "value": "Unload All" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 3325, "end": 3507, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 91, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3325, "end": 3335, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 26 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 3337, "end": 3507, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 91, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3338, "end": 3345, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 36 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3350, "end": 3507, "loc": { "start": { "line": 88, "column": 41 }, "end": { "line": 91, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 3372, "end": 3433, "loc": { "start": { "line": 89, "column": 20 }, "end": { "line": 89, "column": 81 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3378, "end": 3432, "loc": { "start": { "line": 89, "column": 26 }, "end": { "line": 89, "column": 80 } }, "id": { "type": "Identifier", "start": 3378, "end": 3392, "loc": { "start": { "line": 89, "column": 26 }, "end": { "line": 89, "column": 40 }, "identifierName": "loadedModelIds" }, "name": "loadedModelIds" }, "init": { "type": "CallExpression", "start": 3395, "end": 3432, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 3395, "end": 3430, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 78 } }, "object": { "type": "MemberExpression", "start": 3395, "end": 3412, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 60 } }, "object": { "type": "Identifier", "start": 3395, "end": 3402, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 50 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3403, "end": 3412, "loc": { "start": { "line": 89, "column": 51 }, "end": { "line": 89, "column": 60 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3413, "end": 3430, "loc": { "start": { "line": 89, "column": 61 }, "end": { "line": 89, "column": 78 }, "identifierName": "getLoadedModelIds" }, "name": "getLoadedModelIds" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 3454, "end": 3489, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 55 } }, "argument": { "type": "BinaryExpression", "start": 3462, "end": 3487, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 53 } }, "left": { "type": "MemberExpression", "start": 3462, "end": 3483, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 49 } }, "object": { "type": "Identifier", "start": 3462, "end": 3476, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 42 }, "identifierName": "loadedModelIds" }, "name": "loadedModelIds" }, "property": { "type": "Identifier", "start": 3477, "end": 3483, "loc": { "start": { "line": 90, "column": 43 }, "end": { "line": 90, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3486, "end": 3487, "loc": { "start": { "line": 90, "column": 52 }, "end": { "line": 90, "column": 53 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "extra": { "parenthesized": true, "parenStart": 3461 } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 3525, "end": 3624, "loc": { "start": { "line": 92, "column": 16 }, "end": { "line": 94, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3525, "end": 3533, "loc": { "start": { "line": 92, "column": 16 }, "end": { "line": 92, "column": 24 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 3535, "end": 3624, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 94, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3536, "end": 3543, "loc": { "start": { "line": 92, "column": 27 }, "end": { "line": 92, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3548, "end": 3624, "loc": { "start": { "line": 92, "column": 39 }, "end": { "line": 94, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 3570, "end": 3606, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 56 } }, "expression": { "type": "CallExpression", "start": 3570, "end": 3605, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 3570, "end": 3603, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 53 } }, "object": { "type": "MemberExpression", "start": 3570, "end": 3587, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 37 } }, "object": { "type": "Identifier", "start": 3570, "end": 3577, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 27 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3578, "end": 3587, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 37 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3588, "end": 3603, "loc": { "start": { "line": 93, "column": 38 }, "end": { "line": 93, "column": 53 }, "identifierName": "unloadAllModels" }, "name": "unloadAllModels" }, "computed": false }, "arguments": [] } } ], "directives": [] } } } ] } ] } ] } }, { "type": "ExpressionStatement", "start": 3660, "end": 4135, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 110, "column": 11 } }, "expression": { "type": "CallExpression", "start": 3660, "end": 4134, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 110, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 3660, "end": 3670, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 18 } }, "object": { "type": "Identifier", "start": 3660, "end": 3665, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 13 }, "identifierName": "items" }, "name": "items" }, "property": { "type": "Identifier", "start": 3666, "end": 3670, "loc": { "start": { "line": 98, "column": 14 }, "end": { "line": 98, "column": 18 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ArrayExpression", "start": 3671, "end": 4133, "loc": { "start": { "line": 98, "column": 19 }, "end": { "line": 110, "column": 9 } }, "elements": [ { "type": "ObjectExpression", "start": 3685, "end": 4123, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 109, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 3703, "end": 3863, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 102, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3703, "end": 3711, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 24 }, "identifierName": "getTitle" }, "name": "getTitle" }, "value": { "type": "ArrowFunctionExpression", "start": 3713, "end": 3863, "loc": { "start": { "line": 100, "column": 26 }, "end": { "line": 102, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3714, "end": 3721, "loc": { "start": { "line": 100, "column": 27 }, "end": { "line": 100, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3726, "end": 3863, "loc": { "start": { "line": 100, "column": 39 }, "end": { "line": 102, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 3748, "end": 3845, "loc": { "start": { "line": 101, "column": 20 }, "end": { "line": 101, "column": 117 } }, "argument": { "type": "LogicalExpression", "start": 3755, "end": 3844, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 116 } }, "left": { "type": "CallExpression", "start": 3755, "end": 3826, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 3755, "end": 3793, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 65 } }, "object": { "type": "MemberExpression", "start": 3755, "end": 3783, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 55 } }, "object": { "type": "MemberExpression", "start": 3755, "end": 3769, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 41 } }, "object": { "type": "Identifier", "start": 3755, "end": 3762, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 34 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3763, "end": 3769, "loc": { "start": { "line": 101, "column": 35 }, "end": { "line": 101, "column": 41 }, "identifierName": "viewer" }, "name": "viewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3770, "end": 3783, "loc": { "start": { "line": 101, "column": 42 }, "end": { "line": 101, "column": 55 }, "identifierName": "localeService" }, "name": "localeService" }, "computed": false }, "property": { "type": "Identifier", "start": 3784, "end": 3793, "loc": { "start": { "line": 101, "column": 56 }, "end": { "line": 101, "column": 65 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3794, "end": 3825, "loc": { "start": { "line": 101, "column": 66 }, "end": { "line": 101, "column": 97 } }, "extra": { "rawValue": "modelsContextMenu.clearSlices", "raw": "\"modelsContextMenu.clearSlices\"" }, "value": "modelsContextMenu.clearSlices" } ] }, "operator": "||", "right": { "type": "StringLiteral", "start": 3830, "end": 3844, "loc": { "start": { "line": 101, "column": 102 }, "end": { "line": 101, "column": 116 } }, "extra": { "rawValue": "Clear Slices", "raw": "\"Clear Slices\"" }, "value": "Clear Slices" } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 3881, "end": 3994, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 105, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3881, "end": 3891, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 26 }, "identifierName": "getEnabled" }, "name": "getEnabled" }, "value": { "type": "ArrowFunctionExpression", "start": 3893, "end": 3994, "loc": { "start": { "line": 103, "column": 28 }, "end": { "line": 105, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3894, "end": 3901, "loc": { "start": { "line": 103, "column": 29 }, "end": { "line": 103, "column": 36 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 3906, "end": 3994, "loc": { "start": { "line": 103, "column": 41 }, "end": { "line": 105, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 3928, "end": 3976, "loc": { "start": { "line": 104, "column": 20 }, "end": { "line": 104, "column": 68 } }, "argument": { "type": "BinaryExpression", "start": 3936, "end": 3974, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 66 } }, "left": { "type": "CallExpression", "start": 3936, "end": 3970, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 3936, "end": 3968, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 60 } }, "object": { "type": "MemberExpression", "start": 3936, "end": 3953, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 45 } }, "object": { "type": "Identifier", "start": 3936, "end": 3943, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 35 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 3944, "end": 3953, "loc": { "start": { "line": 104, "column": 36 }, "end": { "line": 104, "column": 45 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 3954, "end": 3968, "loc": { "start": { "line": 104, "column": 46 }, "end": { "line": 104, "column": 60 }, "identifierName": "getNumSections" }, "name": "getNumSections" }, "computed": false }, "arguments": [] }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3973, "end": 3974, "loc": { "start": { "line": 104, "column": 65 }, "end": { "line": 104, "column": 66 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "extra": { "parenthesized": true, "parenStart": 3935 } } } ], "directives": [] } } }, { "type": "ObjectProperty", "start": 4012, "end": 4109, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 108, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 4012, "end": 4020, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 24 }, "identifierName": "doAction" }, "name": "doAction" }, "value": { "type": "ArrowFunctionExpression", "start": 4022, "end": 4109, "loc": { "start": { "line": 106, "column": 26 }, "end": { "line": 108, "column": 17 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4023, "end": 4030, "loc": { "start": { "line": 106, "column": 27 }, "end": { "line": 106, "column": 34 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 4035, "end": 4109, "loc": { "start": { "line": 106, "column": 39 }, "end": { "line": 108, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 4057, "end": 4091, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 54 } }, "expression": { "type": "CallExpression", "start": 4057, "end": 4090, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 4057, "end": 4088, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4057, "end": 4074, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 37 } }, "object": { "type": "Identifier", "start": 4057, "end": 4064, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 27 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 4065, "end": 4074, "loc": { "start": { "line": 107, "column": 28 }, "end": { "line": 107, "column": 37 }, "identifierName": "bimViewer" }, "name": "bimViewer" }, "computed": false }, "property": { "type": "Identifier", "start": 4075, "end": 4088, "loc": { "start": { "line": 107, "column": 38 }, "end": { "line": 107, "column": 51 }, "identifierName": "clearSections" }, "name": "clearSections" }, "computed": false }, "arguments": [] } } ], "directives": [] } } } ] } ] } ] } }, { "type": "ExpressionStatement", "start": 4145, "end": 4267, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 116, "column": 11 } }, "expression": { "type": "CallExpression", "start": 4145, "end": 4266, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 116, "column": 10 } }, "callee": { "type": "Super", "start": 4145, "end": 4150, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 13 } } }, "arguments": [ { "type": "ObjectExpression", "start": 4151, "end": 4265, "loc": { "start": { "line": 112, "column": 14 }, "end": { "line": 116, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 4165, "end": 4195, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 42 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 4165, "end": 4177, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 24 }, "identifierName": "hideOnAction" }, "name": "hideOnAction" }, "value": { "type": "MemberExpression", "start": 4179, "end": 4195, "loc": { "start": { "line": 113, "column": 26 }, "end": { "line": 113, "column": 42 } }, "object": { "type": "Identifier", "start": 4179, "end": 4182, "loc": { "start": { "line": 113, "column": 26 }, "end": { "line": 113, "column": 29 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 4183, "end": 4195, "loc": { "start": { "line": 113, "column": 30 }, "end": { "line": 113, "column": 42 }, "identifierName": "hideOnAction" }, "name": "hideOnAction" }, "computed": false } }, { "type": "ObjectProperty", "start": 4209, "end": 4229, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 4209, "end": 4216, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "column": 19 }, "identifierName": "context" }, "name": "context" }, "value": { "type": "MemberExpression", "start": 4218, "end": 4229, "loc": { "start": { "line": 114, "column": 21 }, "end": { "line": 114, "column": 32 } }, "object": { "type": "Identifier", "start": 4218, "end": 4221, "loc": { "start": { "line": 114, "column": 21 }, "end": { "line": 114, "column": 24 }, "identifierName": "cfg" }, "name": "cfg" }, "property": { "type": "Identifier", "start": 4222, "end": 4229, "loc": { "start": { "line": 114, "column": 25 }, "end": { "line": 114, "column": 32 }, "identifierName": "context" }, "name": "context" }, "computed": false } }, { "type": "ObjectProperty", "start": 4243, "end": 4255, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 4243, "end": 4248, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 17 }, "identifierName": "items" }, "name": "items" }, "value": { "type": "Identifier", "start": 4250, "end": 4255, "loc": { "start": { "line": 115, "column": 19 }, "end": { "line": 115, "column": 24 }, "identifierName": "items" }, "name": "items" } } ] } ] } } ], "directives": [] } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n * @param {*} cfg Configs\n * @param {Boolean} [cfg.enableEditModels=false] Set true to show Add/Edit/Delete options in the menu.\n ", "start": 71, "end": 219, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 7, "column": 3 } } } ], "__PseudoExport__": false, "trailingComments": [] }, "specifiers": null, "source": null, "leadingComments": null } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * @private\n * @param {*} cfg Configs\n * @param {Boolean} [cfg.enableEditModels=false] Set true to show Add/Edit/Delete options in the menu.\n ", "start": 71, "end": 219, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 7, "column": 3 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ContextMenu", "start": 8, "end": 19, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19, "end": 20, "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 21, "end": 25, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js", "start": 26, "end": 68, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 68, "end": 69, "loc": { "start": { "line": 1, "column": 68 }, "end": { "line": 1, "column": 69 } } }, { "type": "CommentBlock", "value": "*\n * @private\n * @param {*} cfg Configs\n * @param {Boolean} [cfg.enableEditModels=false] Set true to show Add/Edit/Delete options in the menu.\n ", "start": 71, "end": 219, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 7, "column": 3 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 220, "end": 225, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ModelsContextMenu", "start": 226, "end": 243, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 23 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 244, "end": 251, "loc": { "start": { "line": 8, "column": 24 }, "end": { "line": 8, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ContextMenu", "start": 252, "end": 263, "loc": { "start": { "line": 8, "column": 32 }, "end": { "line": 8, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 264, "end": 265, "loc": { "start": { "line": 8, "column": 44 }, "end": { "line": 8, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 271, "end": 282, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 282, "end": 283, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cfg", "start": 283, "end": 286, "loc": { "start": { "line": 10, "column": 16 }, "end": { "line": 10, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 287, "end": 288, "loc": { "start": { "line": 10, "column": 20 }, "end": { "line": 10, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 289, "end": 290, "loc": { "start": { "line": 10, "column": 22 }, "end": { "line": 10, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 290, "end": 291, "loc": { "start": { "line": 10, "column": 23 }, "end": { "line": 10, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 291, "end": 292, "loc": { "start": { "line": 10, "column": 24 }, "end": { "line": 10, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 293, "end": 294, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 27 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 304, "end": 309, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enableEditModels", "start": 310, "end": 326, "loc": { "start": { "line": 12, "column": 14 }, "end": { "line": 12, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 327, "end": 328, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 329, "end": 330, "loc": { "start": { "line": 12, "column": 33 }, "end": { "line": 12, "column": 34 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 330, "end": 331, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 12, "column": 35 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 331, "end": 332, "loc": { "start": { "line": 12, "column": 35 }, "end": { "line": 12, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cfg", "start": 332, "end": 335, "loc": { "start": { "line": 12, "column": 36 }, "end": { "line": 12, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 335, "end": 336, "loc": { "start": { "line": 12, "column": 39 }, "end": { "line": 12, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enableEditModels", "start": 336, "end": 352, "loc": { "start": { "line": 12, "column": 40 }, "end": { "line": 12, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 352, "end": 353, "loc": { "start": { "line": 12, "column": 56 }, "end": { "line": 12, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 353, "end": 354, "loc": { "start": { "line": 12, "column": 57 }, "end": { "line": 12, "column": 58 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 364, "end": 369, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 370, "end": 375, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 14, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 376, "end": 377, "loc": { "start": { "line": 14, "column": 20 }, "end": { "line": 14, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 378, "end": 379, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 14, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 392, "end": 393, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 410, "end": 411, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTitle", "start": 432, "end": 440, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 17, "column": 28 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 440, "end": 441, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 442, "end": 443, "loc": { "start": { "line": 17, "column": 30 }, "end": { "line": 17, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 443, "end": 450, "loc": { "start": { "line": 17, "column": 31 }, "end": { "line": 17, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 450, "end": 451, "loc": { "start": { "line": 17, "column": 38 }, "end": { "line": 17, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 452, "end": 454, "loc": { "start": { "line": 17, "column": 40 }, "end": { "line": 17, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 455, "end": 456, "loc": { "start": { "line": 17, "column": 43 }, "end": { "line": 17, "column": 44 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 481, "end": 487, "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 18, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 488, "end": 495, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 495, "end": 496, "loc": { "start": { "line": 18, "column": 38 }, "end": { "line": 18, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 496, "end": 502, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 502, "end": 503, "loc": { "start": { "line": 18, "column": 45 }, "end": { "line": 18, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localeService", "start": 503, "end": 516, "loc": { "start": { "line": 18, "column": 46 }, "end": { "line": 18, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 516, "end": 517, "loc": { "start": { "line": 18, "column": 59 }, "end": { "line": 18, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translate", "start": 517, "end": 526, "loc": { "start": { "line": 18, "column": 60 }, "end": { "line": 18, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 526, "end": 527, "loc": { "start": { "line": 18, "column": 69 }, "end": { "line": 18, "column": 70 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "modelsContextMenu.loadModel", "start": 527, "end": 556, "loc": { "start": { "line": 18, "column": 70 }, "end": { "line": 18, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 556, "end": 557, "loc": { "start": { "line": 18, "column": 99 }, "end": { "line": 18, "column": 100 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 558, "end": 560, "loc": { "start": { "line": 18, "column": 101 }, "end": { "line": 18, "column": 103 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Load", "start": 561, "end": 567, "loc": { "start": { "line": 18, "column": 104 }, "end": { "line": 18, "column": 110 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 567, "end": 568, "loc": { "start": { "line": 18, "column": 110 }, "end": { "line": 18, "column": 111 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 589, "end": 590, "loc": { "start": { "line": 19, "column": 20 }, "end": { "line": 19, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 590, "end": 591, "loc": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEnabled", "start": 612, "end": 622, "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 20, "column": 30 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 622, "end": 623, "loc": { "start": { "line": 20, "column": 30 }, "end": { "line": 20, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 624, "end": 625, "loc": { "start": { "line": 20, "column": 32 }, "end": { "line": 20, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 625, "end": 632, "loc": { "start": { "line": 20, "column": 33 }, "end": { "line": 20, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 632, "end": 633, "loc": { "start": { "line": 20, "column": 40 }, "end": { "line": 20, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 634, "end": 636, "loc": { "start": { "line": 20, "column": 42 }, "end": { "line": 20, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 637, "end": 638, "loc": { "start": { "line": 20, "column": 45 }, "end": { "line": 20, "column": 46 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 663, "end": 669, "loc": { "start": { "line": 21, "column": 24 }, "end": { "line": 21, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 670, "end": 671, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 32 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 671, "end": 672, "loc": { "start": { "line": 21, "column": 32 }, "end": { "line": 21, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 672, "end": 679, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 679, "end": 680, "loc": { "start": { "line": 21, "column": 40 }, "end": { "line": 21, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 680, "end": 689, "loc": { "start": { "line": 21, "column": 41 }, "end": { "line": 21, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 689, "end": 690, "loc": { "start": { "line": 21, "column": 50 }, "end": { "line": 21, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isModelLoaded", "start": 690, "end": 703, "loc": { "start": { "line": 21, "column": 51 }, "end": { "line": 21, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 703, "end": 704, "loc": { "start": { "line": 21, "column": 64 }, "end": { "line": 21, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 704, "end": 711, "loc": { "start": { "line": 21, "column": 65 }, "end": { "line": 21, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 711, "end": 712, "loc": { "start": { "line": 21, "column": 72 }, "end": { "line": 21, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modelId", "start": 712, "end": 719, "loc": { "start": { "line": 21, "column": 73 }, "end": { "line": 21, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 719, "end": 720, "loc": { "start": { "line": 21, "column": 80 }, "end": { "line": 21, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 720, "end": 721, "loc": { "start": { "line": 21, "column": 81 }, "end": { "line": 21, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 721, "end": 722, "loc": { "start": { "line": 21, "column": 82 }, "end": { "line": 21, "column": 83 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 743, "end": 744, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 744, "end": 745, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doAction", "start": 766, "end": 774, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 28 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 774, "end": 775, "loc": { "start": { "line": 23, "column": 28 }, "end": { "line": 23, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 776, "end": 777, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 777, "end": 784, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 784, "end": 785, "loc": { "start": { "line": 23, "column": 38 }, "end": { "line": 23, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 786, "end": 788, "loc": { "start": { "line": 23, "column": 40 }, "end": { "line": 23, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 789, "end": 790, "loc": { "start": { "line": 23, "column": 43 }, "end": { "line": 23, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 815, "end": 822, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 822, "end": 823, "loc": { "start": { "line": 24, "column": 31 }, "end": { "line": 24, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 823, "end": 832, "loc": { "start": { "line": 24, "column": 32 }, "end": { "line": 24, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 832, "end": 833, "loc": { "start": { "line": 24, "column": 41 }, "end": { "line": 24, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModel", "start": 833, "end": 842, "loc": { "start": { "line": 24, "column": 42 }, "end": { "line": 24, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 842, "end": 843, "loc": { "start": { "line": 24, "column": 51 }, "end": { "line": 24, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 843, "end": 850, "loc": { "start": { "line": 24, "column": 52 }, "end": { "line": 24, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 850, "end": 851, "loc": { "start": { "line": 24, "column": 59 }, "end": { "line": 24, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modelId", "start": 851, "end": 858, "loc": { "start": { "line": 24, "column": 60 }, "end": { "line": 24, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 858, "end": 859, "loc": { "start": { "line": 24, "column": 67 }, "end": { "line": 24, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 859, "end": 860, "loc": { "start": { "line": 24, "column": 68 }, "end": { "line": 24, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 881, "end": 882, "loc": { "start": { "line": 25, "column": 20 }, "end": { "line": 25, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 899, "end": 900, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 900, "end": 901, "loc": { "start": { "line": 26, "column": 17 }, "end": { "line": 26, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 918, "end": 919, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTitle", "start": 940, "end": 948, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 28, "column": 28 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 948, "end": 949, "loc": { "start": { "line": 28, "column": 28 }, "end": { "line": 28, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 950, "end": 951, "loc": { "start": { "line": 28, "column": 30 }, "end": { "line": 28, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 951, "end": 958, "loc": { "start": { "line": 28, "column": 31 }, "end": { "line": 28, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 958, "end": 959, "loc": { "start": { "line": 28, "column": 38 }, "end": { "line": 28, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 960, "end": 962, "loc": { "start": { "line": 28, "column": 40 }, "end": { "line": 28, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 963, "end": 964, "loc": { "start": { "line": 28, "column": 43 }, "end": { "line": 28, "column": 44 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 989, "end": 995, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 996, "end": 1003, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1003, "end": 1004, "loc": { "start": { "line": 29, "column": 38 }, "end": { "line": 29, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 1004, "end": 1010, "loc": { "start": { "line": 29, "column": 39 }, "end": { "line": 29, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1010, "end": 1011, "loc": { "start": { "line": 29, "column": 45 }, "end": { "line": 29, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localeService", "start": 1011, "end": 1024, "loc": { "start": { "line": 29, "column": 46 }, "end": { "line": 29, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1024, "end": 1025, "loc": { "start": { "line": 29, "column": 59 }, "end": { "line": 29, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translate", "start": 1025, "end": 1034, "loc": { "start": { "line": 29, "column": 60 }, "end": { "line": 29, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1034, "end": 1035, "loc": { "start": { "line": 29, "column": 69 }, "end": { "line": 29, "column": 70 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "modelsContextMenu.unloadModel", "start": 1035, "end": 1066, "loc": { "start": { "line": 29, "column": 70 }, "end": { "line": 29, "column": 101 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1066, "end": 1067, "loc": { "start": { "line": 29, "column": 101 }, "end": { "line": 29, "column": 102 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1068, "end": 1070, "loc": { "start": { "line": 29, "column": 103 }, "end": { "line": 29, "column": 105 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Unload", "start": 1071, "end": 1079, "loc": { "start": { "line": 29, "column": 106 }, "end": { "line": 29, "column": 114 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1079, "end": 1080, "loc": { "start": { "line": 29, "column": 114 }, "end": { "line": 29, "column": 115 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1101, "end": 1102, "loc": { "start": { "line": 30, "column": 20 }, "end": { "line": 30, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1102, "end": 1103, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEnabled", "start": 1124, "end": 1134, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 30 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1134, "end": 1135, "loc": { "start": { "line": 31, "column": 30 }, "end": { "line": 31, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1136, "end": 1137, "loc": { "start": { "line": 31, "column": 32 }, "end": { "line": 31, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1137, "end": 1144, "loc": { "start": { "line": 31, "column": 33 }, "end": { "line": 31, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1144, "end": 1145, "loc": { "start": { "line": 31, "column": 40 }, "end": { "line": 31, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1146, "end": 1148, "loc": { "start": { "line": 31, "column": 42 }, "end": { "line": 31, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1149, "end": 1150, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 31, "column": 46 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1175, "end": 1181, "loc": { "start": { "line": 32, "column": 24 }, "end": { "line": 32, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1182, "end": 1189, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1189, "end": 1190, "loc": { "start": { "line": 32, "column": 38 }, "end": { "line": 32, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 1190, "end": 1199, "loc": { "start": { "line": 32, "column": 39 }, "end": { "line": 32, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1199, "end": 1200, "loc": { "start": { "line": 32, "column": 48 }, "end": { "line": 32, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isModelLoaded", "start": 1200, "end": 1213, "loc": { "start": { "line": 32, "column": 49 }, "end": { "line": 32, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1213, "end": 1214, "loc": { "start": { "line": 32, "column": 62 }, "end": { "line": 32, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1214, "end": 1221, "loc": { "start": { "line": 32, "column": 63 }, "end": { "line": 32, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1221, "end": 1222, "loc": { "start": { "line": 32, "column": 70 }, "end": { "line": 32, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modelId", "start": 1222, "end": 1229, "loc": { "start": { "line": 32, "column": 71 }, "end": { "line": 32, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1229, "end": 1230, "loc": { "start": { "line": 32, "column": 78 }, "end": { "line": 32, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1230, "end": 1231, "loc": { "start": { "line": 32, "column": 79 }, "end": { "line": 32, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1252, "end": 1253, "loc": { "start": { "line": 33, "column": 20 }, "end": { "line": 33, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1253, "end": 1254, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doAction", "start": 1275, "end": 1283, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 28 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1283, "end": 1284, "loc": { "start": { "line": 34, "column": 28 }, "end": { "line": 34, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1285, "end": 1286, "loc": { "start": { "line": 34, "column": 30 }, "end": { "line": 34, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1286, "end": 1293, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1293, "end": 1294, "loc": { "start": { "line": 34, "column": 38 }, "end": { "line": 34, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1295, "end": 1297, "loc": { "start": { "line": 34, "column": 40 }, "end": { "line": 34, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1298, "end": 1299, "loc": { "start": { "line": 34, "column": 43 }, "end": { "line": 34, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1324, "end": 1331, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1331, "end": 1332, "loc": { "start": { "line": 35, "column": 31 }, "end": { "line": 35, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 1332, "end": 1341, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1341, "end": 1342, "loc": { "start": { "line": 35, "column": 41 }, "end": { "line": 35, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unloadModel", "start": 1342, "end": 1353, "loc": { "start": { "line": 35, "column": 42 }, "end": { "line": 35, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1353, "end": 1354, "loc": { "start": { "line": 35, "column": 53 }, "end": { "line": 35, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1354, "end": 1361, "loc": { "start": { "line": 35, "column": 54 }, "end": { "line": 35, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1361, "end": 1362, "loc": { "start": { "line": 35, "column": 61 }, "end": { "line": 35, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modelId", "start": 1362, "end": 1369, "loc": { "start": { "line": 35, "column": 62 }, "end": { "line": 35, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1369, "end": 1370, "loc": { "start": { "line": 35, "column": 69 }, "end": { "line": 35, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1370, "end": 1371, "loc": { "start": { "line": 35, "column": 70 }, "end": { "line": 35, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1392, "end": 1393, "loc": { "start": { "line": 36, "column": 20 }, "end": { "line": 36, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1410, "end": 1411, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 17 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1424, "end": 1425, "loc": { "start": { "line": 38, "column": 12 }, "end": { "line": 38, "column": 13 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1434, "end": 1435, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1435, "end": 1436, "loc": { "start": { "line": 39, "column": 9 }, "end": { "line": 39, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1446, "end": 1448, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1449, "end": 1450, "loc": { "start": { "line": 41, "column": 11 }, "end": { "line": 41, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enableEditModels", "start": 1450, "end": 1466, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1466, "end": 1467, "loc": { "start": { "line": 41, "column": 28 }, "end": { "line": 41, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1468, "end": 1469, "loc": { "start": { "line": 41, "column": 30 }, "end": { "line": 41, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 1483, "end": 1488, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1488, "end": 1489, "loc": { "start": { "line": 43, "column": 17 }, "end": { "line": 43, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 1489, "end": 1493, "loc": { "start": { "line": 43, "column": 18 }, "end": { "line": 43, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1493, "end": 1494, "loc": { "start": { "line": 43, "column": 22 }, "end": { "line": 43, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1494, "end": 1495, "loc": { "start": { "line": 43, "column": 23 }, "end": { "line": 43, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1512, "end": 1513, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTitle", "start": 1534, "end": 1542, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 28 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1542, "end": 1543, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1544, "end": 1545, "loc": { "start": { "line": 45, "column": 30 }, "end": { "line": 45, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1545, "end": 1552, "loc": { "start": { "line": 45, "column": 31 }, "end": { "line": 45, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1552, "end": 1553, "loc": { "start": { "line": 45, "column": 38 }, "end": { "line": 45, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1554, "end": 1556, "loc": { "start": { "line": 45, "column": 40 }, "end": { "line": 45, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1557, "end": 1558, "loc": { "start": { "line": 45, "column": 43 }, "end": { "line": 45, "column": 44 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1583, "end": 1589, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1590, "end": 1597, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1597, "end": 1598, "loc": { "start": { "line": 46, "column": 38 }, "end": { "line": 46, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 1598, "end": 1604, "loc": { "start": { "line": 46, "column": 39 }, "end": { "line": 46, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1604, "end": 1605, "loc": { "start": { "line": 46, "column": 45 }, "end": { "line": 46, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localeService", "start": 1605, "end": 1618, "loc": { "start": { "line": 46, "column": 46 }, "end": { "line": 46, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1618, "end": 1619, "loc": { "start": { "line": 46, "column": 59 }, "end": { "line": 46, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translate", "start": 1619, "end": 1628, "loc": { "start": { "line": 46, "column": 60 }, "end": { "line": 46, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1628, "end": 1629, "loc": { "start": { "line": 46, "column": 69 }, "end": { "line": 46, "column": 70 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "modelsContextMenu.editModel", "start": 1629, "end": 1658, "loc": { "start": { "line": 46, "column": 70 }, "end": { "line": 46, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1658, "end": 1659, "loc": { "start": { "line": 46, "column": 99 }, "end": { "line": 46, "column": 100 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1660, "end": 1662, "loc": { "start": { "line": 46, "column": 101 }, "end": { "line": 46, "column": 103 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Edit", "start": 1663, "end": 1669, "loc": { "start": { "line": 46, "column": 104 }, "end": { "line": 46, "column": 110 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1669, "end": 1670, "loc": { "start": { "line": 46, "column": 110 }, "end": { "line": 46, "column": 111 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1691, "end": 1692, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1692, "end": 1693, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEnabled", "start": 1714, "end": 1724, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 48, "column": 30 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1724, "end": 1725, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1726, "end": 1727, "loc": { "start": { "line": 48, "column": 32 }, "end": { "line": 48, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1727, "end": 1734, "loc": { "start": { "line": 48, "column": 33 }, "end": { "line": 48, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1734, "end": 1735, "loc": { "start": { "line": 48, "column": 40 }, "end": { "line": 48, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1736, "end": 1738, "loc": { "start": { "line": 48, "column": 42 }, "end": { "line": 48, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1739, "end": 1740, "loc": { "start": { "line": 48, "column": 45 }, "end": { "line": 48, "column": 46 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1765, "end": 1771, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 30 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 1772, "end": 1776, "loc": { "start": { "line": 49, "column": 31 }, "end": { "line": 49, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1776, "end": 1777, "loc": { "start": { "line": 49, "column": 35 }, "end": { "line": 49, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1798, "end": 1799, "loc": { "start": { "line": 50, "column": 20 }, "end": { "line": 50, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1799, "end": 1800, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doAction", "start": 1821, "end": 1829, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 28 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1829, "end": 1830, "loc": { "start": { "line": 51, "column": 28 }, "end": { "line": 51, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1831, "end": 1832, "loc": { "start": { "line": 51, "column": 30 }, "end": { "line": 51, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1832, "end": 1839, "loc": { "start": { "line": 51, "column": 31 }, "end": { "line": 51, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1839, "end": 1840, "loc": { "start": { "line": 51, "column": 38 }, "end": { "line": 51, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1841, "end": 1843, "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1844, "end": 1845, "loc": { "start": { "line": 51, "column": 43 }, "end": { "line": 51, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1870, "end": 1877, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1877, "end": 1878, "loc": { "start": { "line": 52, "column": 31 }, "end": { "line": 52, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 1878, "end": 1887, "loc": { "start": { "line": 52, "column": 32 }, "end": { "line": 52, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1887, "end": 1888, "loc": { "start": { "line": 52, "column": 41 }, "end": { "line": 52, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "editModel", "start": 1888, "end": 1897, "loc": { "start": { "line": 52, "column": 42 }, "end": { "line": 52, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1897, "end": 1898, "loc": { "start": { "line": 52, "column": 51 }, "end": { "line": 52, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1898, "end": 1905, "loc": { "start": { "line": 52, "column": 52 }, "end": { "line": 52, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1905, "end": 1906, "loc": { "start": { "line": 52, "column": 59 }, "end": { "line": 52, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modelId", "start": 1906, "end": 1913, "loc": { "start": { "line": 52, "column": 60 }, "end": { "line": 52, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1913, "end": 1914, "loc": { "start": { "line": 52, "column": 67 }, "end": { "line": 52, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1914, "end": 1915, "loc": { "start": { "line": 52, "column": 68 }, "end": { "line": 52, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1936, "end": 1937, "loc": { "start": { "line": 53, "column": 20 }, "end": { "line": 53, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1954, "end": 1955, "loc": { "start": { "line": 54, "column": 16 }, "end": { "line": 54, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1955, "end": 1956, "loc": { "start": { "line": 54, "column": 17 }, "end": { "line": 54, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1973, "end": 1974, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTitle", "start": 1995, "end": 2003, "loc": { "start": { "line": 56, "column": 20 }, "end": { "line": 56, "column": 28 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2003, "end": 2004, "loc": { "start": { "line": 56, "column": 28 }, "end": { "line": 56, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2005, "end": 2006, "loc": { "start": { "line": 56, "column": 30 }, "end": { "line": 56, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2006, "end": 2013, "loc": { "start": { "line": 56, "column": 31 }, "end": { "line": 56, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2013, "end": 2014, "loc": { "start": { "line": 56, "column": 38 }, "end": { "line": 56, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2015, "end": 2017, "loc": { "start": { "line": 56, "column": 40 }, "end": { "line": 56, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2018, "end": 2019, "loc": { "start": { "line": 56, "column": 43 }, "end": { "line": 56, "column": 44 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2044, "end": 2050, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2051, "end": 2058, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2058, "end": 2059, "loc": { "start": { "line": 57, "column": 38 }, "end": { "line": 57, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 2059, "end": 2065, "loc": { "start": { "line": 57, "column": 39 }, "end": { "line": 57, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2065, "end": 2066, "loc": { "start": { "line": 57, "column": 45 }, "end": { "line": 57, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localeService", "start": 2066, "end": 2079, "loc": { "start": { "line": 57, "column": 46 }, "end": { "line": 57, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2079, "end": 2080, "loc": { "start": { "line": 57, "column": 59 }, "end": { "line": 57, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translate", "start": 2080, "end": 2089, "loc": { "start": { "line": 57, "column": 60 }, "end": { "line": 57, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2089, "end": 2090, "loc": { "start": { "line": 57, "column": 69 }, "end": { "line": 57, "column": 70 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "modelsContextMenu.deleteModel", "start": 2090, "end": 2121, "loc": { "start": { "line": 57, "column": 70 }, "end": { "line": 57, "column": 101 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2121, "end": 2122, "loc": { "start": { "line": 57, "column": 101 }, "end": { "line": 57, "column": 102 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 2123, "end": 2125, "loc": { "start": { "line": 57, "column": 103 }, "end": { "line": 57, "column": 105 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Delete", "start": 2126, "end": 2134, "loc": { "start": { "line": 57, "column": 106 }, "end": { "line": 57, "column": 114 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2134, "end": 2135, "loc": { "start": { "line": 57, "column": 114 }, "end": { "line": 57, "column": 115 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2156, "end": 2157, "loc": { "start": { "line": 58, "column": 20 }, "end": { "line": 58, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2157, "end": 2158, "loc": { "start": { "line": 58, "column": 21 }, "end": { "line": 58, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEnabled", "start": 2179, "end": 2189, "loc": { "start": { "line": 59, "column": 20 }, "end": { "line": 59, "column": 30 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2189, "end": 2190, "loc": { "start": { "line": 59, "column": 30 }, "end": { "line": 59, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2191, "end": 2192, "loc": { "start": { "line": 59, "column": 32 }, "end": { "line": 59, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2192, "end": 2199, "loc": { "start": { "line": 59, "column": 33 }, "end": { "line": 59, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2199, "end": 2200, "loc": { "start": { "line": 59, "column": 40 }, "end": { "line": 59, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2201, "end": 2203, "loc": { "start": { "line": 59, "column": 42 }, "end": { "line": 59, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2204, "end": 2205, "loc": { "start": { "line": 59, "column": 45 }, "end": { "line": 59, "column": 46 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2230, "end": 2236, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 30 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 2237, "end": 2241, "loc": { "start": { "line": 60, "column": 31 }, "end": { "line": 60, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2241, "end": 2242, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2263, "end": 2264, "loc": { "start": { "line": 61, "column": 20 }, "end": { "line": 61, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2264, "end": 2265, "loc": { "start": { "line": 61, "column": 21 }, "end": { "line": 61, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doAction", "start": 2286, "end": 2294, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 28 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2294, "end": 2295, "loc": { "start": { "line": 62, "column": 28 }, "end": { "line": 62, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2296, "end": 2297, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2297, "end": 2304, "loc": { "start": { "line": 62, "column": 31 }, "end": { "line": 62, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2304, "end": 2305, "loc": { "start": { "line": 62, "column": 38 }, "end": { "line": 62, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2306, "end": 2308, "loc": { "start": { "line": 62, "column": 40 }, "end": { "line": 62, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2309, "end": 2310, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2335, "end": 2342, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2342, "end": 2343, "loc": { "start": { "line": 63, "column": 31 }, "end": { "line": 63, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 2343, "end": 2352, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2352, "end": 2353, "loc": { "start": { "line": 63, "column": 41 }, "end": { "line": 63, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deleteModel", "start": 2353, "end": 2364, "loc": { "start": { "line": 63, "column": 42 }, "end": { "line": 63, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2364, "end": 2365, "loc": { "start": { "line": 63, "column": 53 }, "end": { "line": 63, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2365, "end": 2372, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2372, "end": 2373, "loc": { "start": { "line": 63, "column": 61 }, "end": { "line": 63, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modelId", "start": 2373, "end": 2380, "loc": { "start": { "line": 63, "column": 62 }, "end": { "line": 63, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2380, "end": 2381, "loc": { "start": { "line": 63, "column": 69 }, "end": { "line": 63, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2381, "end": 2382, "loc": { "start": { "line": 63, "column": 70 }, "end": { "line": 63, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2403, "end": 2404, "loc": { "start": { "line": 64, "column": 20 }, "end": { "line": 64, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2421, "end": 2422, "loc": { "start": { "line": 65, "column": 16 }, "end": { "line": 65, "column": 17 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2435, "end": 2436, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2436, "end": 2437, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2437, "end": 2438, "loc": { "start": { "line": 66, "column": 14 }, "end": { "line": 66, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2447, "end": 2448, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 2458, "end": 2463, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2463, "end": 2464, "loc": { "start": { "line": 69, "column": 13 }, "end": { "line": 69, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 2464, "end": 2468, "loc": { "start": { "line": 69, "column": 14 }, "end": { "line": 69, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2468, "end": 2469, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2469, "end": 2470, "loc": { "start": { "line": 69, "column": 19 }, "end": { "line": 69, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2483, "end": 2484, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 70, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTitle", "start": 2501, "end": 2509, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 71, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2509, "end": 2510, "loc": { "start": { "line": 71, "column": 24 }, "end": { "line": 71, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2511, "end": 2512, "loc": { "start": { "line": 71, "column": 26 }, "end": { "line": 71, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2512, "end": 2519, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2519, "end": 2520, "loc": { "start": { "line": 71, "column": 34 }, "end": { "line": 71, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2521, "end": 2523, "loc": { "start": { "line": 71, "column": 36 }, "end": { "line": 71, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2524, "end": 2525, "loc": { "start": { "line": 71, "column": 39 }, "end": { "line": 71, "column": 40 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2546, "end": 2552, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2553, "end": 2560, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2560, "end": 2561, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 2561, "end": 2567, "loc": { "start": { "line": 72, "column": 35 }, "end": { "line": 72, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2567, "end": 2568, "loc": { "start": { "line": 72, "column": 41 }, "end": { "line": 72, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localeService", "start": 2568, "end": 2581, "loc": { "start": { "line": 72, "column": 42 }, "end": { "line": 72, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2581, "end": 2582, "loc": { "start": { "line": 72, "column": 55 }, "end": { "line": 72, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translate", "start": 2582, "end": 2591, "loc": { "start": { "line": 72, "column": 56 }, "end": { "line": 72, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2591, "end": 2592, "loc": { "start": { "line": 72, "column": 65 }, "end": { "line": 72, "column": 66 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "modelsContextMenu.loadAllModels", "start": 2592, "end": 2625, "loc": { "start": { "line": 72, "column": 66 }, "end": { "line": 72, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2625, "end": 2626, "loc": { "start": { "line": 72, "column": 99 }, "end": { "line": 72, "column": 100 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 2627, "end": 2629, "loc": { "start": { "line": 72, "column": 101 }, "end": { "line": 72, "column": 103 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Load All", "start": 2630, "end": 2640, "loc": { "start": { "line": 72, "column": 104 }, "end": { "line": 72, "column": 114 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2640, "end": 2641, "loc": { "start": { "line": 72, "column": 114 }, "end": { "line": 72, "column": 115 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2658, "end": 2659, "loc": { "start": { "line": 73, "column": 16 }, "end": { "line": 73, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2659, "end": 2660, "loc": { "start": { "line": 73, "column": 17 }, "end": { "line": 73, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEnabled", "start": 2677, "end": 2687, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2687, "end": 2688, "loc": { "start": { "line": 74, "column": 26 }, "end": { "line": 74, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2689, "end": 2690, "loc": { "start": { "line": 74, "column": 28 }, "end": { "line": 74, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2690, "end": 2697, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2697, "end": 2698, "loc": { "start": { "line": 74, "column": 36 }, "end": { "line": 74, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2699, "end": 2701, "loc": { "start": { "line": 74, "column": 38 }, "end": { "line": 74, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2702, "end": 2703, "loc": { "start": { "line": 74, "column": 41 }, "end": { "line": 74, "column": 42 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2724, "end": 2729, "loc": { "start": { "line": 75, "column": 20 }, "end": { "line": 75, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 2730, "end": 2739, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2740, "end": 2741, "loc": { "start": { "line": 75, "column": 36 }, "end": { "line": 75, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2742, "end": 2749, "loc": { "start": { "line": 75, "column": 38 }, "end": { "line": 75, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2749, "end": 2750, "loc": { "start": { "line": 75, "column": 45 }, "end": { "line": 75, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 2750, "end": 2759, "loc": { "start": { "line": 75, "column": 46 }, "end": { "line": 75, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2759, "end": 2760, "loc": { "start": { "line": 75, "column": 55 }, "end": { "line": 75, "column": 56 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2781, "end": 2786, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modelIds", "start": 2787, "end": 2795, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2796, "end": 2797, "loc": { "start": { "line": 76, "column": 35 }, "end": { "line": 76, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 2798, "end": 2807, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2807, "end": 2808, "loc": { "start": { "line": 76, "column": 46 }, "end": { "line": 76, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModelIds", "start": 2808, "end": 2819, "loc": { "start": { "line": 76, "column": 47 }, "end": { "line": 76, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2819, "end": 2820, "loc": { "start": { "line": 76, "column": 58 }, "end": { "line": 76, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2820, "end": 2821, "loc": { "start": { "line": 76, "column": 59 }, "end": { "line": 76, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2821, "end": 2822, "loc": { "start": { "line": 76, "column": 60 }, "end": { "line": 76, "column": 61 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2843, "end": 2848, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadedModelIds", "start": 2849, "end": 2863, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2864, "end": 2865, "loc": { "start": { "line": 77, "column": 41 }, "end": { "line": 77, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 2866, "end": 2875, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2875, "end": 2876, "loc": { "start": { "line": 77, "column": 52 }, "end": { "line": 77, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getLoadedModelIds", "start": 2876, "end": 2893, "loc": { "start": { "line": 77, "column": 53 }, "end": { "line": 77, "column": 70 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2893, "end": 2894, "loc": { "start": { "line": 77, "column": 70 }, "end": { "line": 77, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2894, "end": 2895, "loc": { "start": { "line": 77, "column": 71 }, "end": { "line": 77, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2895, "end": 2896, "loc": { "start": { "line": 77, "column": 72 }, "end": { "line": 77, "column": 73 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2917, "end": 2923, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2924, "end": 2925, "loc": { "start": { "line": 78, "column": 27 }, "end": { "line": 78, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadedModelIds", "start": 2925, "end": 2939, "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 78, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2939, "end": 2940, "loc": { "start": { "line": 78, "column": 42 }, "end": { "line": 78, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2940, "end": 2946, "loc": { "start": { "line": 78, "column": 43 }, "end": { "line": 78, "column": 49 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2947, "end": 2948, "loc": { "start": { "line": 78, "column": 50 }, "end": { "line": 78, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modelIds", "start": 2949, "end": 2957, "loc": { "start": { "line": 78, "column": 52 }, "end": { "line": 78, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2957, "end": 2958, "loc": { "start": { "line": 78, "column": 60 }, "end": { "line": 78, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2958, "end": 2964, "loc": { "start": { "line": 78, "column": 61 }, "end": { "line": 78, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2964, "end": 2965, "loc": { "start": { "line": 78, "column": 67 }, "end": { "line": 78, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2965, "end": 2966, "loc": { "start": { "line": 78, "column": 68 }, "end": { "line": 78, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2983, "end": 2984, "loc": { "start": { "line": 79, "column": 16 }, "end": { "line": 79, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2984, "end": 2985, "loc": { "start": { "line": 79, "column": 17 }, "end": { "line": 79, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doAction", "start": 3002, "end": 3010, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3010, "end": 3011, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3012, "end": 3013, "loc": { "start": { "line": 80, "column": 26 }, "end": { "line": 80, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3013, "end": 3020, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3020, "end": 3021, "loc": { "start": { "line": 80, "column": 34 }, "end": { "line": 80, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3022, "end": 3024, "loc": { "start": { "line": 80, "column": 36 }, "end": { "line": 80, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3025, "end": 3026, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 80, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3047, "end": 3054, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3054, "end": 3055, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 3055, "end": 3064, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3064, "end": 3065, "loc": { "start": { "line": 81, "column": 37 }, "end": { "line": 81, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadAllModels", "start": 3065, "end": 3078, "loc": { "start": { "line": 81, "column": 38 }, "end": { "line": 81, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3078, "end": 3079, "loc": { "start": { "line": 81, "column": 51 }, "end": { "line": 81, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3079, "end": 3080, "loc": { "start": { "line": 81, "column": 52 }, "end": { "line": 81, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3080, "end": 3081, "loc": { "start": { "line": 81, "column": 53 }, "end": { "line": 81, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3098, "end": 3099, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3112, "end": 3113, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3113, "end": 3114, "loc": { "start": { "line": 83, "column": 13 }, "end": { "line": 83, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3127, "end": 3128, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 84, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTitle", "start": 3145, "end": 3153, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3153, "end": 3154, "loc": { "start": { "line": 85, "column": 24 }, "end": { "line": 85, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3155, "end": 3156, "loc": { "start": { "line": 85, "column": 26 }, "end": { "line": 85, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3156, "end": 3163, "loc": { "start": { "line": 85, "column": 27 }, "end": { "line": 85, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3163, "end": 3164, "loc": { "start": { "line": 85, "column": 34 }, "end": { "line": 85, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3165, "end": 3167, "loc": { "start": { "line": 85, "column": 36 }, "end": { "line": 85, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3168, "end": 3169, "loc": { "start": { "line": 85, "column": 39 }, "end": { "line": 85, "column": 40 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3190, "end": 3196, "loc": { "start": { "line": 86, "column": 20 }, "end": { "line": 86, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3197, "end": 3204, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3204, "end": 3205, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 3205, "end": 3211, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3211, "end": 3212, "loc": { "start": { "line": 86, "column": 41 }, "end": { "line": 86, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localeService", "start": 3212, "end": 3225, "loc": { "start": { "line": 86, "column": 42 }, "end": { "line": 86, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3225, "end": 3226, "loc": { "start": { "line": 86, "column": 55 }, "end": { "line": 86, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translate", "start": 3226, "end": 3235, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3235, "end": 3236, "loc": { "start": { "line": 86, "column": 65 }, "end": { "line": 86, "column": 66 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "modelsContextMenu.unloadAllModels", "start": 3236, "end": 3271, "loc": { "start": { "line": 86, "column": 66 }, "end": { "line": 86, "column": 101 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3271, "end": 3272, "loc": { "start": { "line": 86, "column": 101 }, "end": { "line": 86, "column": 102 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3273, "end": 3275, "loc": { "start": { "line": 86, "column": 103 }, "end": { "line": 86, "column": 105 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Unload All", "start": 3276, "end": 3288, "loc": { "start": { "line": 86, "column": 106 }, "end": { "line": 86, "column": 118 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3288, "end": 3289, "loc": { "start": { "line": 86, "column": 118 }, "end": { "line": 86, "column": 119 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3306, "end": 3307, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3307, "end": 3308, "loc": { "start": { "line": 87, "column": 17 }, "end": { "line": 87, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEnabled", "start": 3325, "end": 3335, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3335, "end": 3336, "loc": { "start": { "line": 88, "column": 26 }, "end": { "line": 88, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3337, "end": 3338, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3338, "end": 3345, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3345, "end": 3346, "loc": { "start": { "line": 88, "column": 36 }, "end": { "line": 88, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3347, "end": 3349, "loc": { "start": { "line": 88, "column": 38 }, "end": { "line": 88, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3350, "end": 3351, "loc": { "start": { "line": 88, "column": 41 }, "end": { "line": 88, "column": 42 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3372, "end": 3377, "loc": { "start": { "line": 89, "column": 20 }, "end": { "line": 89, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadedModelIds", "start": 3378, "end": 3392, "loc": { "start": { "line": 89, "column": 26 }, "end": { "line": 89, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3393, "end": 3394, "loc": { "start": { "line": 89, "column": 41 }, "end": { "line": 89, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3395, "end": 3402, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3402, "end": 3403, "loc": { "start": { "line": 89, "column": 50 }, "end": { "line": 89, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 3403, "end": 3412, "loc": { "start": { "line": 89, "column": 51 }, "end": { "line": 89, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3412, "end": 3413, "loc": { "start": { "line": 89, "column": 60 }, "end": { "line": 89, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getLoadedModelIds", "start": 3413, "end": 3430, "loc": { "start": { "line": 89, "column": 61 }, "end": { "line": 89, "column": 78 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3430, "end": 3431, "loc": { "start": { "line": 89, "column": 78 }, "end": { "line": 89, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3431, "end": 3432, "loc": { "start": { "line": 89, "column": 79 }, "end": { "line": 89, "column": 80 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3432, "end": 3433, "loc": { "start": { "line": 89, "column": 80 }, "end": { "line": 89, "column": 81 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3454, "end": 3460, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3461, "end": 3462, "loc": { "start": { "line": 90, "column": 27 }, "end": { "line": 90, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadedModelIds", "start": 3462, "end": 3476, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3476, "end": 3477, "loc": { "start": { "line": 90, "column": 42 }, "end": { "line": 90, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3477, "end": 3483, "loc": { "start": { "line": 90, "column": 43 }, "end": { "line": 90, "column": 49 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 3484, "end": 3485, "loc": { "start": { "line": 90, "column": 50 }, "end": { "line": 90, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3486, "end": 3487, "loc": { "start": { "line": 90, "column": 52 }, "end": { "line": 90, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3487, "end": 3488, "loc": { "start": { "line": 90, "column": 53 }, "end": { "line": 90, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3488, "end": 3489, "loc": { "start": { "line": 90, "column": 54 }, "end": { "line": 90, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3506, "end": 3507, "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3507, "end": 3508, "loc": { "start": { "line": 91, "column": 17 }, "end": { "line": 91, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doAction", "start": 3525, "end": 3533, "loc": { "start": { "line": 92, "column": 16 }, "end": { "line": 92, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3533, "end": 3534, "loc": { "start": { "line": 92, "column": 24 }, "end": { "line": 92, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3535, "end": 3536, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 92, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3536, "end": 3543, "loc": { "start": { "line": 92, "column": 27 }, "end": { "line": 92, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3543, "end": 3544, "loc": { "start": { "line": 92, "column": 34 }, "end": { "line": 92, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3545, "end": 3547, "loc": { "start": { "line": 92, "column": 36 }, "end": { "line": 92, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3548, "end": 3549, "loc": { "start": { "line": 92, "column": 39 }, "end": { "line": 92, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3570, "end": 3577, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3577, "end": 3578, "loc": { "start": { "line": 93, "column": 27 }, "end": { "line": 93, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 3578, "end": 3587, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3587, "end": 3588, "loc": { "start": { "line": 93, "column": 37 }, "end": { "line": 93, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unloadAllModels", "start": 3588, "end": 3603, "loc": { "start": { "line": 93, "column": 38 }, "end": { "line": 93, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3603, "end": 3604, "loc": { "start": { "line": 93, "column": 53 }, "end": { "line": 93, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3604, "end": 3605, "loc": { "start": { "line": 93, "column": 54 }, "end": { "line": 93, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3605, "end": 3606, "loc": { "start": { "line": 93, "column": 55 }, "end": { "line": 93, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3623, "end": 3624, "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 94, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3637, "end": 3638, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 13 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3647, "end": 3648, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3648, "end": 3649, "loc": { "start": { "line": 96, "column": 9 }, "end": { "line": 96, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3649, "end": 3650, "loc": { "start": { "line": 96, "column": 10 }, "end": { "line": 96, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 3660, "end": 3665, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3665, "end": 3666, "loc": { "start": { "line": 98, "column": 13 }, "end": { "line": 98, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 3666, "end": 3670, "loc": { "start": { "line": 98, "column": 14 }, "end": { "line": 98, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3670, "end": 3671, "loc": { "start": { "line": 98, "column": 18 }, "end": { "line": 98, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3671, "end": 3672, "loc": { "start": { "line": 98, "column": 19 }, "end": { "line": 98, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3685, "end": 3686, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTitle", "start": 3703, "end": 3711, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3711, "end": 3712, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3713, "end": 3714, "loc": { "start": { "line": 100, "column": 26 }, "end": { "line": 100, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3714, "end": 3721, "loc": { "start": { "line": 100, "column": 27 }, "end": { "line": 100, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3721, "end": 3722, "loc": { "start": { "line": 100, "column": 34 }, "end": { "line": 100, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3723, "end": 3725, "loc": { "start": { "line": 100, "column": 36 }, "end": { "line": 100, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3726, "end": 3727, "loc": { "start": { "line": 100, "column": 39 }, "end": { "line": 100, "column": 40 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3748, "end": 3754, "loc": { "start": { "line": 101, "column": 20 }, "end": { "line": 101, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3755, "end": 3762, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3762, "end": 3763, "loc": { "start": { "line": 101, "column": 34 }, "end": { "line": 101, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewer", "start": 3763, "end": 3769, "loc": { "start": { "line": 101, "column": 35 }, "end": { "line": 101, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3769, "end": 3770, "loc": { "start": { "line": 101, "column": 41 }, "end": { "line": 101, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localeService", "start": 3770, "end": 3783, "loc": { "start": { "line": 101, "column": 42 }, "end": { "line": 101, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3783, "end": 3784, "loc": { "start": { "line": 101, "column": 55 }, "end": { "line": 101, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translate", "start": 3784, "end": 3793, "loc": { "start": { "line": 101, "column": 56 }, "end": { "line": 101, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3793, "end": 3794, "loc": { "start": { "line": 101, "column": 65 }, "end": { "line": 101, "column": 66 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "modelsContextMenu.clearSlices", "start": 3794, "end": 3825, "loc": { "start": { "line": 101, "column": 66 }, "end": { "line": 101, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3825, "end": 3826, "loc": { "start": { "line": 101, "column": 97 }, "end": { "line": 101, "column": 98 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3827, "end": 3829, "loc": { "start": { "line": 101, "column": 99 }, "end": { "line": 101, "column": 101 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Clear Slices", "start": 3830, "end": 3844, "loc": { "start": { "line": 101, "column": 102 }, "end": { "line": 101, "column": 116 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3844, "end": 3845, "loc": { "start": { "line": 101, "column": 116 }, "end": { "line": 101, "column": 117 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3862, "end": 3863, "loc": { "start": { "line": 102, "column": 16 }, "end": { "line": 102, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3863, "end": 3864, "loc": { "start": { "line": 102, "column": 17 }, "end": { "line": 102, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEnabled", "start": 3881, "end": 3891, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3891, "end": 3892, "loc": { "start": { "line": 103, "column": 26 }, "end": { "line": 103, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3893, "end": 3894, "loc": { "start": { "line": 103, "column": 28 }, "end": { "line": 103, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3894, "end": 3901, "loc": { "start": { "line": 103, "column": 29 }, "end": { "line": 103, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3901, "end": 3902, "loc": { "start": { "line": 103, "column": 36 }, "end": { "line": 103, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3903, "end": 3905, "loc": { "start": { "line": 103, "column": 38 }, "end": { "line": 103, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3906, "end": 3907, "loc": { "start": { "line": 103, "column": 41 }, "end": { "line": 103, "column": 42 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3928, "end": 3934, "loc": { "start": { "line": 104, "column": 20 }, "end": { "line": 104, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3935, "end": 3936, "loc": { "start": { "line": 104, "column": 27 }, "end": { "line": 104, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3936, "end": 3943, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3943, "end": 3944, "loc": { "start": { "line": 104, "column": 35 }, "end": { "line": 104, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 3944, "end": 3953, "loc": { "start": { "line": 104, "column": 36 }, "end": { "line": 104, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3953, "end": 3954, "loc": { "start": { "line": 104, "column": 45 }, "end": { "line": 104, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getNumSections", "start": 3954, "end": 3968, "loc": { "start": { "line": 104, "column": 46 }, "end": { "line": 104, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3968, "end": 3969, "loc": { "start": { "line": 104, "column": 60 }, "end": { "line": 104, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3969, "end": 3970, "loc": { "start": { "line": 104, "column": 61 }, "end": { "line": 104, "column": 62 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 3971, "end": 3972, "loc": { "start": { "line": 104, "column": 63 }, "end": { "line": 104, "column": 64 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3973, "end": 3974, "loc": { "start": { "line": 104, "column": 65 }, "end": { "line": 104, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3974, "end": 3975, "loc": { "start": { "line": 104, "column": 66 }, "end": { "line": 104, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3975, "end": 3976, "loc": { "start": { "line": 104, "column": 67 }, "end": { "line": 104, "column": 68 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3993, "end": 3994, "loc": { "start": { "line": 105, "column": 16 }, "end": { "line": 105, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3994, "end": 3995, "loc": { "start": { "line": 105, "column": 17 }, "end": { "line": 105, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doAction", "start": 4012, "end": 4020, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4020, "end": 4021, "loc": { "start": { "line": 106, "column": 24 }, "end": { "line": 106, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4022, "end": 4023, "loc": { "start": { "line": 106, "column": 26 }, "end": { "line": 106, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4023, "end": 4030, "loc": { "start": { "line": 106, "column": 27 }, "end": { "line": 106, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4030, "end": 4031, "loc": { "start": { "line": 106, "column": 34 }, "end": { "line": 106, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4032, "end": 4034, "loc": { "start": { "line": 106, "column": 36 }, "end": { "line": 106, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4035, "end": 4036, "loc": { "start": { "line": 106, "column": 39 }, "end": { "line": 106, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4057, "end": 4064, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4064, "end": 4065, "loc": { "start": { "line": 107, "column": 27 }, "end": { "line": 107, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bimViewer", "start": 4065, "end": 4074, "loc": { "start": { "line": 107, "column": 28 }, "end": { "line": 107, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4074, "end": 4075, "loc": { "start": { "line": 107, "column": 37 }, "end": { "line": 107, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearSections", "start": 4075, "end": 4088, "loc": { "start": { "line": 107, "column": 38 }, "end": { "line": 107, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4088, "end": 4089, "loc": { "start": { "line": 107, "column": 51 }, "end": { "line": 107, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4089, "end": 4090, "loc": { "start": { "line": 107, "column": 52 }, "end": { "line": 107, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4090, "end": 4091, "loc": { "start": { "line": 107, "column": 53 }, "end": { "line": 107, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4108, "end": 4109, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4122, "end": 4123, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 13 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4132, "end": 4133, "loc": { "start": { "line": 110, "column": 8 }, "end": { "line": 110, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4133, "end": 4134, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4134, "end": 4135, "loc": { "start": { "line": 110, "column": 10 }, "end": { "line": 110, "column": 11 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 4145, "end": 4150, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4150, "end": 4151, "loc": { "start": { "line": 112, "column": 13 }, "end": { "line": 112, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4151, "end": 4152, "loc": { "start": { "line": 112, "column": 14 }, "end": { "line": 112, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hideOnAction", "start": 4165, "end": 4177, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4177, "end": 4178, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cfg", "start": 4179, "end": 4182, "loc": { "start": { "line": 113, "column": 26 }, "end": { "line": 113, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4182, "end": 4183, "loc": { "start": { "line": 113, "column": 29 }, "end": { "line": 113, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hideOnAction", "start": 4183, "end": 4195, "loc": { "start": { "line": 113, "column": 30 }, "end": { "line": 113, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4195, "end": 4196, "loc": { "start": { "line": 113, "column": 42 }, "end": { "line": 113, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4209, "end": 4216, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4216, "end": 4217, "loc": { "start": { "line": 114, "column": 19 }, "end": { "line": 114, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cfg", "start": 4218, "end": 4221, "loc": { "start": { "line": 114, "column": 21 }, "end": { "line": 114, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4221, "end": 4222, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4222, "end": 4229, "loc": { "start": { "line": 114, "column": 25 }, "end": { "line": 114, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4229, "end": 4230, "loc": { "start": { "line": 114, "column": 32 }, "end": { "line": 114, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 4243, "end": 4248, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4248, "end": 4249, "loc": { "start": { "line": 115, "column": 17 }, "end": { "line": 115, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 4250, "end": 4255, "loc": { "start": { "line": 115, "column": 19 }, "end": { "line": 115, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4264, "end": 4265, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4265, "end": 4266, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4266, "end": 4267, "loc": { "start": { "line": 116, "column": 10 }, "end": { "line": 116, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4272, "end": 4273, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 117, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4274, "end": 4275, "loc": { "start": { "line": 118, "column": 0 }, "end": { "line": 118, "column": 1 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 4277, "end": 4283, "loc": { "start": { "line": 120, "column": 0 }, "end": { "line": 120, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4284, "end": 4285, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ModelsContextMenu", "start": 4285, "end": 4302, "loc": { "start": { "line": 120, "column": 8 }, "end": { "line": 120, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4302, "end": 4303, "loc": { "start": { "line": 120, "column": 25 }, "end": { "line": 120, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4303, "end": 4304, "loc": { "start": { "line": 120, "column": 26 }, "end": { "line": 120, "column": 27 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4304, "end": 4304, "loc": { "start": { "line": 120, "column": 27 }, "end": { "line": 120, "column": 27 } } } ] }