awv3
Version:
⚡ AWV3 embedded CAD
1,865 lines • 12.4 MB
JSON
{
"type": "File",
"start": 0,
"end": 56712,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1465,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 56712,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1465,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "delay"
},
"name": "delay"
}
}
],
"source": {
"type": "StringLiteral",
"start": 18,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 25
}
},
"extra": {
"rawValue": "delay",
"raw": "'delay'"
},
"value": "delay"
}
},
{
"type": "ImportDeclaration",
"start": 27,
"end": 80,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 53
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 34,
"end": 46,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 19
}
},
"local": {
"type": "Identifier",
"start": 34,
"end": 46,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 19
},
"identifierName": "editDistance"
},
"name": "editDistance"
}
}
],
"source": {
"type": "StringLiteral",
"start": 52,
"end": 79,
"loc": {
"start": {
"line": 2,
"column": 25
},
"end": {
"line": 2,
"column": 52
}
},
"extra": {
"rawValue": "levenshtein-edit-distance",
"raw": "'levenshtein-edit-distance'"
},
"value": "levenshtein-edit-distance"
}
},
{
"type": "ImportDeclaration",
"start": 81,
"end": 112,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 31
}
},
"specifiers": [
{
"type": "ImportNamespaceSpecifier",
"start": 88,
"end": 98,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 93,
"end": 98,
"loc": {
"start": {
"line": 3,
"column": 12
},
"end": {
"line": 3,
"column": 17
},
"identifierName": "THREE"
},
"name": "THREE"
}
}
],
"source": {
"type": "StringLiteral",
"start": 104,
"end": 111,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 30
}
},
"extra": {
"rawValue": "three",
"raw": "'three'"
},
"value": "three"
}
},
{
"type": "ImportDeclaration",
"start": 113,
"end": 156,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 43
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 120,
"end": 128,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 15
}
},
"local": {
"type": "Identifier",
"start": 120,
"end": 128,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 15
},
"identifierName": "Object3D"
},
"name": "Object3D"
}
}
],
"source": {
"type": "StringLiteral",
"start": 134,
"end": 155,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 42
}
},
"extra": {
"rawValue": "../../three/object3",
"raw": "'../../three/object3'"
},
"value": "../../three/object3"
}
},
{
"type": "ImportDeclaration",
"start": 157,
"end": 197,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 40
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 164,
"end": 170,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 164,
"end": 170,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 13
},
"identifierName": "Sketch"
},
"name": "Sketch"
}
}
],
"source": {
"type": "StringLiteral",
"start": 176,
"end": 196,
"loc": {
"start": {
"line": 5,
"column": 19
},
"end": {
"line": 5,
"column": 39
}
},
"extra": {
"rawValue": "../sketcher/sketch",
"raw": "'../sketcher/sketch'"
},
"value": "../sketcher/sketch"
}
},
{
"type": "ImportDeclaration",
"start": 198,
"end": 233,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 35
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 205,
"end": 213,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 15
}
},
"local": {
"type": "Identifier",
"start": 205,
"end": 213,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "Sketcher"
},
"name": "Sketcher"
}
}
],
"source": {
"type": "StringLiteral",
"start": 219,
"end": 232,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 34
}
},
"extra": {
"rawValue": "../sketcher",
"raw": "'../sketcher'"
},
"value": "../sketcher"
}
},
{
"type": "ImportDeclaration",
"start": 234,
"end": 288,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 54
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 241,
"end": 257,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 23
}
},
"local": {
"type": "Identifier",
"start": 241,
"end": 257,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 23
},
"identifierName": "SketchConstraint"
},
"name": "SketchConstraint"
}
}
],
"source": {
"type": "StringLiteral",
"start": 263,
"end": 287,
"loc": {
"start": {
"line": 7,
"column": 29
},
"end": {
"line": 7,
"column": 53
}
},
"extra": {
"rawValue": "../sketcher/constraint",
"raw": "'../sketcher/constraint'"
},
"value": "../sketcher/constraint"
}
},
{
"type": "ImportDeclaration",
"start": 289,
"end": 342,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 53
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 296,
"end": 307,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 18
}
},
"local": {
"type": "Identifier",
"start": 296,
"end": 307,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 18
},
"identifierName": "SketchPoint"
},
"name": "SketchPoint"
}
}
],
"source": {
"type": "StringLiteral",
"start": 313,
"end": 341,
"loc": {
"start": {
"line": 8,
"column": 24
},
"end": {
"line": 8,
"column": 52
}
},
"extra": {
"rawValue": "../sketcher/graphics/point",
"raw": "'../sketcher/graphics/point'"
},
"value": "../sketcher/graphics/point"
}
},
{
"type": "ImportDeclaration",
"start": 343,
"end": 394,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 51
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 350,
"end": 360,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 350,
"end": 360,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 17
},
"identifierName": "SketchLine"
},
"name": "SketchLine"
}
}
],
"source": {
"type": "StringLiteral",
"start": 366,
"end": 393,
"loc": {
"start": {
"line": 9,
"column": 23
},
"end": {
"line": 9,
"column": 50
}
},
"extra": {
"rawValue": "../sketcher/graphics/line",
"raw": "'../sketcher/graphics/line'"
},
"value": "../sketcher/graphics/line"
}
},
{
"type": "ImportDeclaration",
"start": 395,
"end": 444,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 49
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 402,
"end": 411,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 16
}
},
"local": {
"type": "Identifier",
"start": 402,
"end": 411,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 16
},
"identifierName": "SketchArc"
},
"name": "SketchArc"
}
}
],
"source": {
"type": "StringLiteral",
"start": 417,
"end": 443,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 48
}
},
"extra": {
"rawValue": "../sketcher/graphics/arc",
"raw": "'../sketcher/graphics/arc'"
},
"value": "../sketcher/graphics/arc"
}
},
{
"type": "ImportDeclaration",
"start": 445,
"end": 497,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 13,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 458,
"end": 461,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 7
}
},
"imported": {
"type": "Identifier",
"start": 458,
"end": 461,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 7
},
"identifierName": "DSU"
},
"name": "DSU"
},
"local": {
"type": "Identifier",
"start": 458,
"end": 461,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 7
},
"identifierName": "DSU"
},
"name": "DSU"
}
}
],
"source": {
"type": "StringLiteral",
"start": 469,
"end": 496,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 34
}
},
"extra": {
"rawValue": "../sketcher/constraintgen",
"raw": "'../sketcher/constraintgen'"
},
"value": "../sketcher/constraintgen"
}
},
{
"type": "FunctionDeclaration",
"start": 500,
"end": 764,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 22,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 509,
"end": 514,
"loc": {
"start": {
"line": 16,
"column": 9
},
"end": {
"line": 16,
"column": 14
},
"identifierName": "check"
},
"name": "check"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 515,
"end": 519,
"loc": {
"start": {
"line": 16,
"column": 15
},
"end": {
"line": 16,
"column": 19
},
"identifierName": "cond"
},
"name": "cond"
},
{
"type": "Identifier",
"start": 521,
"end": 528,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 28
},
"identifierName": "message"
},
"name": "message"
}
],
"body": {
"type": "BlockStatement",
"start": 530,
"end": 764,
"loc": {
"start": {
"line": 16,
"column": 30
},
"end": {
"line": 22,
"column": 1
}
},
"body": [
{
"type": "IfStatement",
"start": 718,
"end": 762,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 21,
"column": 33
}
},
"test": {
"type": "UnaryExpression",
"start": 722,
"end": 727,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 13
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 723,
"end": 727,
"loc": {
"start": {
"line": 20,
"column": 9
},
"end": {
"line": 20,
"column": 13
},
"identifierName": "cond"
},
"name": "cond",
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "ThrowStatement",
"start": 737,
"end": 762,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 33
}
},
"argument": {
"type": "NewExpression",
"start": 743,
"end": 761,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 32
}
},
"callee": {
"type": "Identifier",
"start": 747,
"end": 752,
"loc": {
"start": {
"line": 21,
"column": 18
},
"end": {
"line": 21,
"column": 23
},
"identifierName": "Error"
},
"name": "Error"
},
"arguments": [
{
"type": "Identifier",
"start": 753,
"end": 760,
"loc": {
"start": {
"line": 21,
"column": 24
},
"end": {
"line": 21,
"column": 31
},
"identifierName": "message"
},
"name": "message"
}
]
}
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": "TODO: Throw custom exception and wrap arguments into it",
"start": 536,
"end": 593,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 61
}
}
},
{
"type": "CommentLine",
"value": "so that it could be redirected to console.error later.",
"start": 598,
"end": 654,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 60
}
}
},
{
"type": "CommentLine",
"value": "After that improve error messages all over the code.",
"start": 659,
"end": 713,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 58
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": "for setting names used in sketch matching",
"start": 766,
"end": 809,
"loc": {
"start": {
"line": 24,
"column": 0
},
"end": {
"line": 24,
"column": 43
}
}
}
]
},
{
"type": "FunctionDeclaration",
"start": 810,
"end": 997,
"loc": {
"start": {
"line": 25,
"column": 0
},
"end": {
"line": 28,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 819,
"end": 830,
"loc": {
"start": {
"line": 25,
"column": 9
},
"end": {
"line": 25,
"column": 20
},
"identifierName": "setTestName"
},
"name": "setTestName",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 831,
"end": 834,
"loc": {
"start": {
"line": 25,
"column": 21
},
"end": {
"line": 25,
"column": 24
},
"identifierName": "obj"
},
"name": "obj"
},
{
"type": "Identifier",
"start": 836,
"end": 840,
"loc": {
"start": {
"line": 25,
"column": 26
},
"end": {
"line": 25,
"column": 30
},
"identifierName": "name"
},
"name": "name"
}
],
"body": {
"type": "BlockStatement",
"start": 842,
"end": 997,
"loc": {
"start": {
"line": 25,
"column": 32
},
"end": {
"line": 28,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 848,
"end": 970,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 126
}
},
"expression": {
"type": "CallExpression",
"start": 848,
"end": 969,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 125
}
},
"callee": {
"type": "Identifier",
"start": 848,
"end": 853,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 9
},
"identifierName": "check"
},
"name": "check"
},
"arguments": [
{
"type": "LogicalExpression",
"start": 854,
"end": 905,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 61
}
},
"left": {
"type": "BinaryExpression",
"start": 854,
"end": 880,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 36
}
},
"left": {
"type": "MemberExpression",
"start": 854,
"end": 866,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 854,
"end": 857,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 13
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 858,
"end": 866,
"loc": {
"start": {
"line": 26,
"column": 14
},
"end": {
"line": 26,
"column": 22
},
"identifierName": "testName"
},
"name": "testName"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 871,
"end": 880,
"loc": {
"start": {
"line": 26,
"column": 27
},
"end": {
"line": 26,
"column": 36
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 884,
"end": 905,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 61
}
},
"left": {
"type": "MemberExpression",
"start": 884,
"end": 896,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 884,
"end": 887,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 43
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 888,
"end": 896,
"loc": {
"start": {
"line": 26,
"column": 44
},
"end": {
"line": 26,
"column": 52
},
"identifierName": "testName"
},
"name": "testName"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 901,
"end": 905,
"loc": {
"start": {
"line": 26,
"column": 57
},
"end": {
"line": 26,
"column": 61
},
"identifierName": "name"
},
"name": "name"
}
}
},
{
"type": "BinaryExpression",
"start": 907,
"end": 968,
"loc": {
"start": {
"line": 26,
"column": 63
},
"end": {
"line": 26,
"column": 124
}
},
"left": {
"type": "BinaryExpression",
"start": 907,
"end": 961,
"loc": {
"start": {
"line": 26,
"column": 63
},
"end": {
"line": 26,
"column": 117
}
},
"left": {
"type": "BinaryExpression",
"start": 907,
"end": 950,
"loc": {
"start": {
"line": 26,
"column": 63
},
"end": {
"line": 26,
"column": 106
}
},
"left": {
"type": "StringLiteral",
"start": 907,
"end": 935,
"loc": {
"start": {
"line": 26,
"column": 63
},
"end": {
"line": 26,
"column": 91
}
},
"extra": {
"rawValue": "Overwriting object's name ",
"raw": "\"Overwriting object's name \""
},
"value": "Overwriting object's name "
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 938,
"end": 950,
"loc": {
"start": {
"line": 26,
"column": 94
},
"end": {
"line": 26,
"column": 106
}
},
"object": {
"type": "Identifier",
"start": 938,
"end": 941,
"loc": {
"start": {
"line": 26,
"column": 94
},
"end": {
"line": 26,
"column": 97
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 942,
"end": 950,
"loc": {
"start": {
"line": 26,
"column": 98
},
"end": {
"line": 26,
"column": 106
},
"identifierName": "testName"
},
"name": "testName"
},
"computed": false
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 953,
"end": 961,
"loc": {
"start": {
"line": 26,
"column": 109
},
"end": {
"line": 26,
"column": 117
}
},
"extra": {
"rawValue": " with ",
"raw": "\" with \""
},
"value": " with "
}
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 964,
"end": 968,
"loc": {
"start": {
"line": 26,
"column": 120
},
"end": {
"line": 26,
"column": 124
},
"identifierName": "name"
},
"name": "name"
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 975,
"end": 995,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 975,
"end": 994,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 23
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 975,
"end": 987,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 975,
"end": 978,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 7
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 979,
"end": 987,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 16
},
"identifierName": "testName"
},
"name": "testName"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 990,
"end": 994,
"loc": {
"start": {
"line": 27,
"column": 19
},
"end": {
"line": 27,
"column": 23
},
"identifierName": "name"
},
"name": "name"
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": "for setting names used in sketch matching",
"start": 766,
"end": 809,
"loc": {
"start": {
"line": 24,
"column": 0
},
"end": {
"line": 24,
"column": 43
}
}
}
]
},
{
"type": "FunctionDeclaration",
"start": 998,
"end": 1058,
"loc": {
"start": {
"line": 29,
"column": 0
},
"end": {
"line": 31,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1007,
"end": 1018,
"loc": {
"start": {
"line": 29,
"column": 9
},
"end": {
"line": 29,
"column": 20
},
"identifierName": "getTestName"
},
"name": "getTestName"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1019,
"end": 1022,
"loc": {
"start": {
"line": 29,
"column": 21
},
"end": {
"line": 29,
"column": 24
},
"identifierName": "obj"
},
"name": "obj"
},
{
"type": "Identifier",
"start": 1024,
"end": 1028,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 30
},
"identifierName": "name"
},
"name": "name"
}
],
"body": {
"type": "BlockStatement",
"start": 1030,
"end": 1058,
"loc": {
"start": {
"line": 29,
"column": 32
},
"end": {
"line": 31,
"column": 1
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1036,
"end": 1056,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 24
}
},
"argument": {
"type": "MemberExpression",
"start": 1043,
"end": 1055,
"loc": {
"start": {
"line": 30,
"column": 11
},
"end": {
"line": 30,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 1043,
"end": 1046,
"loc": {
"start": {
"line": 30,
"column": 11
},
"end": {
"line": 30,
"column": 14
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 1047,
"end": 1055,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 23
},
"identifierName": "testName"
},
"name": "testName"
},
"computed": false
}
}
],
"directives": []
}
},
{
"type": "FunctionDeclaration",
"start": 1060,
"end": 1379,
"loc": {
"start": {
"line": 33,
"column": 0
},
"end": {
"line": 39,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1069,
"end": 1080,
"loc": {
"start": {
"line": 33,
"column": 9
},
"end": {
"line": 33,
"column": 20
},
"identifierName": "_convVector"
},
"name": "_convVector"
},
"generator": false,
"expression": false,
"async": fa