awv3
Version:
AWV client CAD framework
1,514 lines • 31.6 kB
JSON
{
"type": "Program",
"start": 0,
"end": 944,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 23,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ExportNamedDeclaration",
"start": 0,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 39
}
},
"specifiers": [
{
"type": "Identifier",
"start": 7,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 15
}
},
"exported": {
"type": "Identifier",
"start": 7,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 15
}
},
"name": "Defaults"
}
}
],
"source": {
"type": "Literal",
"start": 21,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 38
}
},
"value": "./core/defaults",
"rawValue": "./core/defaults",
"raw": "'./core/defaults'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 41,
"end": 94,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 53
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 50,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 16
}
},
"local": {
"type": "Identifier",
"start": 50,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 16
}
},
"name": "version"
},
"exported": {
"type": "Identifier",
"start": 50,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 16
}
},
"name": "version"
}
},
{
"type": "ExportSpecifier",
"start": 59,
"end": 70,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 29
}
},
"local": {
"type": "Identifier",
"start": 59,
"end": 70,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 29
}
},
"name": "lastCreated"
},
"exported": {
"type": "Identifier",
"start": 59,
"end": 70,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 29
}
},
"name": "lastCreated"
}
}
],
"source": {
"type": "Literal",
"start": 78,
"end": 93,
"loc": {
"start": {
"line": 2,
"column": 37
},
"end": {
"line": 2,
"column": 52
}
},
"value": "./core/canvas",
"rawValue": "./core/canvas",
"raw": "'./core/canvas'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 96,
"end": 131,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 35
}
},
"specifiers": [
{
"type": "Identifier",
"start": 103,
"end": 109,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"exported": {
"type": "Identifier",
"start": 103,
"end": 109,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"name": "Canvas"
}
}
],
"source": {
"type": "Literal",
"start": 115,
"end": 130,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 34
}
},
"value": "./core/canvas",
"rawValue": "./core/canvas",
"raw": "'./core/canvas'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 133,
"end": 164,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 31
}
},
"specifiers": [
{
"type": "Identifier",
"start": 140,
"end": 144,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 11
}
},
"exported": {
"type": "Identifier",
"start": 140,
"end": 144,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 11
}
},
"name": "View"
}
}
],
"source": {
"type": "Literal",
"start": 150,
"end": 163,
"loc": {
"start": {
"line": 4,
"column": 17
},
"end": {
"line": 4,
"column": 30
}
},
"value": "./core/view",
"rawValue": "./core/view",
"raw": "'./core/view'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 166,
"end": 201,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 35
}
},
"specifiers": [
{
"type": "Identifier",
"start": 173,
"end": 179,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 13
}
},
"exported": {
"type": "Identifier",
"start": 173,
"end": 179,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 13
}
},
"name": "Parser"
}
}
],
"source": {
"type": "Literal",
"start": 185,
"end": 200,
"loc": {
"start": {
"line": 5,
"column": 19
},
"end": {
"line": 5,
"column": 34
}
},
"value": "./core/parser",
"rawValue": "./core/parser",
"raw": "'./core/parser'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 203,
"end": 242,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 39
}
},
"specifiers": [
{
"type": "Identifier",
"start": 210,
"end": 218,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 15
}
},
"exported": {
"type": "Identifier",
"start": 210,
"end": 218,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 15
}
},
"name": "Renderer"
}
}
],
"source": {
"type": "Literal",
"start": 224,
"end": 241,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 38
}
},
"value": "./core/renderer",
"rawValue": "./core/renderer",
"raw": "'./core/renderer'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 244,
"end": 289,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 45
}
},
"specifiers": [
{
"type": "Identifier",
"start": 251,
"end": 262,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 18
}
},
"exported": {
"type": "Identifier",
"start": 251,
"end": 262,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 18
}
},
"name": "Interaction"
}
}
],
"source": {
"type": "Literal",
"start": 268,
"end": 288,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 44
}
},
"value": "./core/interaction",
"rawValue": "./core/interaction",
"raw": "'./core/interaction'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 291,
"end": 320,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 29
}
},
"specifiers": [
{
"type": "Identifier",
"start": 298,
"end": 301,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 10
}
},
"exported": {
"type": "Identifier",
"start": 298,
"end": 301,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 10
}
},
"name": "Dom"
}
}
],
"source": {
"type": "Literal",
"start": 307,
"end": 319,
"loc": {
"start": {
"line": 8,
"column": 16
},
"end": {
"line": 8,
"column": 28
}
},
"value": "./core/dom",
"rawValue": "./core/dom",
"raw": "'./core/dom'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 322,
"end": 357,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 35
}
},
"specifiers": [
{
"type": "Identifier",
"start": 329,
"end": 335,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 13
}
},
"exported": {
"type": "Identifier",
"start": 329,
"end": 335,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 13
}
},
"name": "Events"
}
}
],
"source": {
"type": "Literal",
"start": 341,
"end": 356,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 34
}
},
"value": "./core/events",
"rawValue": "./core/events",
"raw": "'./core/events'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 359,
"end": 397,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 38
}
},
"specifiers": [
{
"type": "Identifier",
"start": 366,
"end": 376,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 17
}
},
"exported": {
"type": "Identifier",
"start": 371,
"end": 376,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 17
}
},
"name": "error"
}
}
],
"source": {
"type": "Literal",
"start": 382,
"end": 396,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 37
}
},
"value": "./core/error",
"rawValue": "./core/error",
"raw": "'./core/error'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 399,
"end": 441,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 42
}
},
"specifiers": [
{
"type": "Identifier",
"start": 406,
"end": 418,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 19
}
},
"exported": {
"type": "Identifier",
"start": 411,
"end": 418,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 19
}
},
"name": "helpers"
}
}
],
"source": {
"type": "Literal",
"start": 424,
"end": 440,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 41
}
},
"value": "./core/helpers",
"rawValue": "./core/helpers",
"raw": "'./core/helpers'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 443,
"end": 481,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 38
}
},
"specifiers": [
{
"type": "Identifier",
"start": 450,
"end": 457,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 14
}
},
"exported": {
"type": "Identifier",
"start": 450,
"end": 457,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 14
}
},
"name": "Object3"
}
}
],
"source": {
"type": "Literal",
"start": 463,
"end": 480,
"loc": {
"start": {
"line": 12,
"column": 20
},
"end": {
"line": 12,
"column": 37
}
},
"value": "./three/object3",
"rawValue": "./three/object3",
"raw": "'./three/object3'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 483,
"end": 525,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 42
}
},
"specifiers": [
{
"type": "Identifier",
"start": 490,
"end": 499,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 16
}
},
"exported": {
"type": "Identifier",
"start": 490,
"end": 499,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 16
}
},
"name": "Raycaster"
}
}
],
"source": {
"type": "Literal",
"start": 505,
"end": 524,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 41
}
},
"value": "./three/raycaster",
"rawValue": "./three/raycaster",
"raw": "'./three/raycaster'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 527,
"end": 573,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 46
}
},
"specifiers": [
{
"type": "Identifier",
"start": 534,
"end": 545,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 14,
"column": 18
}
},
"exported": {
"type": "Identifier",
"start": 534,
"end": 545,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 14,
"column": 18
}
},
"name": "Perspective"
}
}
],
"source": {
"type": "Literal",
"start": 551,
"end": 572,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 45
}
},
"value": "./three/perspective",
"rawValue": "./three/perspective",
"raw": "'./three/perspective'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 575,
"end": 625,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 50
}
},
"specifiers": [
{
"type": "Identifier",
"start": 582,
"end": 599,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 24
}
},
"exported": {
"type": "Identifier",
"start": 582,
"end": 599,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 24
}
},
"name": "MeshPhongMaterial"
}
}
],
"source": {
"type": "Literal",
"start": 605,
"end": 624,
"loc": {
"start": {
"line": 15,
"column": 30
},
"end": {
"line": 15,
"column": 49
}
},
"value": "./materials/phong",
"rawValue": "./materials/phong",
"raw": "'./materials/phong'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 627,
"end": 674,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 16,
"column": 47
}
},
"specifiers": [
{
"type": "Identifier",
"start": 634,
"end": 646,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 19
}
},
"exported": {
"type": "Identifier",
"start": 634,
"end": 646,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 19
}
},
"name": "Presentation"
}
}
],
"source": {
"type": "Literal",
"start": 652,
"end": 673,
"loc": {
"start": {
"line": 16,
"column": 25
},
"end": {
"line": 16,
"column": 46
}
},
"value": "./misc/presentation",
"rawValue": "./misc/presentation",
"raw": "'./misc/presentation'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 676,
"end": 713,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 17,
"column": 37
}
},
"specifiers": [
{
"type": "Identifier",
"start": 683,
"end": 688,
"loc": {
"start": {
"line": 17,
"column": 7
},
"end": {
"line": 17,
"column": 12
}
},
"exported": {
"type": "Identifier",
"start": 683,
"end": 688,
"loc": {
"start": {
"line": 17,
"column": 7
},
"end": {
"line": 17,
"column": 12
}
},
"name": "Orbit"
}
}
],
"source": {
"type": "Literal",
"start": 694,
"end": 712,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 36
}
},
"value": "./controls/orbit",
"rawValue": "./controls/orbit",
"raw": "'./controls/orbit'"
},
"trailingComments": [
{
"type": "CommentLine",
"value": "export SignalR from './communication/signalr';",
"start": 715,
"end": 763,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 48
}
},
"range": [
715,
763
]
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 765,
"end": 813,
"loc": {
"start": {
"line": 19,
"column": 0
},
"end": {
"line": 19,
"column": 48
}
},
"specifiers": [
{
"type": "Identifier",
"start": 772,
"end": 780,
"loc": {
"start": {
"line": 19,
"column": 7
},
"end": {
"line": 19,
"column": 15
}
},
"exported": {
"type": "Identifier",
"start": 772,
"end": 780,
"loc": {
"start": {
"line": 19,
"column": 7
},
"end": {
"line": 19,
"column": 15
}
},
"name": "SocketIO",
"leadingComments": null
},
"leadingComments": null
}
],
"source": {
"type": "Literal",
"start": 786,
"end": 812,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 47
}
},
"value": "./communication/socketio",
"rawValue": "./communication/socketio",
"raw": "'./communication/socketio'"
},
"leadingComments": [
{
"type": "CommentLine",
"value": "export SignalR from './communication/signalr';",
"start": 715,
"end": 763,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 48
}
},
"range": [
715,
763
]
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 815,
"end": 855,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"column": 40
}
},
"specifiers": [
{
"type": "Identifier",
"start": 822,
"end": 826,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 11
}
},
"exported": {
"type": "Identifier",
"start": 822,
"end": 826,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 11
}
},
"name": "Rest"
}
}
],
"source": {
"type": "Literal",
"start": 832,
"end": 854,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 39
}
},
"value": "./communication/rest",
"rawValue": "./communication/rest",
"raw": "'./communication/rest'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 857,
"end": 895,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 21,
"column": 38
}
},
"specifiers": [
{
"type": "Identifier",
"start": 864,
"end": 869,
"loc": {
"start": {
"line": 21,
"column": 7
},
"end": {
"line": 21,
"column": 12
}
},
"exported": {
"type": "Identifier",
"start": 864,
"end": 869,
"loc": {
"start": {
"line": 21,
"column": 7
},
"end": {
"line": 21,
"column": 12
}
},
"name": "Tween"
}
}
],
"source": {
"type": "Literal",
"start": 875,
"end": 894,
"loc": {
"start": {
"line": 21,
"column": 18
},
"end": {
"line": 21,
"column": 37
}
},
"value": "./animation/tween",
"rawValue": "./animation/tween",
"raw": "'./animation/tween'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 897,
"end": 942,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 22,
"column": 45
}
},
"specifiers": [
{
"type": "Identifier",
"start": 904,
"end": 915,
"loc": {
"start": {
"line": 22,
"column": 7
},
"end": {
"line": 22,
"column": 18
}
},
"exported": {
"type": "Identifier",
"start": 909,
"end": 915,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 18
}
},
"name": "easing"
}
}
],
"source": {
"type": "Literal",
"start": 921,
"end": 941,
"loc": {
"start": {
"line": 22,
"column": 24
},
"end": {
"line": 22,
"column": 44
}
},
"value": "./animation/easing",
"rawValue": "./animation/easing",
"raw": "'./animation/easing'"
}
}
]
}