21860 lines
643 KiB
JSON
21860 lines
643 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 6043,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 16
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 6043,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 16
|
|
}
|
|
},
|
|
"sourceType": "module",
|
|
"body": [
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"start": 0,
|
|
"end": 63,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 63
|
|
}
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"start": 8,
|
|
"end": 13,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 13
|
|
}
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"start": 8,
|
|
"end": 13,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start": 8,
|
|
"end": 13,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start": 20,
|
|
"end": 62,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 62
|
|
}
|
|
},
|
|
"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 * Default server client which loads content for a {@link BIMViewer} via HTTP from the file system.\n *\n * A BIMViewer is instantiated with an instance of this class.\n *\n * To load content from an alternative source, instantiate BIMViewer with your own custom implementation of this class.\n ",
|
|
"start": 65,
|
|
"end": 361,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 3
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 362,
|
|
"end": 6025,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 143,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 368,
|
|
"end": 374,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 12
|
|
},
|
|
"identifierName": "Server"
|
|
},
|
|
"name": "Server",
|
|
"leadingComments": null
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 375,
|
|
"end": 6025,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 143,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 544,
|
|
"end": 616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 544,
|
|
"end": 555,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 15
|
|
},
|
|
"identifierName": "constructor"
|
|
},
|
|
"name": "constructor",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "constructor",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"start": 556,
|
|
"end": 564,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 24
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 556,
|
|
"end": 559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 19
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
},
|
|
"right": {
|
|
"type": "ObjectExpression",
|
|
"start": 562,
|
|
"end": 564,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 24
|
|
}
|
|
},
|
|
"properties": []
|
|
}
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 566,
|
|
"end": 616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 576,
|
|
"end": 610,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 576,
|
|
"end": 609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 41
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 576,
|
|
"end": 589,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 21
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 576,
|
|
"end": 580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 581,
|
|
"end": 589,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 21
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "LogicalExpression",
|
|
"start": 592,
|
|
"end": 609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 41
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 592,
|
|
"end": 603,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 592,
|
|
"end": 595,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 27
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 596,
|
|
"end": 603,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 35
|
|
},
|
|
"identifierName": "dataDir"
|
|
},
|
|
"name": "dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 607,
|
|
"end": 609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 41
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "",
|
|
"raw": "\"\""
|
|
},
|
|
"value": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Constructs a Server.\n *\n * @param {*} [cfg] Server configuration.\n * @param {String} [cfg.dataDir] Base directory for content.\n ",
|
|
"start": 382,
|
|
"end": 539,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information on all available projects.\n *\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 622,
|
|
"end": 866,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 871,
|
|
"end": 1005,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 871,
|
|
"end": 882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 15
|
|
},
|
|
"identifierName": "getProjects"
|
|
},
|
|
"name": "getProjects",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 883,
|
|
"end": 887,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 20
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 889,
|
|
"end": 894,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 27
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 896,
|
|
"end": 1005,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 906,
|
|
"end": 957,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 59
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 912,
|
|
"end": 956,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 58
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 912,
|
|
"end": 915,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 918,
|
|
"end": 956,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 58
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 918,
|
|
"end": 931,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 918,
|
|
"end": 922,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 923,
|
|
"end": 931,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 934,
|
|
"end": 956,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 58
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/index.json",
|
|
"raw": "\"/projects/index.json\""
|
|
},
|
|
"value": "/projects/index.json"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 966,
|
|
"end": 999,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 966,
|
|
"end": 998,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 966,
|
|
"end": 980,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 966,
|
|
"end": 971,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 972,
|
|
"end": 980,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 981,
|
|
"end": 984,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 986,
|
|
"end": 990,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 992,
|
|
"end": 997,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information on all available projects.\n *\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 622,
|
|
"end": 866,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information for a project.\n *\n * @param {String} projectId ID of the project.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1011,
|
|
"end": 1295,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 1300,
|
|
"end": 1462,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1300,
|
|
"end": 1310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 14
|
|
},
|
|
"identifierName": "getProject"
|
|
},
|
|
"name": "getProject",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1311,
|
|
"end": 1320,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 24
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1322,
|
|
"end": 1326,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 30
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1328,
|
|
"end": 1333,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 37
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1335,
|
|
"end": 1462,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1345,
|
|
"end": 1414,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 77
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1351,
|
|
"end": 1413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 76
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1351,
|
|
"end": 1354,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 1357,
|
|
"end": 1413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 76
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1357,
|
|
"end": 1397,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1357,
|
|
"end": 1385,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1357,
|
|
"end": 1370,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1357,
|
|
"end": 1361,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1362,
|
|
"end": 1370,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1373,
|
|
"end": 1385,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 1388,
|
|
"end": 1397,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1400,
|
|
"end": 1413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 76
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/index.json",
|
|
"raw": "\"/index.json\""
|
|
},
|
|
"value": "/index.json"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1423,
|
|
"end": 1456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1423,
|
|
"end": 1455,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1423,
|
|
"end": 1437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1423,
|
|
"end": 1428,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1429,
|
|
"end": 1437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1438,
|
|
"end": 1441,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1443,
|
|
"end": 1447,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1449,
|
|
"end": 1454,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information for a project.\n *\n * @param {String} projectId ID of the project.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1011,
|
|
"end": 1295,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1468,
|
|
"end": 1812,
|
|
"loc": {
|
|
"start": {
|
|
"line": 45,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 1817,
|
|
"end": 2015,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1817,
|
|
"end": 1828,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 15
|
|
},
|
|
"identifierName": "getMetadata"
|
|
},
|
|
"name": "getMetadata",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1829,
|
|
"end": 1838,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 25
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1840,
|
|
"end": 1847,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 34
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1849,
|
|
"end": 1853,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 40
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1855,
|
|
"end": 1860,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 47
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1862,
|
|
"end": 2015,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1872,
|
|
"end": 1967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 103
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1878,
|
|
"end": 1966,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 102
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1878,
|
|
"end": 1881,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 1884,
|
|
"end": 1966,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 102
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1884,
|
|
"end": 1947,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1884,
|
|
"end": 1937,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1884,
|
|
"end": 1924,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1884,
|
|
"end": 1912,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1884,
|
|
"end": 1897,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1884,
|
|
"end": 1888,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1889,
|
|
"end": 1897,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1900,
|
|
"end": 1912,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 1915,
|
|
"end": 1924,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1927,
|
|
"end": 1937,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 1940,
|
|
"end": 1947,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1950,
|
|
"end": 1966,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 102
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/metadata.json",
|
|
"raw": "\"/metadata.json\""
|
|
},
|
|
"value": "/metadata.json"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1976,
|
|
"end": 2009,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1976,
|
|
"end": 2008,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1976,
|
|
"end": 1990,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1976,
|
|
"end": 1981,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1982,
|
|
"end": 1990,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1991,
|
|
"end": 1994,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1996,
|
|
"end": 2000,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2002,
|
|
"end": 2007,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1468,
|
|
"end": 1812,
|
|
"loc": {
|
|
"start": {
|
|
"line": 45,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets geometry for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2021,
|
|
"end": 2365,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 2370,
|
|
"end": 2574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 2370,
|
|
"end": 2381,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 15
|
|
},
|
|
"identifierName": "getGeometry"
|
|
},
|
|
"name": "getGeometry",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2382,
|
|
"end": 2391,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 25
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2393,
|
|
"end": 2400,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 34
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2402,
|
|
"end": 2406,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 40
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2408,
|
|
"end": 2413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 47
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 2415,
|
|
"end": 2574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 2425,
|
|
"end": 2519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 102
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 2431,
|
|
"end": 2518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 101
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 2431,
|
|
"end": 2434,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 2437,
|
|
"end": 2518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 101
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2437,
|
|
"end": 2500,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2437,
|
|
"end": 2490,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2437,
|
|
"end": 2477,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2437,
|
|
"end": 2465,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 2437,
|
|
"end": 2450,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 2437,
|
|
"end": 2441,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2442,
|
|
"end": 2450,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 2453,
|
|
"end": 2465,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 2468,
|
|
"end": 2477,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 2480,
|
|
"end": 2490,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 2493,
|
|
"end": 2500,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 2503,
|
|
"end": 2518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 101
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/geometry.xkt",
|
|
"raw": "\"/geometry.xkt\""
|
|
},
|
|
"value": "/geometry.xkt"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 2528,
|
|
"end": 2568,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 48
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 2528,
|
|
"end": 2567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 47
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2528,
|
|
"end": 2549,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2528,
|
|
"end": 2533,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2534,
|
|
"end": 2549,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 29
|
|
},
|
|
"identifierName": "loadArraybuffer"
|
|
},
|
|
"name": "loadArraybuffer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2550,
|
|
"end": 2553,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 33
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2555,
|
|
"end": 2559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 39
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2561,
|
|
"end": 2566,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 46
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets geometry for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2021,
|
|
"end": 2365,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for an object within a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} objectId ID of the object.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2580,
|
|
"end": 2991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 2996,
|
|
"end": 3220,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 2996,
|
|
"end": 3009,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 17
|
|
},
|
|
"identifierName": "getObjectInfo"
|
|
},
|
|
"name": "getObjectInfo",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3010,
|
|
"end": 3019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 27
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3021,
|
|
"end": 3028,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 36
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3030,
|
|
"end": 3038,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 46
|
|
},
|
|
"identifierName": "objectId"
|
|
},
|
|
"name": "objectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3040,
|
|
"end": 3044,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 52
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3046,
|
|
"end": 3051,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 59
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 3053,
|
|
"end": 3220,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 3063,
|
|
"end": 3172,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 117
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 3069,
|
|
"end": 3171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 116
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 3069,
|
|
"end": 3072,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 116
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3161,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 106
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3150,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 95
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3138,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3128,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3115,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3103,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 3075,
|
|
"end": 3088,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 3075,
|
|
"end": 3079,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 3080,
|
|
"end": 3088,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3091,
|
|
"end": 3103,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 3106,
|
|
"end": 3115,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3118,
|
|
"end": 3128,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 3131,
|
|
"end": 3138,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3141,
|
|
"end": 3150,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 95
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/props/",
|
|
"raw": "\"/props/\""
|
|
},
|
|
"value": "/props/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 3153,
|
|
"end": 3161,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 98
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 106
|
|
},
|
|
"identifierName": "objectId"
|
|
},
|
|
"name": "objectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3164,
|
|
"end": 3171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 109
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 116
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".json",
|
|
"raw": "\".json\""
|
|
},
|
|
"value": ".json"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 3181,
|
|
"end": 3214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 3181,
|
|
"end": 3213,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 3181,
|
|
"end": 3195,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 3181,
|
|
"end": 3186,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 3187,
|
|
"end": 3195,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3196,
|
|
"end": 3199,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3201,
|
|
"end": 3205,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3207,
|
|
"end": 3212,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for an object within a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} objectId ID of the object.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2580,
|
|
"end": 2991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets existing issues for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3226,
|
|
"end": 3577,
|
|
"loc": {
|
|
"start": {
|
|
"line": 85,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 92,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 3582,
|
|
"end": 3776,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 96,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 3582,
|
|
"end": 3591,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 13
|
|
},
|
|
"identifierName": "getIssues"
|
|
},
|
|
"name": "getIssues",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3592,
|
|
"end": 3601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 23
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3603,
|
|
"end": 3610,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 32
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3612,
|
|
"end": 3616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 38
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3618,
|
|
"end": 3623,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 45
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 3625,
|
|
"end": 3776,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 96,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 3635,
|
|
"end": 3728,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 101
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 3641,
|
|
"end": 3727,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 100
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 3641,
|
|
"end": 3644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 3647,
|
|
"end": 3727,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 100
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3647,
|
|
"end": 3710,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3647,
|
|
"end": 3700,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3647,
|
|
"end": 3687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3647,
|
|
"end": 3675,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 3647,
|
|
"end": 3660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 3647,
|
|
"end": 3651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 3652,
|
|
"end": 3660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3663,
|
|
"end": 3675,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 3678,
|
|
"end": 3687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3690,
|
|
"end": 3700,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 3703,
|
|
"end": 3710,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3713,
|
|
"end": 3727,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 100
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/issues.json",
|
|
"raw": "\"/issues.json\""
|
|
},
|
|
"value": "/issues.json"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 3737,
|
|
"end": 3770,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 3737,
|
|
"end": 3769,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 3737,
|
|
"end": 3751,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 3737,
|
|
"end": 3742,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 3743,
|
|
"end": 3751,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3752,
|
|
"end": 3755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3757,
|
|
"end": 3761,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3763,
|
|
"end": 3768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets existing issues for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3226,
|
|
"end": 3577,
|
|
"loc": {
|
|
"start": {
|
|
"line": 85,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 92,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets a JSON manifest file for a model that's split into multiple XKT files (and maybe also JSON metadata files).\n *\n * The manifest can have an arbitrary name, and will list all the XKT (and maybe separate JSON metada files)\n * that comprise the model.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} manifestName Filename of the manifest.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3783,
|
|
"end": 4410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 99,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 110,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 4415,
|
|
"end": 4639,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 114,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 4415,
|
|
"end": 4436,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 25
|
|
},
|
|
"identifierName": "getSplitModelManifest"
|
|
},
|
|
"name": "getSplitModelManifest",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4437,
|
|
"end": 4446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 35
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4448,
|
|
"end": 4455,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 44
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4457,
|
|
"end": 4469,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 58
|
|
},
|
|
"identifierName": "manifestName"
|
|
},
|
|
"name": "manifestName"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4471,
|
|
"end": 4475,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 64
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4477,
|
|
"end": 4482,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 71
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 4484,
|
|
"end": 4639,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 73
|
|
},
|
|
"end": {
|
|
"line": 114,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 4494,
|
|
"end": 4591,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 105
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 4500,
|
|
"end": 4590,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 104
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 4500,
|
|
"end": 4503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4590,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 104
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4575,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 89
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4569,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4546,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 4506,
|
|
"end": 4519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 4506,
|
|
"end": 4510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 4511,
|
|
"end": 4519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 4522,
|
|
"end": 4534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 4537,
|
|
"end": 4546,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 4549,
|
|
"end": 4559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 4562,
|
|
"end": 4569,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 4572,
|
|
"end": 4575,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 89
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/",
|
|
"raw": "\"/\""
|
|
},
|
|
"value": "/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 4578,
|
|
"end": 4590,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 92
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 104
|
|
},
|
|
"identifierName": "manifestName"
|
|
},
|
|
"name": "manifestName"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 4600,
|
|
"end": 4633,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 4600,
|
|
"end": 4632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 4600,
|
|
"end": 4614,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 4600,
|
|
"end": 4605,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 4606,
|
|
"end": 4614,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4615,
|
|
"end": 4618,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4620,
|
|
"end": 4624,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4626,
|
|
"end": 4631,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets a JSON manifest file for a model that's split into multiple XKT files (and maybe also JSON metadata files).\n *\n * The manifest can have an arbitrary name, and will list all the XKT (and maybe separate JSON metada files)\n * that comprise the model.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} manifestName Filename of the manifest.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3783,
|
|
"end": 4410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 99,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 110,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the metadata files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} metadataFileName Filename of the metadata file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 4645,
|
|
"end": 5086,
|
|
"loc": {
|
|
"start": {
|
|
"line": 116,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 124,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 5091,
|
|
"end": 5323,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 128,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 5091,
|
|
"end": 5112,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 25
|
|
},
|
|
"identifierName": "getSplitModelMetadata"
|
|
},
|
|
"name": "getSplitModelMetadata",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5113,
|
|
"end": 5122,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 35
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5124,
|
|
"end": 5131,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 44
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5133,
|
|
"end": 5149,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 62
|
|
},
|
|
"identifierName": "metadataFileName"
|
|
},
|
|
"name": "metadataFileName"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5151,
|
|
"end": 5155,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 68
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5157,
|
|
"end": 5162,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 75
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 5164,
|
|
"end": 5323,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 77
|
|
},
|
|
"end": {
|
|
"line": 128,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 5174,
|
|
"end": 5275,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 109
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 5180,
|
|
"end": 5274,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 108
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 5180,
|
|
"end": 5183,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5274,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 108
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5255,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 89
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5249,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5226,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 5186,
|
|
"end": 5199,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 5186,
|
|
"end": 5190,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 5191,
|
|
"end": 5199,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5202,
|
|
"end": 5214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5217,
|
|
"end": 5226,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5229,
|
|
"end": 5239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5242,
|
|
"end": 5249,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5252,
|
|
"end": 5255,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 89
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/",
|
|
"raw": "\"/\""
|
|
},
|
|
"value": "/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5258,
|
|
"end": 5274,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 92
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 108
|
|
},
|
|
"identifierName": "metadataFileName"
|
|
},
|
|
"name": "metadataFileName"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 5284,
|
|
"end": 5317,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 5284,
|
|
"end": 5316,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 5284,
|
|
"end": 5298,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 5284,
|
|
"end": 5289,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 5290,
|
|
"end": 5298,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5299,
|
|
"end": 5302,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5304,
|
|
"end": 5308,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5310,
|
|
"end": 5315,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the metadata files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} metadataFileName Filename of the metadata file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 4645,
|
|
"end": 5086,
|
|
"loc": {
|
|
"start": {
|
|
"line": 116,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 124,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the XKT geometry files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} geometryFileName Filename of the XKT geometry file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 5329,
|
|
"end": 5779,
|
|
"loc": {
|
|
"start": {
|
|
"line": 130,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 138,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 5784,
|
|
"end": 6023,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 142,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 5784,
|
|
"end": 5805,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 25
|
|
},
|
|
"identifierName": "getSplitModelGeometry"
|
|
},
|
|
"name": "getSplitModelGeometry",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5806,
|
|
"end": 5815,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 35
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5817,
|
|
"end": 5824,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 44
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5826,
|
|
"end": 5842,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 62
|
|
},
|
|
"identifierName": "geometryFileName"
|
|
},
|
|
"name": "geometryFileName"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5844,
|
|
"end": 5848,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 68
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5850,
|
|
"end": 5855,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 75
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 5857,
|
|
"end": 6023,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 77
|
|
},
|
|
"end": {
|
|
"line": 142,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 5867,
|
|
"end": 5968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 109
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 5873,
|
|
"end": 5967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 108
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 5873,
|
|
"end": 5876,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 108
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5948,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 89
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5942,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5932,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5919,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 5879,
|
|
"end": 5892,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 5879,
|
|
"end": 5883,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 5884,
|
|
"end": 5892,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5895,
|
|
"end": 5907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5910,
|
|
"end": 5919,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5922,
|
|
"end": 5932,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5935,
|
|
"end": 5942,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5945,
|
|
"end": 5948,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 89
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/",
|
|
"raw": "\"/\""
|
|
},
|
|
"value": "/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5951,
|
|
"end": 5967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 92
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 108
|
|
},
|
|
"identifierName": "geometryFileName"
|
|
},
|
|
"name": "geometryFileName"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 5977,
|
|
"end": 6017,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 48
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 5977,
|
|
"end": 6016,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 47
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 5977,
|
|
"end": 5998,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 5977,
|
|
"end": 5982,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 5983,
|
|
"end": 5998,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 29
|
|
},
|
|
"identifierName": "loadArraybuffer"
|
|
},
|
|
"name": "loadArraybuffer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5999,
|
|
"end": 6002,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 33
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 6004,
|
|
"end": 6008,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 39
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 6010,
|
|
"end": 6015,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 46
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the XKT geometry files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} geometryFileName Filename of the XKT geometry file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 5329,
|
|
"end": 5779,
|
|
"loc": {
|
|
"start": {
|
|
"line": 130,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 138,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": [],
|
|
"name": "_",
|
|
"trailingComments": []
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"start": 6027,
|
|
"end": 6043,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 16
|
|
}
|
|
},
|
|
"declaration": null,
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"start": 6035,
|
|
"end": 6041,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 14
|
|
}
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start": 6035,
|
|
"end": 6041,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 14
|
|
},
|
|
"identifierName": "Server"
|
|
},
|
|
"name": "Server"
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"start": 6035,
|
|
"end": 6041,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 14
|
|
},
|
|
"identifierName": "Server"
|
|
},
|
|
"name": "Server"
|
|
}
|
|
}
|
|
],
|
|
"source": null
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"start": 6027,
|
|
"end": 6043,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 16
|
|
}
|
|
},
|
|
"declaration": {
|
|
"type": "ClassDeclaration",
|
|
"start": 362,
|
|
"end": 6025,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 143,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 368,
|
|
"end": 374,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 12
|
|
},
|
|
"identifierName": "Server"
|
|
},
|
|
"name": "Server",
|
|
"leadingComments": null
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 375,
|
|
"end": 6025,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 143,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 544,
|
|
"end": 616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 544,
|
|
"end": 555,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 15
|
|
},
|
|
"identifierName": "constructor"
|
|
},
|
|
"name": "constructor",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "constructor",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"start": 556,
|
|
"end": 564,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 24
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 556,
|
|
"end": 559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 19
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
},
|
|
"right": {
|
|
"type": "ObjectExpression",
|
|
"start": 562,
|
|
"end": 564,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 24
|
|
}
|
|
},
|
|
"properties": []
|
|
}
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 566,
|
|
"end": 616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 576,
|
|
"end": 610,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 576,
|
|
"end": 609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 41
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 576,
|
|
"end": 589,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 21
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 576,
|
|
"end": 580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 581,
|
|
"end": 589,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 21
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "LogicalExpression",
|
|
"start": 592,
|
|
"end": 609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 41
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 592,
|
|
"end": 603,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 592,
|
|
"end": 595,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 27
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 596,
|
|
"end": 603,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 35
|
|
},
|
|
"identifierName": "dataDir"
|
|
},
|
|
"name": "dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 607,
|
|
"end": 609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 41
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "",
|
|
"raw": "\"\""
|
|
},
|
|
"value": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Constructs a Server.\n *\n * @param {*} [cfg] Server configuration.\n * @param {String} [cfg.dataDir] Base directory for content.\n ",
|
|
"start": 382,
|
|
"end": 539,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information on all available projects.\n *\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 622,
|
|
"end": 866,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 871,
|
|
"end": 1005,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 871,
|
|
"end": 882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 15
|
|
},
|
|
"identifierName": "getProjects"
|
|
},
|
|
"name": "getProjects",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 883,
|
|
"end": 887,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 20
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 889,
|
|
"end": 894,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 27
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 896,
|
|
"end": 1005,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 906,
|
|
"end": 957,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 59
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 912,
|
|
"end": 956,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 58
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 912,
|
|
"end": 915,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 918,
|
|
"end": 956,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 58
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 918,
|
|
"end": 931,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 918,
|
|
"end": 922,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 923,
|
|
"end": 931,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 934,
|
|
"end": 956,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 58
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/index.json",
|
|
"raw": "\"/projects/index.json\""
|
|
},
|
|
"value": "/projects/index.json"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 966,
|
|
"end": 999,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 966,
|
|
"end": 998,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 966,
|
|
"end": 980,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 966,
|
|
"end": 971,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 972,
|
|
"end": 980,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 981,
|
|
"end": 984,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 986,
|
|
"end": 990,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 992,
|
|
"end": 997,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information on all available projects.\n *\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 622,
|
|
"end": 866,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information for a project.\n *\n * @param {String} projectId ID of the project.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1011,
|
|
"end": 1295,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 1300,
|
|
"end": 1462,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1300,
|
|
"end": 1310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 14
|
|
},
|
|
"identifierName": "getProject"
|
|
},
|
|
"name": "getProject",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1311,
|
|
"end": 1320,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 24
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1322,
|
|
"end": 1326,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 30
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1328,
|
|
"end": 1333,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 37
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1335,
|
|
"end": 1462,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1345,
|
|
"end": 1414,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 77
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1351,
|
|
"end": 1413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 76
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1351,
|
|
"end": 1354,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 1357,
|
|
"end": 1413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 76
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1357,
|
|
"end": 1397,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1357,
|
|
"end": 1385,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1357,
|
|
"end": 1370,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1357,
|
|
"end": 1361,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1362,
|
|
"end": 1370,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1373,
|
|
"end": 1385,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 1388,
|
|
"end": 1397,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1400,
|
|
"end": 1413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 76
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/index.json",
|
|
"raw": "\"/index.json\""
|
|
},
|
|
"value": "/index.json"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1423,
|
|
"end": 1456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1423,
|
|
"end": 1455,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1423,
|
|
"end": 1437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1423,
|
|
"end": 1428,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1429,
|
|
"end": 1437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1438,
|
|
"end": 1441,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1443,
|
|
"end": 1447,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1449,
|
|
"end": 1454,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information for a project.\n *\n * @param {String} projectId ID of the project.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1011,
|
|
"end": 1295,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1468,
|
|
"end": 1812,
|
|
"loc": {
|
|
"start": {
|
|
"line": 45,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 1817,
|
|
"end": 2015,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 1817,
|
|
"end": 1828,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 15
|
|
},
|
|
"identifierName": "getMetadata"
|
|
},
|
|
"name": "getMetadata",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1829,
|
|
"end": 1838,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 25
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1840,
|
|
"end": 1847,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 34
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1849,
|
|
"end": 1853,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 40
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1855,
|
|
"end": 1860,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 47
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1862,
|
|
"end": 2015,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1872,
|
|
"end": 1967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 103
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1878,
|
|
"end": 1966,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 102
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1878,
|
|
"end": 1881,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 1884,
|
|
"end": 1966,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 102
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1884,
|
|
"end": 1947,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1884,
|
|
"end": 1937,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1884,
|
|
"end": 1924,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 1884,
|
|
"end": 1912,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1884,
|
|
"end": 1897,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1884,
|
|
"end": 1888,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1889,
|
|
"end": 1897,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1900,
|
|
"end": 1912,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 1915,
|
|
"end": 1924,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1927,
|
|
"end": 1937,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 1940,
|
|
"end": 1947,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 1950,
|
|
"end": 1966,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 102
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/metadata.json",
|
|
"raw": "\"/metadata.json\""
|
|
},
|
|
"value": "/metadata.json"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1976,
|
|
"end": 2009,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1976,
|
|
"end": 2008,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1976,
|
|
"end": 1990,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1976,
|
|
"end": 1981,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1982,
|
|
"end": 1990,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1991,
|
|
"end": 1994,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1996,
|
|
"end": 2000,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2002,
|
|
"end": 2007,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1468,
|
|
"end": 1812,
|
|
"loc": {
|
|
"start": {
|
|
"line": 45,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets geometry for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2021,
|
|
"end": 2365,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 2370,
|
|
"end": 2574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 2370,
|
|
"end": 2381,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 15
|
|
},
|
|
"identifierName": "getGeometry"
|
|
},
|
|
"name": "getGeometry",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2382,
|
|
"end": 2391,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 25
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2393,
|
|
"end": 2400,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 34
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2402,
|
|
"end": 2406,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 40
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2408,
|
|
"end": 2413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 47
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 2415,
|
|
"end": 2574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 2425,
|
|
"end": 2519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 102
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 2431,
|
|
"end": 2518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 101
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 2431,
|
|
"end": 2434,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 2437,
|
|
"end": 2518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 101
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2437,
|
|
"end": 2500,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2437,
|
|
"end": 2490,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2437,
|
|
"end": 2477,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 2437,
|
|
"end": 2465,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 2437,
|
|
"end": 2450,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 2437,
|
|
"end": 2441,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2442,
|
|
"end": 2450,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 2453,
|
|
"end": 2465,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 2468,
|
|
"end": 2477,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 2480,
|
|
"end": 2490,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 2493,
|
|
"end": 2500,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 2503,
|
|
"end": 2518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 101
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/geometry.xkt",
|
|
"raw": "\"/geometry.xkt\""
|
|
},
|
|
"value": "/geometry.xkt"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 2528,
|
|
"end": 2568,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 48
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 2528,
|
|
"end": 2567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 47
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 2528,
|
|
"end": 2549,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 2528,
|
|
"end": 2533,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 2534,
|
|
"end": 2549,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 29
|
|
},
|
|
"identifierName": "loadArraybuffer"
|
|
},
|
|
"name": "loadArraybuffer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2550,
|
|
"end": 2553,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 33
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2555,
|
|
"end": 2559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 39
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 2561,
|
|
"end": 2566,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 46
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets geometry for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2021,
|
|
"end": 2365,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for an object within a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} objectId ID of the object.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2580,
|
|
"end": 2991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 2996,
|
|
"end": 3220,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 2996,
|
|
"end": 3009,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 17
|
|
},
|
|
"identifierName": "getObjectInfo"
|
|
},
|
|
"name": "getObjectInfo",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3010,
|
|
"end": 3019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 27
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3021,
|
|
"end": 3028,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 36
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3030,
|
|
"end": 3038,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 46
|
|
},
|
|
"identifierName": "objectId"
|
|
},
|
|
"name": "objectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3040,
|
|
"end": 3044,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 52
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3046,
|
|
"end": 3051,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 59
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 3053,
|
|
"end": 3220,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 3063,
|
|
"end": 3172,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 117
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 3069,
|
|
"end": 3171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 116
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 3069,
|
|
"end": 3072,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 116
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3161,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 106
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3150,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 95
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3138,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3128,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3115,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3075,
|
|
"end": 3103,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 3075,
|
|
"end": 3088,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 3075,
|
|
"end": 3079,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 3080,
|
|
"end": 3088,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3091,
|
|
"end": 3103,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 3106,
|
|
"end": 3115,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3118,
|
|
"end": 3128,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 3131,
|
|
"end": 3138,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3141,
|
|
"end": 3150,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 95
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/props/",
|
|
"raw": "\"/props/\""
|
|
},
|
|
"value": "/props/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 3153,
|
|
"end": 3161,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 98
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 106
|
|
},
|
|
"identifierName": "objectId"
|
|
},
|
|
"name": "objectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3164,
|
|
"end": 3171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 109
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 116
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": ".json",
|
|
"raw": "\".json\""
|
|
},
|
|
"value": ".json"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 3181,
|
|
"end": 3214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 3181,
|
|
"end": 3213,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 3181,
|
|
"end": 3195,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 3181,
|
|
"end": 3186,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 3187,
|
|
"end": 3195,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3196,
|
|
"end": 3199,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3201,
|
|
"end": 3205,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3207,
|
|
"end": 3212,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for an object within a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} objectId ID of the object.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2580,
|
|
"end": 2991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets existing issues for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3226,
|
|
"end": 3577,
|
|
"loc": {
|
|
"start": {
|
|
"line": 85,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 92,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 3582,
|
|
"end": 3776,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 96,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 3582,
|
|
"end": 3591,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 13
|
|
},
|
|
"identifierName": "getIssues"
|
|
},
|
|
"name": "getIssues",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3592,
|
|
"end": 3601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 23
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3603,
|
|
"end": 3610,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 32
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3612,
|
|
"end": 3616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 38
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3618,
|
|
"end": 3623,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 45
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 3625,
|
|
"end": 3776,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 96,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 3635,
|
|
"end": 3728,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 101
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 3641,
|
|
"end": 3727,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 100
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 3641,
|
|
"end": 3644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 3647,
|
|
"end": 3727,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 100
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3647,
|
|
"end": 3710,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3647,
|
|
"end": 3700,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3647,
|
|
"end": 3687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 3647,
|
|
"end": 3675,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 3647,
|
|
"end": 3660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 3647,
|
|
"end": 3651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 3652,
|
|
"end": 3660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3663,
|
|
"end": 3675,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 3678,
|
|
"end": 3687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3690,
|
|
"end": 3700,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 3703,
|
|
"end": 3710,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 3713,
|
|
"end": 3727,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 100
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/issues.json",
|
|
"raw": "\"/issues.json\""
|
|
},
|
|
"value": "/issues.json"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 3737,
|
|
"end": 3770,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 3737,
|
|
"end": 3769,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 3737,
|
|
"end": 3751,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 3737,
|
|
"end": 3742,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 3743,
|
|
"end": 3751,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3752,
|
|
"end": 3755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3757,
|
|
"end": 3761,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 3763,
|
|
"end": 3768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets existing issues for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3226,
|
|
"end": 3577,
|
|
"loc": {
|
|
"start": {
|
|
"line": 85,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 92,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets a JSON manifest file for a model that's split into multiple XKT files (and maybe also JSON metadata files).\n *\n * The manifest can have an arbitrary name, and will list all the XKT (and maybe separate JSON metada files)\n * that comprise the model.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} manifestName Filename of the manifest.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3783,
|
|
"end": 4410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 99,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 110,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 4415,
|
|
"end": 4639,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 114,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 4415,
|
|
"end": 4436,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 25
|
|
},
|
|
"identifierName": "getSplitModelManifest"
|
|
},
|
|
"name": "getSplitModelManifest",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4437,
|
|
"end": 4446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 35
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4448,
|
|
"end": 4455,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 44
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4457,
|
|
"end": 4469,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 58
|
|
},
|
|
"identifierName": "manifestName"
|
|
},
|
|
"name": "manifestName"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4471,
|
|
"end": 4475,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 64
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4477,
|
|
"end": 4482,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 71
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 4484,
|
|
"end": 4639,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 73
|
|
},
|
|
"end": {
|
|
"line": 114,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 4494,
|
|
"end": 4591,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 105
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 4500,
|
|
"end": 4590,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 104
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 4500,
|
|
"end": 4503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4590,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 104
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4575,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 89
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4569,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4546,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 4506,
|
|
"end": 4534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 4506,
|
|
"end": 4519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 4506,
|
|
"end": 4510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 4511,
|
|
"end": 4519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 4522,
|
|
"end": 4534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 4537,
|
|
"end": 4546,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 4549,
|
|
"end": 4559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 4562,
|
|
"end": 4569,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 4572,
|
|
"end": 4575,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 89
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/",
|
|
"raw": "\"/\""
|
|
},
|
|
"value": "/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 4578,
|
|
"end": 4590,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 92
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 104
|
|
},
|
|
"identifierName": "manifestName"
|
|
},
|
|
"name": "manifestName"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 4600,
|
|
"end": 4633,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 4600,
|
|
"end": 4632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 4600,
|
|
"end": 4614,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 4600,
|
|
"end": 4605,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 4606,
|
|
"end": 4614,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4615,
|
|
"end": 4618,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4620,
|
|
"end": 4624,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 4626,
|
|
"end": 4631,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets a JSON manifest file for a model that's split into multiple XKT files (and maybe also JSON metadata files).\n *\n * The manifest can have an arbitrary name, and will list all the XKT (and maybe separate JSON metada files)\n * that comprise the model.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} manifestName Filename of the manifest.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3783,
|
|
"end": 4410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 99,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 110,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the metadata files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} metadataFileName Filename of the metadata file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 4645,
|
|
"end": 5086,
|
|
"loc": {
|
|
"start": {
|
|
"line": 116,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 124,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 5091,
|
|
"end": 5323,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 128,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 5091,
|
|
"end": 5112,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 25
|
|
},
|
|
"identifierName": "getSplitModelMetadata"
|
|
},
|
|
"name": "getSplitModelMetadata",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5113,
|
|
"end": 5122,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 35
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5124,
|
|
"end": 5131,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 44
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5133,
|
|
"end": 5149,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 62
|
|
},
|
|
"identifierName": "metadataFileName"
|
|
},
|
|
"name": "metadataFileName"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5151,
|
|
"end": 5155,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 68
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5157,
|
|
"end": 5162,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 75
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 5164,
|
|
"end": 5323,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 77
|
|
},
|
|
"end": {
|
|
"line": 128,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 5174,
|
|
"end": 5275,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 109
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 5180,
|
|
"end": 5274,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 108
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 5180,
|
|
"end": 5183,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5274,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 108
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5255,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 89
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5249,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5226,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5186,
|
|
"end": 5214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 5186,
|
|
"end": 5199,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 5186,
|
|
"end": 5190,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 5191,
|
|
"end": 5199,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5202,
|
|
"end": 5214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5217,
|
|
"end": 5226,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5229,
|
|
"end": 5239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5242,
|
|
"end": 5249,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5252,
|
|
"end": 5255,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 89
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/",
|
|
"raw": "\"/\""
|
|
},
|
|
"value": "/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5258,
|
|
"end": 5274,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 92
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 108
|
|
},
|
|
"identifierName": "metadataFileName"
|
|
},
|
|
"name": "metadataFileName"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 5284,
|
|
"end": 5317,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 41
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 5284,
|
|
"end": 5316,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 40
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 5284,
|
|
"end": 5298,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 5284,
|
|
"end": 5289,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 5290,
|
|
"end": 5298,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 22
|
|
},
|
|
"identifierName": "loadJSON"
|
|
},
|
|
"name": "loadJSON"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5299,
|
|
"end": 5302,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 26
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5304,
|
|
"end": 5308,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 32
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5310,
|
|
"end": 5315,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 39
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"trailingComments": null
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the metadata files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} metadataFileName Filename of the metadata file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 4645,
|
|
"end": 5086,
|
|
"loc": {
|
|
"start": {
|
|
"line": 116,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 124,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the XKT geometry files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} geometryFileName Filename of the XKT geometry file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 5329,
|
|
"end": 5779,
|
|
"loc": {
|
|
"start": {
|
|
"line": 130,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 138,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 5784,
|
|
"end": 6023,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 142,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 5784,
|
|
"end": 5805,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 25
|
|
},
|
|
"identifierName": "getSplitModelGeometry"
|
|
},
|
|
"name": "getSplitModelGeometry",
|
|
"leadingComments": null
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5806,
|
|
"end": 5815,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 35
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5817,
|
|
"end": 5824,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 44
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5826,
|
|
"end": 5842,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 62
|
|
},
|
|
"identifierName": "geometryFileName"
|
|
},
|
|
"name": "geometryFileName"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5844,
|
|
"end": 5848,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 68
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5850,
|
|
"end": 5855,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 75
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 5857,
|
|
"end": 6023,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 77
|
|
},
|
|
"end": {
|
|
"line": 142,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 5867,
|
|
"end": 5968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 109
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 5873,
|
|
"end": 5967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 108
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 5873,
|
|
"end": 5876,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 17
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 108
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5948,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 89
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5942,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 83
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5932,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 73
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5919,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 60
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start": 5879,
|
|
"end": 5907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 48
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 5879,
|
|
"end": 5892,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 33
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 5879,
|
|
"end": 5883,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 5884,
|
|
"end": 5892,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 33
|
|
},
|
|
"identifierName": "_dataDir"
|
|
},
|
|
"name": "_dataDir"
|
|
},
|
|
"computed": false
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5895,
|
|
"end": 5907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 48
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/projects/",
|
|
"raw": "\"/projects/\""
|
|
},
|
|
"value": "/projects/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5910,
|
|
"end": 5919,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 60
|
|
},
|
|
"identifierName": "projectId"
|
|
},
|
|
"name": "projectId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5922,
|
|
"end": 5932,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 73
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/models/",
|
|
"raw": "\"/models/\""
|
|
},
|
|
"value": "/models/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5935,
|
|
"end": 5942,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 83
|
|
},
|
|
"identifierName": "modelId"
|
|
},
|
|
"name": "modelId"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 5945,
|
|
"end": 5948,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 89
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "/",
|
|
"raw": "\"/\""
|
|
},
|
|
"value": "/"
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 5951,
|
|
"end": 5967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 92
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 108
|
|
},
|
|
"identifierName": "geometryFileName"
|
|
},
|
|
"name": "geometryFileName"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 5977,
|
|
"end": 6017,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 48
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 5977,
|
|
"end": 6016,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 47
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 5977,
|
|
"end": 5998,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 5977,
|
|
"end": 5982,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 13
|
|
},
|
|
"identifierName": "utils"
|
|
},
|
|
"name": "utils"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 5983,
|
|
"end": 5998,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 29
|
|
},
|
|
"identifierName": "loadArraybuffer"
|
|
},
|
|
"name": "loadArraybuffer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 5999,
|
|
"end": 6002,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 33
|
|
},
|
|
"identifierName": "url"
|
|
},
|
|
"name": "url"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 6004,
|
|
"end": 6008,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 39
|
|
},
|
|
"identifierName": "done"
|
|
},
|
|
"name": "done"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 6010,
|
|
"end": 6015,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 46
|
|
},
|
|
"identifierName": "error"
|
|
},
|
|
"name": "error"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the XKT geometry files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} geometryFileName Filename of the XKT geometry file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 5329,
|
|
"end": 5779,
|
|
"loc": {
|
|
"start": {
|
|
"line": 130,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 138,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Default server client which loads content for a {@link BIMViewer} via HTTP from the file system.\n *\n * A BIMViewer is instantiated with an instance of this class.\n *\n * To load content from an alternative source, instantiate BIMViewer with your own custom implementation of this class.\n ",
|
|
"start": 65,
|
|
"end": 361,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 3
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"__PseudoExport__": false,
|
|
"trailingComments": []
|
|
},
|
|
"specifiers": null,
|
|
"source": null,
|
|
"leadingComments": null
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Default server client which loads content for a {@link BIMViewer} via HTTP from the file system.\n *\n * A BIMViewer is instantiated with an instance of this class.\n *\n * To load content from an alternative source, instantiate BIMViewer with your own custom implementation of this class.\n ",
|
|
"start": 65,
|
|
"end": 361,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Constructs a Server.\n *\n * @param {*} [cfg] Server configuration.\n * @param {String} [cfg.dataDir] Base directory for content.\n ",
|
|
"start": 382,
|
|
"end": 539,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information on all available projects.\n *\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 622,
|
|
"end": 866,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information for a project.\n *\n * @param {String} projectId ID of the project.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1011,
|
|
"end": 1295,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1468,
|
|
"end": 1812,
|
|
"loc": {
|
|
"start": {
|
|
"line": 45,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets geometry for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2021,
|
|
"end": 2365,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for an object within a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} objectId ID of the object.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2580,
|
|
"end": 2991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets existing issues for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3226,
|
|
"end": 3577,
|
|
"loc": {
|
|
"start": {
|
|
"line": 85,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 92,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets a JSON manifest file for a model that's split into multiple XKT files (and maybe also JSON metadata files).\n *\n * The manifest can have an arbitrary name, and will list all the XKT (and maybe separate JSON metada files)\n * that comprise the model.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} manifestName Filename of the manifest.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3783,
|
|
"end": 4410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 99,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 110,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the metadata files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} metadataFileName Filename of the metadata file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 4645,
|
|
"end": 5086,
|
|
"loc": {
|
|
"start": {
|
|
"line": 116,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 124,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the XKT geometry files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} geometryFileName Filename of the XKT geometry file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 5329,
|
|
"end": 5779,
|
|
"loc": {
|
|
"start": {
|
|
"line": 130,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 138,
|
|
"column": 7
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"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": "utils",
|
|
"start": 8,
|
|
"end": 13,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 13,
|
|
"end": 14,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "from",
|
|
"start": 15,
|
|
"end": 19,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": 20,
|
|
"end": 62,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 62,
|
|
"end": 63,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 62
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 63
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Default server client which loads content for a {@link BIMViewer} via HTTP from the file system.\n *\n * A BIMViewer is instantiated with an instance of this class.\n *\n * To load content from an alternative source, instantiate BIMViewer with your own custom implementation of this class.\n ",
|
|
"start": 65,
|
|
"end": 361,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"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": 362,
|
|
"end": 367,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "Server",
|
|
"start": 368,
|
|
"end": 374,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 375,
|
|
"end": 376,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Constructs a Server.\n *\n * @param {*} [cfg] Server configuration.\n * @param {String} [cfg.dataDir] Base directory for content.\n ",
|
|
"start": 382,
|
|
"end": 539,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "constructor",
|
|
"start": 544,
|
|
"end": 555,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 555,
|
|
"end": 556,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cfg",
|
|
"start": 556,
|
|
"end": 559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 560,
|
|
"end": 561,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 562,
|
|
"end": 563,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 563,
|
|
"end": 564,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 564,
|
|
"end": 565,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 566,
|
|
"end": 567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 576,
|
|
"end": 580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 580,
|
|
"end": 581,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "_dataDir",
|
|
"start": 581,
|
|
"end": 589,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 590,
|
|
"end": 591,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cfg",
|
|
"start": 592,
|
|
"end": 595,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 595,
|
|
"end": 596,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "dataDir",
|
|
"start": 596,
|
|
"end": 603,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "||",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": 1,
|
|
"updateContext": null
|
|
},
|
|
"value": "||",
|
|
"start": 604,
|
|
"end": 606,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "",
|
|
"start": 607,
|
|
"end": 609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 609,
|
|
"end": 610,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 615,
|
|
"end": 616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 20,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information on all available projects.\n *\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 622,
|
|
"end": 866,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getProjects",
|
|
"start": 871,
|
|
"end": 882,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 882,
|
|
"end": 883,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 883,
|
|
"end": 887,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 887,
|
|
"end": 888,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 889,
|
|
"end": 894,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 894,
|
|
"end": 895,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 896,
|
|
"end": 897,
|
|
"loc": {
|
|
"start": {
|
|
"line": 28,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 28,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "const",
|
|
"keyword": "const",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "const",
|
|
"start": 906,
|
|
"end": 911,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 912,
|
|
"end": 915,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 916,
|
|
"end": 917,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 918,
|
|
"end": 922,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 922,
|
|
"end": 923,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "_dataDir",
|
|
"start": 923,
|
|
"end": 931,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 932,
|
|
"end": 933,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/projects/index.json",
|
|
"start": 934,
|
|
"end": 956,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 58
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 956,
|
|
"end": 957,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 58
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "utils",
|
|
"start": 966,
|
|
"end": 971,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 971,
|
|
"end": 972,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "loadJSON",
|
|
"start": 972,
|
|
"end": 980,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 980,
|
|
"end": 981,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 981,
|
|
"end": 984,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 984,
|
|
"end": 985,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 986,
|
|
"end": 990,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 990,
|
|
"end": 991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 992,
|
|
"end": 997,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 997,
|
|
"end": 998,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 998,
|
|
"end": 999,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1004,
|
|
"end": 1005,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets information for a project.\n *\n * @param {String} projectId ID of the project.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1011,
|
|
"end": 1295,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getProject",
|
|
"start": 1300,
|
|
"end": 1310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1310,
|
|
"end": 1311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 1311,
|
|
"end": 1320,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1320,
|
|
"end": 1321,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 1322,
|
|
"end": 1326,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1326,
|
|
"end": 1327,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 1328,
|
|
"end": 1333,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1333,
|
|
"end": 1334,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1335,
|
|
"end": 1336,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": 1345,
|
|
"end": 1350,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 1351,
|
|
"end": 1354,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1355,
|
|
"end": 1356,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1357,
|
|
"end": 1361,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1361,
|
|
"end": 1362,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "_dataDir",
|
|
"start": 1362,
|
|
"end": 1370,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 1371,
|
|
"end": 1372,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/projects/",
|
|
"start": 1373,
|
|
"end": 1385,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 1386,
|
|
"end": 1387,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 1388,
|
|
"end": 1397,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 1398,
|
|
"end": 1399,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/index.json",
|
|
"start": 1400,
|
|
"end": 1413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 76
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1413,
|
|
"end": 1414,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 77
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "utils",
|
|
"start": 1423,
|
|
"end": 1428,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1428,
|
|
"end": 1429,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "loadJSON",
|
|
"start": 1429,
|
|
"end": 1437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1437,
|
|
"end": 1438,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 1438,
|
|
"end": 1441,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1441,
|
|
"end": 1442,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 1443,
|
|
"end": 1447,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1447,
|
|
"end": 1448,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 1449,
|
|
"end": 1454,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1454,
|
|
"end": 1455,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1455,
|
|
"end": 1456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1461,
|
|
"end": 1462,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 1468,
|
|
"end": 1812,
|
|
"loc": {
|
|
"start": {
|
|
"line": 45,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getMetadata",
|
|
"start": 1817,
|
|
"end": 1828,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1828,
|
|
"end": 1829,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 1829,
|
|
"end": 1838,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1838,
|
|
"end": 1839,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 1840,
|
|
"end": 1847,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1847,
|
|
"end": 1848,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 1849,
|
|
"end": 1853,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1853,
|
|
"end": 1854,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 1855,
|
|
"end": 1860,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1860,
|
|
"end": 1861,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1862,
|
|
"end": 1863,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": 1872,
|
|
"end": 1877,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 1878,
|
|
"end": 1881,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1882,
|
|
"end": 1883,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1884,
|
|
"end": 1888,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1888,
|
|
"end": 1889,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "_dataDir",
|
|
"start": 1889,
|
|
"end": 1897,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 1898,
|
|
"end": 1899,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/projects/",
|
|
"start": 1900,
|
|
"end": 1912,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 1913,
|
|
"end": 1914,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 1915,
|
|
"end": 1924,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 1925,
|
|
"end": 1926,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/models/",
|
|
"start": 1927,
|
|
"end": 1937,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 73
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 1938,
|
|
"end": 1939,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 1940,
|
|
"end": 1947,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 83
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 1948,
|
|
"end": 1949,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 84
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 85
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/metadata.json",
|
|
"start": 1950,
|
|
"end": 1966,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 102
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1966,
|
|
"end": 1967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 102
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 103
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "utils",
|
|
"start": 1976,
|
|
"end": 1981,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1981,
|
|
"end": 1982,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "loadJSON",
|
|
"start": 1982,
|
|
"end": 1990,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1990,
|
|
"end": 1991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 1991,
|
|
"end": 1994,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1994,
|
|
"end": 1995,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 1996,
|
|
"end": 2000,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2000,
|
|
"end": 2001,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 2002,
|
|
"end": 2007,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2007,
|
|
"end": 2008,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2008,
|
|
"end": 2009,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2014,
|
|
"end": 2015,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets geometry for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2021,
|
|
"end": 2365,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 65,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getGeometry",
|
|
"start": 2370,
|
|
"end": 2381,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2381,
|
|
"end": 2382,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 2382,
|
|
"end": 2391,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2391,
|
|
"end": 2392,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 2393,
|
|
"end": 2400,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2400,
|
|
"end": 2401,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 2402,
|
|
"end": 2406,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2406,
|
|
"end": 2407,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 2408,
|
|
"end": 2413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2413,
|
|
"end": 2414,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2415,
|
|
"end": 2416,
|
|
"loc": {
|
|
"start": {
|
|
"line": 66,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 66,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": 2425,
|
|
"end": 2430,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 2431,
|
|
"end": 2434,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 2435,
|
|
"end": 2436,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 2437,
|
|
"end": 2441,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2441,
|
|
"end": 2442,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "_dataDir",
|
|
"start": 2442,
|
|
"end": 2450,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 2451,
|
|
"end": 2452,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/projects/",
|
|
"start": 2453,
|
|
"end": 2465,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 2466,
|
|
"end": 2467,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 2468,
|
|
"end": 2477,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 2478,
|
|
"end": 2479,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/models/",
|
|
"start": 2480,
|
|
"end": 2490,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 73
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 2491,
|
|
"end": 2492,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 2493,
|
|
"end": 2500,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 83
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 2501,
|
|
"end": 2502,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 84
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 85
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/geometry.xkt",
|
|
"start": 2503,
|
|
"end": 2518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 101
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2518,
|
|
"end": 2519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 67,
|
|
"column": 101
|
|
},
|
|
"end": {
|
|
"line": 67,
|
|
"column": 102
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "utils",
|
|
"start": 2528,
|
|
"end": 2533,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2533,
|
|
"end": 2534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "loadArraybuffer",
|
|
"start": 2534,
|
|
"end": 2549,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2549,
|
|
"end": 2550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 2550,
|
|
"end": 2553,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2553,
|
|
"end": 2554,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 2555,
|
|
"end": 2559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2559,
|
|
"end": 2560,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 2561,
|
|
"end": 2566,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2566,
|
|
"end": 2567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 2567,
|
|
"end": 2568,
|
|
"loc": {
|
|
"start": {
|
|
"line": 68,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 68,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 2573,
|
|
"end": 2574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 69,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 69,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets metadata for an object within a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} objectId ID of the object.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 2580,
|
|
"end": 2991,
|
|
"loc": {
|
|
"start": {
|
|
"line": 71,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 79,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getObjectInfo",
|
|
"start": 2996,
|
|
"end": 3009,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3009,
|
|
"end": 3010,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 3010,
|
|
"end": 3019,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3019,
|
|
"end": 3020,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 3021,
|
|
"end": 3028,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3028,
|
|
"end": 3029,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "objectId",
|
|
"start": 3030,
|
|
"end": 3038,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3038,
|
|
"end": 3039,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 3040,
|
|
"end": 3044,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 52
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3044,
|
|
"end": 3045,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 53
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 3046,
|
|
"end": 3051,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3051,
|
|
"end": 3052,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 59
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3053,
|
|
"end": 3054,
|
|
"loc": {
|
|
"start": {
|
|
"line": 80,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": 3063,
|
|
"end": 3068,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 3069,
|
|
"end": 3072,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 3073,
|
|
"end": 3074,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 3075,
|
|
"end": 3079,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3079,
|
|
"end": 3080,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "_dataDir",
|
|
"start": 3080,
|
|
"end": 3088,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3089,
|
|
"end": 3090,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/projects/",
|
|
"start": 3091,
|
|
"end": 3103,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3104,
|
|
"end": 3105,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 3106,
|
|
"end": 3115,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3116,
|
|
"end": 3117,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/models/",
|
|
"start": 3118,
|
|
"end": 3128,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 73
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3129,
|
|
"end": 3130,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 3131,
|
|
"end": 3138,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 83
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3139,
|
|
"end": 3140,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 84
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 85
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/props/",
|
|
"start": 3141,
|
|
"end": 3150,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 95
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3151,
|
|
"end": 3152,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 96
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 97
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "objectId",
|
|
"start": 3153,
|
|
"end": 3161,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 98
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 106
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3162,
|
|
"end": 3163,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 107
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 108
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": ".json",
|
|
"start": 3164,
|
|
"end": 3171,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 109
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 116
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3171,
|
|
"end": 3172,
|
|
"loc": {
|
|
"start": {
|
|
"line": 81,
|
|
"column": 116
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"column": 117
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "utils",
|
|
"start": 3181,
|
|
"end": 3186,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3186,
|
|
"end": 3187,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "loadJSON",
|
|
"start": 3187,
|
|
"end": 3195,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3195,
|
|
"end": 3196,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 3196,
|
|
"end": 3199,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3199,
|
|
"end": 3200,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 3201,
|
|
"end": 3205,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3205,
|
|
"end": 3206,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 3207,
|
|
"end": 3212,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3212,
|
|
"end": 3213,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3213,
|
|
"end": 3214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 82,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3219,
|
|
"end": 3220,
|
|
"loc": {
|
|
"start": {
|
|
"line": 83,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets existing issues for a model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3226,
|
|
"end": 3577,
|
|
"loc": {
|
|
"start": {
|
|
"line": 85,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 92,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getIssues",
|
|
"start": 3582,
|
|
"end": 3591,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3591,
|
|
"end": 3592,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 3592,
|
|
"end": 3601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3601,
|
|
"end": 3602,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 3603,
|
|
"end": 3610,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3610,
|
|
"end": 3611,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 3612,
|
|
"end": 3616,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3616,
|
|
"end": 3617,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 3618,
|
|
"end": 3623,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": 93,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3625,
|
|
"end": 3626,
|
|
"loc": {
|
|
"start": {
|
|
"line": 93,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 93,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "const",
|
|
"keyword": "const",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "const",
|
|
"start": 3635,
|
|
"end": 3640,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 3641,
|
|
"end": 3644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 3645,
|
|
"end": 3646,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 3647,
|
|
"end": 3651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3651,
|
|
"end": 3652,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "_dataDir",
|
|
"start": 3652,
|
|
"end": 3660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3661,
|
|
"end": 3662,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/projects/",
|
|
"start": 3663,
|
|
"end": 3675,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3676,
|
|
"end": 3677,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 3678,
|
|
"end": 3687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3688,
|
|
"end": 3689,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/models/",
|
|
"start": 3690,
|
|
"end": 3700,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 73
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3701,
|
|
"end": 3702,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 3703,
|
|
"end": 3710,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 83
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 3711,
|
|
"end": 3712,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 84
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 85
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/issues.json",
|
|
"start": 3713,
|
|
"end": 3727,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 100
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3727,
|
|
"end": 3728,
|
|
"loc": {
|
|
"start": {
|
|
"line": 94,
|
|
"column": 100
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"column": 101
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "utils",
|
|
"start": 3737,
|
|
"end": 3742,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 8
|
|
},
|
|
"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": 3742,
|
|
"end": 3743,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "loadJSON",
|
|
"start": 3743,
|
|
"end": 3751,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3751,
|
|
"end": 3752,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 3752,
|
|
"end": 3755,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3755,
|
|
"end": 3756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 3757,
|
|
"end": 3761,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3761,
|
|
"end": 3762,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 3763,
|
|
"end": 3768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3768,
|
|
"end": 3769,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 3769,
|
|
"end": 3770,
|
|
"loc": {
|
|
"start": {
|
|
"line": 95,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 3775,
|
|
"end": 3776,
|
|
"loc": {
|
|
"start": {
|
|
"line": 96,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 96,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets a JSON manifest file for a model that's split into multiple XKT files (and maybe also JSON metadata files).\n *\n * The manifest can have an arbitrary name, and will list all the XKT (and maybe separate JSON metada files)\n * that comprise the model.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} manifestName Filename of the manifest.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 3783,
|
|
"end": 4410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 99,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 110,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getSplitModelManifest",
|
|
"start": 4415,
|
|
"end": 4436,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 4436,
|
|
"end": 4437,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 4437,
|
|
"end": 4446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 4446,
|
|
"end": 4447,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 4448,
|
|
"end": 4455,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 4455,
|
|
"end": 4456,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "manifestName",
|
|
"start": 4457,
|
|
"end": 4469,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 58
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 4469,
|
|
"end": 4470,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 58
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 4471,
|
|
"end": 4475,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 60
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 64
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 4475,
|
|
"end": 4476,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 65
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 4477,
|
|
"end": 4482,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 71
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 4482,
|
|
"end": 4483,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 71
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 72
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 4484,
|
|
"end": 4485,
|
|
"loc": {
|
|
"start": {
|
|
"line": 111,
|
|
"column": 73
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"column": 74
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": 4494,
|
|
"end": 4499,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 4500,
|
|
"end": 4503,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 4504,
|
|
"end": 4505,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 4506,
|
|
"end": 4510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 4510,
|
|
"end": 4511,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "_dataDir",
|
|
"start": 4511,
|
|
"end": 4519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 4520,
|
|
"end": 4521,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/projects/",
|
|
"start": 4522,
|
|
"end": 4534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 4535,
|
|
"end": 4536,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 4537,
|
|
"end": 4546,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 4547,
|
|
"end": 4548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/models/",
|
|
"start": 4549,
|
|
"end": 4559,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 73
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 4560,
|
|
"end": 4561,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 4562,
|
|
"end": 4569,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 83
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 4570,
|
|
"end": 4571,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 84
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 85
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/",
|
|
"start": 4572,
|
|
"end": 4575,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 89
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 4576,
|
|
"end": 4577,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 90
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 91
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "manifestName",
|
|
"start": 4578,
|
|
"end": 4590,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 92
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 104
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 4590,
|
|
"end": 4591,
|
|
"loc": {
|
|
"start": {
|
|
"line": 112,
|
|
"column": 104
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"column": 105
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "utils",
|
|
"start": 4600,
|
|
"end": 4605,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 4605,
|
|
"end": 4606,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "loadJSON",
|
|
"start": 4606,
|
|
"end": 4614,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 4614,
|
|
"end": 4615,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 4615,
|
|
"end": 4618,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 4618,
|
|
"end": 4619,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 4620,
|
|
"end": 4624,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 4624,
|
|
"end": 4625,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 4626,
|
|
"end": 4631,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 4631,
|
|
"end": 4632,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 4632,
|
|
"end": 4633,
|
|
"loc": {
|
|
"start": {
|
|
"line": 113,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 4638,
|
|
"end": 4639,
|
|
"loc": {
|
|
"start": {
|
|
"line": 114,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 114,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the metadata files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} metadataFileName Filename of the metadata file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 4645,
|
|
"end": 5086,
|
|
"loc": {
|
|
"start": {
|
|
"line": 116,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 124,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getSplitModelMetadata",
|
|
"start": 5091,
|
|
"end": 5112,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 5112,
|
|
"end": 5113,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 5113,
|
|
"end": 5122,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5122,
|
|
"end": 5123,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 5124,
|
|
"end": 5131,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5131,
|
|
"end": 5132,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "metadataFileName",
|
|
"start": 5133,
|
|
"end": 5149,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5149,
|
|
"end": 5150,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 62
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 63
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 5151,
|
|
"end": 5155,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 68
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5155,
|
|
"end": 5156,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 68
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 69
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 5157,
|
|
"end": 5162,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 5162,
|
|
"end": 5163,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 76
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 5164,
|
|
"end": 5165,
|
|
"loc": {
|
|
"start": {
|
|
"line": 125,
|
|
"column": 77
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"column": 78
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "const",
|
|
"keyword": "const",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "const",
|
|
"start": 5174,
|
|
"end": 5179,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 5180,
|
|
"end": 5183,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 5184,
|
|
"end": 5185,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 5186,
|
|
"end": 5190,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5190,
|
|
"end": 5191,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "_dataDir",
|
|
"start": 5191,
|
|
"end": 5199,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5200,
|
|
"end": 5201,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/projects/",
|
|
"start": 5202,
|
|
"end": 5214,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5215,
|
|
"end": 5216,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 5217,
|
|
"end": 5226,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5227,
|
|
"end": 5228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/models/",
|
|
"start": 5229,
|
|
"end": 5239,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 73
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5240,
|
|
"end": 5241,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 5242,
|
|
"end": 5249,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 83
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5250,
|
|
"end": 5251,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 84
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 85
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/",
|
|
"start": 5252,
|
|
"end": 5255,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 89
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5256,
|
|
"end": 5257,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 90
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 91
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "metadataFileName",
|
|
"start": 5258,
|
|
"end": 5274,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 92
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 108
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5274,
|
|
"end": 5275,
|
|
"loc": {
|
|
"start": {
|
|
"line": 126,
|
|
"column": 108
|
|
},
|
|
"end": {
|
|
"line": 126,
|
|
"column": 109
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "utils",
|
|
"start": 5284,
|
|
"end": 5289,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5289,
|
|
"end": 5290,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "loadJSON",
|
|
"start": 5290,
|
|
"end": 5298,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 5298,
|
|
"end": 5299,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 5299,
|
|
"end": 5302,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5302,
|
|
"end": 5303,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 5304,
|
|
"end": 5308,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5308,
|
|
"end": 5309,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 5310,
|
|
"end": 5315,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 5315,
|
|
"end": 5316,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5316,
|
|
"end": 5317,
|
|
"loc": {
|
|
"start": {
|
|
"line": 127,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 5322,
|
|
"end": 5323,
|
|
"loc": {
|
|
"start": {
|
|
"line": 128,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 128,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "*\n * Gets one of the XKT geometry files within a split model within a project.\n *\n * @param {String} projectId ID of the project.\n * @param {String} modelId ID of the model.\n * @param {String} geometryFileName Filename of the XKT geometry file.\n * @param {Function} done Callback through which the JSON result is returned.\n * @param {Function} error Callback through which an error message is returned on error.\n ",
|
|
"start": 5329,
|
|
"end": 5779,
|
|
"loc": {
|
|
"start": {
|
|
"line": 130,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 138,
|
|
"column": 7
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getSplitModelGeometry",
|
|
"start": 5784,
|
|
"end": 5805,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 5805,
|
|
"end": 5806,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 5806,
|
|
"end": 5815,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5815,
|
|
"end": 5816,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 5817,
|
|
"end": 5824,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5824,
|
|
"end": 5825,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "geometryFileName",
|
|
"start": 5826,
|
|
"end": 5842,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5842,
|
|
"end": 5843,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 62
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 63
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 5844,
|
|
"end": 5848,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 64
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 68
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5848,
|
|
"end": 5849,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 68
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 69
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 5850,
|
|
"end": 5855,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 70
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 5855,
|
|
"end": 5856,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 75
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 76
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 5857,
|
|
"end": 5858,
|
|
"loc": {
|
|
"start": {
|
|
"line": 139,
|
|
"column": 77
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"column": 78
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "const",
|
|
"keyword": "const",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "const",
|
|
"start": 5867,
|
|
"end": 5872,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 5873,
|
|
"end": 5876,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 5877,
|
|
"end": 5878,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 5879,
|
|
"end": 5883,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5883,
|
|
"end": 5884,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "_dataDir",
|
|
"start": 5884,
|
|
"end": 5892,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5893,
|
|
"end": 5894,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/projects/",
|
|
"start": 5895,
|
|
"end": 5907,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5908,
|
|
"end": 5909,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "projectId",
|
|
"start": 5910,
|
|
"end": 5919,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5920,
|
|
"end": 5921,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 62
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/models/",
|
|
"start": 5922,
|
|
"end": 5932,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 63
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 73
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5933,
|
|
"end": 5934,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 74
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 75
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "modelId",
|
|
"start": 5935,
|
|
"end": 5942,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 76
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 83
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5943,
|
|
"end": 5944,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 84
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 85
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "/",
|
|
"start": 5945,
|
|
"end": 5948,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 86
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 89
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "+/-",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": 9,
|
|
"updateContext": null
|
|
},
|
|
"value": "+",
|
|
"start": 5949,
|
|
"end": 5950,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 90
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 91
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "geometryFileName",
|
|
"start": 5951,
|
|
"end": 5967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 92
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 108
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5967,
|
|
"end": 5968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 140,
|
|
"column": 108
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"column": 109
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "utils",
|
|
"start": 5977,
|
|
"end": 5982,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 5982,
|
|
"end": 5983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "loadArraybuffer",
|
|
"start": 5983,
|
|
"end": 5998,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 5998,
|
|
"end": 5999,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "url",
|
|
"start": 5999,
|
|
"end": 6002,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 6002,
|
|
"end": 6003,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "done",
|
|
"start": 6004,
|
|
"end": 6008,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 6008,
|
|
"end": 6009,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "error",
|
|
"start": 6010,
|
|
"end": 6015,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 6015,
|
|
"end": 6016,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 6016,
|
|
"end": 6017,
|
|
"loc": {
|
|
"start": {
|
|
"line": 141,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 141,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 6022,
|
|
"end": 6023,
|
|
"loc": {
|
|
"start": {
|
|
"line": 142,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 142,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 6024,
|
|
"end": 6025,
|
|
"loc": {
|
|
"start": {
|
|
"line": 143,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 143,
|
|
"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": 6027,
|
|
"end": 6033,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 6034,
|
|
"end": 6035,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "Server",
|
|
"start": 6035,
|
|
"end": 6041,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 6041,
|
|
"end": 6042,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 6042,
|
|
"end": 6043,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "eof",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 6043,
|
|
"end": 6043,
|
|
"loc": {
|
|
"start": {
|
|
"line": 145,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 145,
|
|
"column": 16
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |