awv3
Version:
AWV client CAD framework
1,514 lines • 31.6 kB
JSON
{
"type": "Program",
"start": 0,
"end": 922,
"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": 40,
"end": 93,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 53
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 49,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 16
}
},
"local": {
"type": "Identifier",
"start": 49,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 16
}
},
"name": "version"
},
"exported": {
"type": "Identifier",
"start": 49,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 16
}
},
"name": "version"
}
},
{
"type": "ExportSpecifier",
"start": 58,
"end": 69,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 29
}
},
"local": {
"type": "Identifier",
"start": 58,
"end": 69,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 29
}
},
"name": "lastCreated"
},
"exported": {
"type": "Identifier",
"start": 58,
"end": 69,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 29
}
},
"name": "lastCreated"
}
}
],
"source": {
"type": "Literal",
"start": 77,
"end": 92,
"loc": {
"start": {
"line": 2,
"column": 37
},
"end": {
"line": 2,
"column": 52
}
},
"value": "./core/canvas",
"rawValue": "./core/canvas",
"raw": "'./core/canvas'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 94,
"end": 129,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 35
}
},
"specifiers": [
{
"type": "Identifier",
"start": 101,
"end": 107,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"exported": {
"type": "Identifier",
"start": 101,
"end": 107,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"name": "Canvas"
}
}
],
"source": {
"type": "Literal",
"start": 113,
"end": 128,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 34
}
},
"value": "./core/canvas",
"rawValue": "./core/canvas",
"raw": "'./core/canvas'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 130,
"end": 161,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 31
}
},
"specifiers": [
{
"type": "Identifier",
"start": 137,
"end": 141,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 11
}
},
"exported": {
"type": "Identifier",
"start": 137,
"end": 141,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 11
}
},
"name": "View"
}
}
],
"source": {
"type": "Literal",
"start": 147,
"end": 160,
"loc": {
"start": {
"line": 4,
"column": 17
},
"end": {
"line": 4,
"column": 30
}
},
"value": "./core/view",
"rawValue": "./core/view",
"raw": "'./core/view'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 162,
"end": 197,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 35
}
},
"specifiers": [
{
"type": "Identifier",
"start": 169,
"end": 175,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 13
}
},
"exported": {
"type": "Identifier",
"start": 169,
"end": 175,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 13
}
},
"name": "Parser"
}
}
],
"source": {
"type": "Literal",
"start": 181,
"end": 196,
"loc": {
"start": {
"line": 5,
"column": 19
},
"end": {
"line": 5,
"column": 34
}
},
"value": "./core/parser",
"rawValue": "./core/parser",
"raw": "'./core/parser'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 198,
"end": 237,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 39
}
},
"specifiers": [
{
"type": "Identifier",
"start": 205,
"end": 213,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 15
}
},
"exported": {
"type": "Identifier",
"start": 205,
"end": 213,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 15
}
},
"name": "Renderer"
}
}
],
"source": {
"type": "Literal",
"start": 219,
"end": 236,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 38
}
},
"value": "./core/renderer",
"rawValue": "./core/renderer",
"raw": "'./core/renderer'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 238,
"end": 283,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 45
}
},
"specifiers": [
{
"type": "Identifier",
"start": 245,
"end": 256,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 18
}
},
"exported": {
"type": "Identifier",
"start": 245,
"end": 256,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 18
}
},
"name": "Interaction"
}
}
],
"source": {
"type": "Literal",
"start": 262,
"end": 282,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 44
}
},
"value": "./core/interaction",
"rawValue": "./core/interaction",
"raw": "'./core/interaction'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 284,
"end": 313,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 29
}
},
"specifiers": [
{
"type": "Identifier",
"start": 291,
"end": 294,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 10
}
},
"exported": {
"type": "Identifier",
"start": 291,
"end": 294,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 10
}
},
"name": "Dom"
}
}
],
"source": {
"type": "Literal",
"start": 300,
"end": 312,
"loc": {
"start": {
"line": 8,
"column": 16
},
"end": {
"line": 8,
"column": 28
}
},
"value": "./core/dom",
"rawValue": "./core/dom",
"raw": "'./core/dom'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 314,
"end": 349,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 35
}
},
"specifiers": [
{
"type": "Identifier",
"start": 321,
"end": 327,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 13
}
},
"exported": {
"type": "Identifier",
"start": 321,
"end": 327,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 13
}
},
"name": "Events"
}
}
],
"source": {
"type": "Literal",
"start": 333,
"end": 348,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 34
}
},
"value": "./core/events",
"rawValue": "./core/events",
"raw": "'./core/events'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 350,
"end": 388,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 38
}
},
"specifiers": [
{
"type": "Identifier",
"start": 357,
"end": 367,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 17
}
},
"exported": {
"type": "Identifier",
"start": 362,
"end": 367,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 17
}
},
"name": "error"
}
}
],
"source": {
"type": "Literal",
"start": 373,
"end": 387,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 37
}
},
"value": "./core/error",
"rawValue": "./core/error",
"raw": "'./core/error'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 389,
"end": 431,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 42
}
},
"specifiers": [
{
"type": "Identifier",
"start": 396,
"end": 408,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 19
}
},
"exported": {
"type": "Identifier",
"start": 401,
"end": 408,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 19
}
},
"name": "helpers"
}
}
],
"source": {
"type": "Literal",
"start": 414,
"end": 430,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 41
}
},
"value": "./core/helpers",
"rawValue": "./core/helpers",
"raw": "'./core/helpers'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 432,
"end": 470,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 38
}
},
"specifiers": [
{
"type": "Identifier",
"start": 439,
"end": 446,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 14
}
},
"exported": {
"type": "Identifier",
"start": 439,
"end": 446,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 14
}
},
"name": "Object3"
}
}
],
"source": {
"type": "Literal",
"start": 452,
"end": 469,
"loc": {
"start": {
"line": 12,
"column": 20
},
"end": {
"line": 12,
"column": 37
}
},
"value": "./three/object3",
"rawValue": "./three/object3",
"raw": "'./three/object3'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 471,
"end": 513,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 42
}
},
"specifiers": [
{
"type": "Identifier",
"start": 478,
"end": 487,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 16
}
},
"exported": {
"type": "Identifier",
"start": 478,
"end": 487,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 16
}
},
"name": "Raycaster"
}
}
],
"source": {
"type": "Literal",
"start": 493,
"end": 512,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 41
}
},
"value": "./three/raycaster",
"rawValue": "./three/raycaster",
"raw": "'./three/raycaster'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 514,
"end": 560,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 46
}
},
"specifiers": [
{
"type": "Identifier",
"start": 521,
"end": 532,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 14,
"column": 18
}
},
"exported": {
"type": "Identifier",
"start": 521,
"end": 532,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 14,
"column": 18
}
},
"name": "Perspective"
}
}
],
"source": {
"type": "Literal",
"start": 538,
"end": 559,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 45
}
},
"value": "./three/perspective",
"rawValue": "./three/perspective",
"raw": "'./three/perspective'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 561,
"end": 611,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 50
}
},
"specifiers": [
{
"type": "Identifier",
"start": 568,
"end": 585,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 24
}
},
"exported": {
"type": "Identifier",
"start": 568,
"end": 585,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 24
}
},
"name": "MeshPhongMaterial"
}
}
],
"source": {
"type": "Literal",
"start": 591,
"end": 610,
"loc": {
"start": {
"line": 15,
"column": 30
},
"end": {
"line": 15,
"column": 49
}
},
"value": "./materials/phong",
"rawValue": "./materials/phong",
"raw": "'./materials/phong'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 612,
"end": 659,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 16,
"column": 47
}
},
"specifiers": [
{
"type": "Identifier",
"start": 619,
"end": 631,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 19
}
},
"exported": {
"type": "Identifier",
"start": 619,
"end": 631,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 19
}
},
"name": "Presentation"
}
}
],
"source": {
"type": "Literal",
"start": 637,
"end": 658,
"loc": {
"start": {
"line": 16,
"column": 25
},
"end": {
"line": 16,
"column": 46
}
},
"value": "./misc/presentation",
"rawValue": "./misc/presentation",
"raw": "'./misc/presentation'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 660,
"end": 697,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 17,
"column": 37
}
},
"specifiers": [
{
"type": "Identifier",
"start": 667,
"end": 672,
"loc": {
"start": {
"line": 17,
"column": 7
},
"end": {
"line": 17,
"column": 12
}
},
"exported": {
"type": "Identifier",
"start": 667,
"end": 672,
"loc": {
"start": {
"line": 17,
"column": 7
},
"end": {
"line": 17,
"column": 12
}
},
"name": "Orbit"
}
}
],
"source": {
"type": "Literal",
"start": 678,
"end": 696,
"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": 698,
"end": 746,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 48
}
},
"range": [
698,
746
]
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 747,
"end": 795,
"loc": {
"start": {
"line": 19,
"column": 0
},
"end": {
"line": 19,
"column": 48
}
},
"specifiers": [
{
"type": "Identifier",
"start": 754,
"end": 762,
"loc": {
"start": {
"line": 19,
"column": 7
},
"end": {
"line": 19,
"column": 15
}
},
"exported": {
"type": "Identifier",
"start": 754,
"end": 762,
"loc": {
"start": {
"line": 19,
"column": 7
},
"end": {
"line": 19,
"column": 15
}
},
"name": "SocketIO",
"leadingComments": null
},
"leadingComments": null
}
],
"source": {
"type": "Literal",
"start": 768,
"end": 794,
"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": 698,
"end": 746,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 48
}
},
"range": [
698,
746
]
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 796,
"end": 836,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"column": 40
}
},
"specifiers": [
{
"type": "Identifier",
"start": 803,
"end": 807,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 11
}
},
"exported": {
"type": "Identifier",
"start": 803,
"end": 807,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 11
}
},
"name": "Rest"
}
}
],
"source": {
"type": "Literal",
"start": 813,
"end": 835,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 39
}
},
"value": "./communication/rest",
"rawValue": "./communication/rest",
"raw": "'./communication/rest'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 837,
"end": 875,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 21,
"column": 38
}
},
"specifiers": [
{
"type": "Identifier",
"start": 844,
"end": 849,
"loc": {
"start": {
"line": 21,
"column": 7
},
"end": {
"line": 21,
"column": 12
}
},
"exported": {
"type": "Identifier",
"start": 844,
"end": 849,
"loc": {
"start": {
"line": 21,
"column": 7
},
"end": {
"line": 21,
"column": 12
}
},
"name": "Tween"
}
}
],
"source": {
"type": "Literal",
"start": 855,
"end": 874,
"loc": {
"start": {
"line": 21,
"column": 18
},
"end": {
"line": 21,
"column": 37
}
},
"value": "./animation/tween",
"rawValue": "./animation/tween",
"raw": "'./animation/tween'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 876,
"end": 921,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 22,
"column": 45
}
},
"specifiers": [
{
"type": "Identifier",
"start": 883,
"end": 894,
"loc": {
"start": {
"line": 22,
"column": 7
},
"end": {
"line": 22,
"column": 18
}
},
"exported": {
"type": "Identifier",
"start": 888,
"end": 894,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 18
}
},
"name": "easing"
}
}
],
"source": {
"type": "Literal",
"start": 900,
"end": 920,
"loc": {
"start": {
"line": 22,
"column": 24
},
"end": {
"line": 22,
"column": 44
}
},
"value": "./animation/easing",
"rawValue": "./animation/easing",
"raw": "'./animation/easing'"
}
}
]
}