awv3
Version:
AWV client CAD framework
1,448 lines • 30.2 kB
JSON
{
"type": "Program",
"start": 0,
"end": 882,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 22,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ExportNamedDeclaration",
"start": 0,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 53
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 9,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
}
},
"local": {
"type": "Identifier",
"start": 9,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
}
},
"name": "version"
},
"exported": {
"type": "Identifier",
"start": 9,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
}
},
"name": "version"
}
},
{
"type": "ExportSpecifier",
"start": 18,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 29
}
},
"local": {
"type": "Identifier",
"start": 18,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 29
}
},
"name": "lastCreated"
},
"exported": {
"type": "Identifier",
"start": 18,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 29
}
},
"name": "lastCreated"
}
}
],
"source": {
"type": "Literal",
"start": 37,
"end": 52,
"loc": {
"start": {
"line": 1,
"column": 37
},
"end": {
"line": 1,
"column": 52
}
},
"value": "./core/canvas",
"rawValue": "./core/canvas",
"raw": "'./core/canvas'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 54,
"end": 89,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 35
}
},
"specifiers": [
{
"type": "Identifier",
"start": 61,
"end": 67,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 13
}
},
"exported": {
"type": "Identifier",
"start": 61,
"end": 67,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 13
}
},
"name": "Canvas"
}
}
],
"source": {
"type": "Literal",
"start": 73,
"end": 88,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 34
}
},
"value": "./core/canvas",
"rawValue": "./core/canvas",
"raw": "'./core/canvas'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 90,
"end": 121,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 31
}
},
"specifiers": [
{
"type": "Identifier",
"start": 97,
"end": 101,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 11
}
},
"exported": {
"type": "Identifier",
"start": 97,
"end": 101,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 11
}
},
"name": "View"
}
}
],
"source": {
"type": "Literal",
"start": 107,
"end": 120,
"loc": {
"start": {
"line": 3,
"column": 17
},
"end": {
"line": 3,
"column": 30
}
},
"value": "./core/view",
"rawValue": "./core/view",
"raw": "'./core/view'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 122,
"end": 157,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 35
}
},
"specifiers": [
{
"type": "Identifier",
"start": 129,
"end": 135,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 13
}
},
"exported": {
"type": "Identifier",
"start": 129,
"end": 135,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 13
}
},
"name": "Parser"
}
}
],
"source": {
"type": "Literal",
"start": 141,
"end": 156,
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 34
}
},
"value": "./core/parser",
"rawValue": "./core/parser",
"raw": "'./core/parser'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 158,
"end": 197,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 39
}
},
"specifiers": [
{
"type": "Identifier",
"start": 165,
"end": 173,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 15
}
},
"exported": {
"type": "Identifier",
"start": 165,
"end": 173,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 15
}
},
"name": "Renderer"
}
}
],
"source": {
"type": "Literal",
"start": 179,
"end": 196,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 38
}
},
"value": "./core/renderer",
"rawValue": "./core/renderer",
"raw": "'./core/renderer'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 198,
"end": 243,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 45
}
},
"specifiers": [
{
"type": "Identifier",
"start": 205,
"end": 216,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 18
}
},
"exported": {
"type": "Identifier",
"start": 205,
"end": 216,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 18
}
},
"name": "Interaction"
}
}
],
"source": {
"type": "Literal",
"start": 222,
"end": 242,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 44
}
},
"value": "./core/interaction",
"rawValue": "./core/interaction",
"raw": "'./core/interaction'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 244,
"end": 273,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 29
}
},
"specifiers": [
{
"type": "Identifier",
"start": 251,
"end": 254,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 10
}
},
"exported": {
"type": "Identifier",
"start": 251,
"end": 254,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 10
}
},
"name": "Dom"
}
}
],
"source": {
"type": "Literal",
"start": 260,
"end": 272,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 28
}
},
"value": "./core/dom",
"rawValue": "./core/dom",
"raw": "'./core/dom'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 274,
"end": 309,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 35
}
},
"specifiers": [
{
"type": "Identifier",
"start": 281,
"end": 287,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 13
}
},
"exported": {
"type": "Identifier",
"start": 281,
"end": 287,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 13
}
},
"name": "Events"
}
}
],
"source": {
"type": "Literal",
"start": 293,
"end": 308,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 34
}
},
"value": "./core/events",
"rawValue": "./core/events",
"raw": "'./core/events'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 310,
"end": 348,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 38
}
},
"specifiers": [
{
"type": "Identifier",
"start": 317,
"end": 327,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 17
}
},
"exported": {
"type": "Identifier",
"start": 322,
"end": 327,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 17
}
},
"name": "error"
}
}
],
"source": {
"type": "Literal",
"start": 333,
"end": 347,
"loc": {
"start": {
"line": 9,
"column": 23
},
"end": {
"line": 9,
"column": 37
}
},
"value": "./core/error",
"rawValue": "./core/error",
"raw": "'./core/error'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 349,
"end": 391,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 42
}
},
"specifiers": [
{
"type": "Identifier",
"start": 356,
"end": 368,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 19
}
},
"exported": {
"type": "Identifier",
"start": 361,
"end": 368,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 19
}
},
"name": "helpers"
}
}
],
"source": {
"type": "Literal",
"start": 374,
"end": 390,
"loc": {
"start": {
"line": 10,
"column": 25
},
"end": {
"line": 10,
"column": 41
}
},
"value": "./core/helpers",
"rawValue": "./core/helpers",
"raw": "'./core/helpers'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 392,
"end": 430,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 38
}
},
"specifiers": [
{
"type": "Identifier",
"start": 399,
"end": 406,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 14
}
},
"exported": {
"type": "Identifier",
"start": 399,
"end": 406,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 14
}
},
"name": "Object3"
}
}
],
"source": {
"type": "Literal",
"start": 412,
"end": 429,
"loc": {
"start": {
"line": 11,
"column": 20
},
"end": {
"line": 11,
"column": 37
}
},
"value": "./three/object3",
"rawValue": "./three/object3",
"raw": "'./three/object3'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 431,
"end": 473,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 42
}
},
"specifiers": [
{
"type": "Identifier",
"start": 438,
"end": 447,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 16
}
},
"exported": {
"type": "Identifier",
"start": 438,
"end": 447,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 16
}
},
"name": "Raycaster"
}
}
],
"source": {
"type": "Literal",
"start": 453,
"end": 472,
"loc": {
"start": {
"line": 12,
"column": 22
},
"end": {
"line": 12,
"column": 41
}
},
"value": "./three/raycaster",
"rawValue": "./three/raycaster",
"raw": "'./three/raycaster'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 474,
"end": 520,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 46
}
},
"specifiers": [
{
"type": "Identifier",
"start": 481,
"end": 492,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 18
}
},
"exported": {
"type": "Identifier",
"start": 481,
"end": 492,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 18
}
},
"name": "Perspective"
}
}
],
"source": {
"type": "Literal",
"start": 498,
"end": 519,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 45
}
},
"value": "./three/perspective",
"rawValue": "./three/perspective",
"raw": "'./three/perspective'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 521,
"end": 571,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 50
}
},
"specifiers": [
{
"type": "Identifier",
"start": 528,
"end": 545,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 14,
"column": 24
}
},
"exported": {
"type": "Identifier",
"start": 528,
"end": 545,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 14,
"column": 24
}
},
"name": "MeshPhongMaterial"
}
}
],
"source": {
"type": "Literal",
"start": 551,
"end": 570,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 49
}
},
"value": "./materials/phong",
"rawValue": "./materials/phong",
"raw": "'./materials/phong'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 572,
"end": 619,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 47
}
},
"specifiers": [
{
"type": "Identifier",
"start": 579,
"end": 591,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 19
}
},
"exported": {
"type": "Identifier",
"start": 579,
"end": 591,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 19
}
},
"name": "Presentation"
}
}
],
"source": {
"type": "Literal",
"start": 597,
"end": 618,
"loc": {
"start": {
"line": 15,
"column": 25
},
"end": {
"line": 15,
"column": 46
}
},
"value": "./misc/presentation",
"rawValue": "./misc/presentation",
"raw": "'./misc/presentation'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 620,
"end": 657,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 16,
"column": 37
}
},
"specifiers": [
{
"type": "Identifier",
"start": 627,
"end": 632,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 12
}
},
"exported": {
"type": "Identifier",
"start": 627,
"end": 632,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 12
}
},
"name": "Orbit"
}
}
],
"source": {
"type": "Literal",
"start": 638,
"end": 656,
"loc": {
"start": {
"line": 16,
"column": 18
},
"end": {
"line": 16,
"column": 36
}
},
"value": "./controls/orbit",
"rawValue": "./controls/orbit",
"raw": "'./controls/orbit'"
},
"trailingComments": [
{
"type": "CommentLine",
"value": "export SignalR from './communication/signalr';",
"start": 658,
"end": 706,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 17,
"column": 48
}
},
"range": [
658,
706
]
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 707,
"end": 755,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 48
}
},
"specifiers": [
{
"type": "Identifier",
"start": 714,
"end": 722,
"loc": {
"start": {
"line": 18,
"column": 7
},
"end": {
"line": 18,
"column": 15
}
},
"exported": {
"type": "Identifier",
"start": 714,
"end": 722,
"loc": {
"start": {
"line": 18,
"column": 7
},
"end": {
"line": 18,
"column": 15
}
},
"name": "SocketIO",
"leadingComments": null
},
"leadingComments": null
}
],
"source": {
"type": "Literal",
"start": 728,
"end": 754,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 47
}
},
"value": "./communication/socketio",
"rawValue": "./communication/socketio",
"raw": "'./communication/socketio'"
},
"leadingComments": [
{
"type": "CommentLine",
"value": "export SignalR from './communication/signalr';",
"start": 658,
"end": 706,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 17,
"column": 48
}
},
"range": [
658,
706
]
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 756,
"end": 796,
"loc": {
"start": {
"line": 19,
"column": 0
},
"end": {
"line": 19,
"column": 40
}
},
"specifiers": [
{
"type": "Identifier",
"start": 763,
"end": 767,
"loc": {
"start": {
"line": 19,
"column": 7
},
"end": {
"line": 19,
"column": 11
}
},
"exported": {
"type": "Identifier",
"start": 763,
"end": 767,
"loc": {
"start": {
"line": 19,
"column": 7
},
"end": {
"line": 19,
"column": 11
}
},
"name": "Rest"
}
}
],
"source": {
"type": "Literal",
"start": 773,
"end": 795,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 39
}
},
"value": "./communication/rest",
"rawValue": "./communication/rest",
"raw": "'./communication/rest'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 797,
"end": 835,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"column": 38
}
},
"specifiers": [
{
"type": "Identifier",
"start": 804,
"end": 809,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 12
}
},
"exported": {
"type": "Identifier",
"start": 804,
"end": 809,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 12
}
},
"name": "Tween"
}
}
],
"source": {
"type": "Literal",
"start": 815,
"end": 834,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 37
}
},
"value": "./animation/tween",
"rawValue": "./animation/tween",
"raw": "'./animation/tween'"
}
},
{
"type": "ExportNamedDeclaration",
"start": 836,
"end": 881,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 21,
"column": 45
}
},
"specifiers": [
{
"type": "Identifier",
"start": 843,
"end": 854,
"loc": {
"start": {
"line": 21,
"column": 7
},
"end": {
"line": 21,
"column": 18
}
},
"exported": {
"type": "Identifier",
"start": 848,
"end": 854,
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 18
}
},
"name": "easing"
}
}
],
"source": {
"type": "Literal",
"start": 860,
"end": 880,
"loc": {
"start": {
"line": 21,
"column": 24
},
"end": {
"line": 21,
"column": 44
}
},
"value": "./animation/easing",
"rawValue": "./animation/easing",
"raw": "'./animation/easing'"
}
}
]
}