mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Init
This commit is contained in:
parent
f519facafe
commit
dfef3713a7
@ -18,7 +18,6 @@ plugins:
|
||||
- "@typescript-eslint"
|
||||
- "prettier"
|
||||
rules:
|
||||
prettier/prettier: error
|
||||
no-undef: off
|
||||
no-unused-vars: off
|
||||
no-prototype-builtins: off
|
||||
|
7
.gitignore
vendored
7
.gitignore
vendored
@ -50,3 +50,10 @@ tmp_standalone_files
|
||||
# Local config
|
||||
config.local.js
|
||||
.DS_Store
|
||||
gulp/package-lock.json
|
||||
gulp/yarn.lock
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
modloader/runnable-texturepacker.jar
|
||||
modloader/modloader.rar
|
||||
modloader/atlas/
|
||||
|
11
README.md
11
README.md
@ -35,9 +35,9 @@ Your goal is to produce shapes by cutting, rotating, merging and painting parts
|
||||
|
||||
You can use [Gitpod](https://www.gitpod.io/) (an Online Open Source VS Code-like IDE which is free for Open Source) for working on issues and making PRs to this project. With a single click it will start a workspace and automatically:
|
||||
|
||||
- clone the `shapez.io` repo.
|
||||
- install all of the dependencies.
|
||||
- start `gulp` in `gulp/` directory.
|
||||
- clone the `shapez.io` repo.
|
||||
- install all of the dependencies.
|
||||
- start `gulp` in `gulp/` directory.
|
||||
|
||||
[](https://gitpod.io/from-referrer/)
|
||||
|
||||
@ -130,3 +130,8 @@ For most assets I use Adobe Photoshop, you can find them <a href="//github.com/t
|
||||
All assets will be automatically rebuilt into the atlas once changed (Thanks to dengr1065!)
|
||||
|
||||
<img src="https://i.imgur.com/W25Fkl0.png" alt="shapez.io Screenshot">
|
||||
|
||||
For generating docs:
|
||||
npm run esdoc
|
||||
Replace name.replace('\*', '\\\\\*') with name.replace('\*', '\\\\\*').replace('[', '\\\\[').replace(']', '\\\\]').replace('(', '\\\\(').replace(')', '\\\\)') in node_modules\esdoc-publish-html-plugin\out\src\Builder\DocBuilder.js:116:20)
|
||||
Replace autoPrivate && doc.name.charAt(0) === '\_' with autoPrivate && doc.name && doc.name.charAt(0) === '\_' in node_modules\esdoc-accessor-plugin\src\Plugin.js:16
|
||||
|
2802
docs/ast/source/.external-ecmascript.js.json
Normal file
2802
docs/ast/source/.external-ecmascript.js.json
Normal file
File diff suppressed because it is too large
Load Diff
71284
docs/ast/source/application.js.json
Normal file
71284
docs/ast/source/application.js.json
Normal file
File diff suppressed because it is too large
Load Diff
28021
docs/ast/source/changelog.js.json
Normal file
28021
docs/ast/source/changelog.js.json
Normal file
File diff suppressed because it is too large
Load Diff
11302
docs/ast/source/core/animation_frame.js.json
Normal file
11302
docs/ast/source/core/animation_frame.js.json
Normal file
File diff suppressed because it is too large
Load Diff
3709
docs/ast/source/core/assert.js.json
Normal file
3709
docs/ast/source/core/assert.js.json
Normal file
File diff suppressed because it is too large
Load Diff
25345
docs/ast/source/core/async_compression.js.json
Normal file
25345
docs/ast/source/core/async_compression.js.json
Normal file
File diff suppressed because it is too large
Load Diff
4440
docs/ast/source/core/atlas_definitions.js.json
Normal file
4440
docs/ast/source/core/atlas_definitions.js.json
Normal file
File diff suppressed because it is too large
Load Diff
42901
docs/ast/source/core/background_resources_loader.js.json
Normal file
42901
docs/ast/source/core/background_resources_loader.js.json
Normal file
File diff suppressed because it is too large
Load Diff
23385
docs/ast/source/core/buffer_maintainer.js.json
Normal file
23385
docs/ast/source/core/buffer_maintainer.js.json
Normal file
File diff suppressed because it is too large
Load Diff
1391
docs/ast/source/core/cachebust.js.json
Normal file
1391
docs/ast/source/core/cachebust.js.json
Normal file
File diff suppressed because it is too large
Load Diff
76429
docs/ast/source/core/click_detector.js.json
Normal file
76429
docs/ast/source/core/click_detector.js.json
Normal file
File diff suppressed because it is too large
Load Diff
21464
docs/ast/source/core/config.js.json
Normal file
21464
docs/ast/source/core/config.js.json
Normal file
File diff suppressed because it is too large
Load Diff
5832
docs/ast/source/core/config.local.js.json
Normal file
5832
docs/ast/source/core/config.local.js.json
Normal file
File diff suppressed because it is too large
Load Diff
21310
docs/ast/source/core/dpi_manager.js.json
Normal file
21310
docs/ast/source/core/dpi_manager.js.json
Normal file
File diff suppressed because it is too large
Load Diff
2907
docs/ast/source/core/draw_parameters.js.json
Normal file
2907
docs/ast/source/core/draw_parameters.js.json
Normal file
File diff suppressed because it is too large
Load Diff
23111
docs/ast/source/core/draw_utils.js.json
Normal file
23111
docs/ast/source/core/draw_utils.js.json
Normal file
File diff suppressed because it is too large
Load Diff
24414
docs/ast/source/core/error_handler.js.json
Normal file
24414
docs/ast/source/core/error_handler.js.json
Normal file
File diff suppressed because it is too large
Load Diff
6649
docs/ast/source/core/explained_result.js.json
Normal file
6649
docs/ast/source/core/explained_result.js.json
Normal file
File diff suppressed because it is too large
Load Diff
9927
docs/ast/source/core/factory.js.json
Normal file
9927
docs/ast/source/core/factory.js.json
Normal file
File diff suppressed because it is too large
Load Diff
38785
docs/ast/source/core/game_state.js.json
Normal file
38785
docs/ast/source/core/game_state.js.json
Normal file
File diff suppressed because it is too large
Load Diff
4369
docs/ast/source/core/global_registries.js.json
Normal file
4369
docs/ast/source/core/global_registries.js.json
Normal file
File diff suppressed because it is too large
Load Diff
1684
docs/ast/source/core/globals.js.json
Normal file
1684
docs/ast/source/core/globals.js.json
Normal file
File diff suppressed because it is too large
Load Diff
39003
docs/ast/source/core/input_distributor.js.json
Normal file
39003
docs/ast/source/core/input_distributor.js.json
Normal file
File diff suppressed because it is too large
Load Diff
4386
docs/ast/source/core/input_receiver.js.json
Normal file
4386
docs/ast/source/core/input_receiver.js.json
Normal file
File diff suppressed because it is too large
Load Diff
48576
docs/ast/source/core/loader.js.json
Normal file
48576
docs/ast/source/core/loader.js.json
Normal file
File diff suppressed because it is too large
Load Diff
43476
docs/ast/source/core/logging.js.json
Normal file
43476
docs/ast/source/core/logging.js.json
Normal file
File diff suppressed because it is too large
Load Diff
105761
docs/ast/source/core/lzstring.js.json
Normal file
105761
docs/ast/source/core/lzstring.js.json
Normal file
File diff suppressed because it is too large
Load Diff
88365
docs/ast/source/core/modal_dialog_elements.js.json
Normal file
88365
docs/ast/source/core/modal_dialog_elements.js.json
Normal file
File diff suppressed because it is too large
Load Diff
36100
docs/ast/source/core/modal_dialog_forms.js.json
Normal file
36100
docs/ast/source/core/modal_dialog_forms.js.json
Normal file
File diff suppressed because it is too large
Load Diff
22614
docs/ast/source/core/polyfills.js.json
Normal file
22614
docs/ast/source/core/polyfills.js.json
Normal file
File diff suppressed because it is too large
Load Diff
3731
docs/ast/source/core/query_parameters.js.json
Normal file
3731
docs/ast/source/core/query_parameters.js.json
Normal file
File diff suppressed because it is too large
Load Diff
55672
docs/ast/source/core/read_write_proxy.js.json
Normal file
55672
docs/ast/source/core/read_write_proxy.js.json
Normal file
File diff suppressed because it is too large
Load Diff
52824
docs/ast/source/core/rectangle.js.json
Normal file
52824
docs/ast/source/core/rectangle.js.json
Normal file
File diff suppressed because it is too large
Load Diff
10635
docs/ast/source/core/request_channel.js.json
Normal file
10635
docs/ast/source/core/request_channel.js.json
Normal file
File diff suppressed because it is too large
Load Diff
15777
docs/ast/source/core/restriction_manager.js.json
Normal file
15777
docs/ast/source/core/restriction_manager.js.json
Normal file
File diff suppressed because it is too large
Load Diff
21106
docs/ast/source/core/rng.js.json
Normal file
21106
docs/ast/source/core/rng.js.json
Normal file
File diff suppressed because it is too large
Load Diff
4402
docs/ast/source/core/sensitive_utils.encrypt.js.json
Normal file
4402
docs/ast/source/core/sensitive_utils.encrypt.js.json
Normal file
File diff suppressed because it is too large
Load Diff
10124
docs/ast/source/core/signal.js.json
Normal file
10124
docs/ast/source/core/signal.js.json
Normal file
File diff suppressed because it is too large
Load Diff
12390
docs/ast/source/core/singleton_factory.js.json
Normal file
12390
docs/ast/source/core/singleton_factory.js.json
Normal file
File diff suppressed because it is too large
Load Diff
65199
docs/ast/source/core/sprites.js.json
Normal file
65199
docs/ast/source/core/sprites.js.json
Normal file
File diff suppressed because it is too large
Load Diff
15531
docs/ast/source/core/stale_area_detector.js.json
Normal file
15531
docs/ast/source/core/stale_area_detector.js.json
Normal file
File diff suppressed because it is too large
Load Diff
20443
docs/ast/source/core/state_manager.js.json
Normal file
20443
docs/ast/source/core/state_manager.js.json
Normal file
File diff suppressed because it is too large
Load Diff
19432
docs/ast/source/core/textual_game_state.js.json
Normal file
19432
docs/ast/source/core/textual_game_state.js.json
Normal file
File diff suppressed because it is too large
Load Diff
6476
docs/ast/source/core/tracked_state.js.json
Normal file
6476
docs/ast/source/core/tracked_state.js.json
Normal file
File diff suppressed because it is too large
Load Diff
121103
docs/ast/source/core/utils.js.json
Normal file
121103
docs/ast/source/core/utils.js.json
Normal file
File diff suppressed because it is too large
Load Diff
93985
docs/ast/source/core/vector.js.json
Normal file
93985
docs/ast/source/core/vector.js.json
Normal file
File diff suppressed because it is too large
Load Diff
12168
docs/ast/source/game/automatic_save.js.json
Normal file
12168
docs/ast/source/game/automatic_save.js.json
Normal file
File diff suppressed because it is too large
Load Diff
8863
docs/ast/source/game/base_item.js.json
Normal file
8863
docs/ast/source/game/base_item.js.json
Normal file
File diff suppressed because it is too large
Load Diff
238542
docs/ast/source/game/belt_path.js.json
Normal file
238542
docs/ast/source/game/belt_path.js.json
Normal file
File diff suppressed because it is too large
Load Diff
32048
docs/ast/source/game/blueprint.js.json
Normal file
32048
docs/ast/source/game/blueprint.js.json
Normal file
File diff suppressed because it is too large
Load Diff
6888
docs/ast/source/game/building_codes.js.json
Normal file
6888
docs/ast/source/game/building_codes.js.json
Normal file
File diff suppressed because it is too large
Load Diff
29805
docs/ast/source/game/buildings/analyzer.js.json
Normal file
29805
docs/ast/source/game/buildings/analyzer.js.json
Normal file
File diff suppressed because it is too large
Load Diff
83347
docs/ast/source/game/buildings/balancer.js.json
Normal file
83347
docs/ast/source/game/buildings/balancer.js.json
Normal file
File diff suppressed because it is too large
Load Diff
54479
docs/ast/source/game/buildings/belt.js.json
Normal file
54479
docs/ast/source/game/buildings/belt.js.json
Normal file
File diff suppressed because it is too large
Load Diff
29223
docs/ast/source/game/buildings/comparator.js.json
Normal file
29223
docs/ast/source/game/buildings/comparator.js.json
Normal file
File diff suppressed because it is too large
Load Diff
25222
docs/ast/source/game/buildings/constant_signal.js.json
Normal file
25222
docs/ast/source/game/buildings/constant_signal.js.json
Normal file
File diff suppressed because it is too large
Load Diff
35740
docs/ast/source/game/buildings/cutter.js.json
Normal file
35740
docs/ast/source/game/buildings/cutter.js.json
Normal file
File diff suppressed because it is too large
Load Diff
22663
docs/ast/source/game/buildings/display.js.json
Normal file
22663
docs/ast/source/game/buildings/display.js.json
Normal file
File diff suppressed because it is too large
Load Diff
34077
docs/ast/source/game/buildings/filter.js.json
Normal file
34077
docs/ast/source/game/buildings/filter.js.json
Normal file
File diff suppressed because it is too large
Load Diff
54223
docs/ast/source/game/buildings/hub.js.json
Normal file
54223
docs/ast/source/game/buildings/hub.js.json
Normal file
File diff suppressed because it is too large
Load Diff
23522
docs/ast/source/game/buildings/item_producer.js.json
Normal file
23522
docs/ast/source/game/buildings/item_producer.js.json
Normal file
File diff suppressed because it is too large
Load Diff
24482
docs/ast/source/game/buildings/lever.js.json
Normal file
24482
docs/ast/source/game/buildings/lever.js.json
Normal file
File diff suppressed because it is too large
Load Diff
57083
docs/ast/source/game/buildings/logic_gate.js.json
Normal file
57083
docs/ast/source/game/buildings/logic_gate.js.json
Normal file
File diff suppressed because it is too large
Load Diff
31760
docs/ast/source/game/buildings/miner.js.json
Normal file
31760
docs/ast/source/game/buildings/miner.js.json
Normal file
File diff suppressed because it is too large
Load Diff
30629
docs/ast/source/game/buildings/mixer.js.json
Normal file
30629
docs/ast/source/game/buildings/mixer.js.json
Normal file
File diff suppressed because it is too large
Load Diff
76121
docs/ast/source/game/buildings/painter.js.json
Normal file
76121
docs/ast/source/game/buildings/painter.js.json
Normal file
File diff suppressed because it is too large
Load Diff
38227
docs/ast/source/game/buildings/reader.js.json
Normal file
38227
docs/ast/source/game/buildings/reader.js.json
Normal file
File diff suppressed because it is too large
Load Diff
46654
docs/ast/source/game/buildings/rotater.js.json
Normal file
46654
docs/ast/source/game/buildings/rotater.js.json
Normal file
File diff suppressed because it is too large
Load Diff
33139
docs/ast/source/game/buildings/stacker.js.json
Normal file
33139
docs/ast/source/game/buildings/stacker.js.json
Normal file
File diff suppressed because it is too large
Load Diff
38350
docs/ast/source/game/buildings/storage.js.json
Normal file
38350
docs/ast/source/game/buildings/storage.js.json
Normal file
File diff suppressed because it is too large
Load Diff
34236
docs/ast/source/game/buildings/transistor.js.json
Normal file
34236
docs/ast/source/game/buildings/transistor.js.json
Normal file
File diff suppressed because it is too large
Load Diff
28158
docs/ast/source/game/buildings/trash.js.json
Normal file
28158
docs/ast/source/game/buildings/trash.js.json
Normal file
File diff suppressed because it is too large
Load Diff
62705
docs/ast/source/game/buildings/underground_belt.js.json
Normal file
62705
docs/ast/source/game/buildings/underground_belt.js.json
Normal file
File diff suppressed because it is too large
Load Diff
65339
docs/ast/source/game/buildings/virtual_processor.js.json
Normal file
65339
docs/ast/source/game/buildings/virtual_processor.js.json
Normal file
File diff suppressed because it is too large
Load Diff
63585
docs/ast/source/game/buildings/wire.js.json
Normal file
63585
docs/ast/source/game/buildings/wire.js.json
Normal file
File diff suppressed because it is too large
Load Diff
21592
docs/ast/source/game/buildings/wire_tunnel.js.json
Normal file
21592
docs/ast/source/game/buildings/wire_tunnel.js.json
Normal file
File diff suppressed because it is too large
Load Diff
195799
docs/ast/source/game/camera.js.json
Normal file
195799
docs/ast/source/game/camera.js.json
Normal file
File diff suppressed because it is too large
Load Diff
27245
docs/ast/source/game/colors.js.json
Normal file
27245
docs/ast/source/game/colors.js.json
Normal file
File diff suppressed because it is too large
Load Diff
2814
docs/ast/source/game/component.js.json
Normal file
2814
docs/ast/source/game/component.js.json
Normal file
File diff suppressed because it is too large
Load Diff
13546
docs/ast/source/game/component_registry.js.json
Normal file
13546
docs/ast/source/game/component_registry.js.json
Normal file
File diff suppressed because it is too large
Load Diff
19188
docs/ast/source/game/components/belt.js.json
Normal file
19188
docs/ast/source/game/components/belt.js.json
Normal file
File diff suppressed because it is too large
Load Diff
4105
docs/ast/source/game/components/belt_reader.js.json
Normal file
4105
docs/ast/source/game/components/belt_reader.js.json
Normal file
File diff suppressed because it is too large
Load Diff
3319
docs/ast/source/game/components/belt_underlays.js.json
Normal file
3319
docs/ast/source/game/components/belt_underlays.js.json
Normal file
File diff suppressed because it is too large
Load Diff
4234
docs/ast/source/game/components/constant_signal.js.json
Normal file
4234
docs/ast/source/game/components/constant_signal.js.json
Normal file
File diff suppressed because it is too large
Load Diff
929
docs/ast/source/game/components/display.js.json
Normal file
929
docs/ast/source/game/components/display.js.json
Normal file
@ -0,0 +1,929 @@
|
||||
{
|
||||
"type": "File",
|
||||
"start": 0,
|
||||
"end": 155,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
}
|
||||
},
|
||||
"program": {
|
||||
"type": "Program",
|
||||
"start": 0,
|
||||
"end": 155,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
}
|
||||
},
|
||||
"sourceType": "module",
|
||||
"body": [
|
||||
{
|
||||
"type": "ImportDeclaration",
|
||||
"start": 0,
|
||||
"end": 41,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 41
|
||||
}
|
||||
},
|
||||
"specifiers": [
|
||||
{
|
||||
"type": "ImportSpecifier",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
}
|
||||
},
|
||||
"imported": {
|
||||
"type": "Identifier",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
},
|
||||
"identifierName": "Component"
|
||||
},
|
||||
"name": "Component"
|
||||
},
|
||||
"local": {
|
||||
"type": "Identifier",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
},
|
||||
"identifierName": "Component"
|
||||
},
|
||||
"name": "Component"
|
||||
}
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"type": "StringLiteral",
|
||||
"start": 26,
|
||||
"end": 40,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 26
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 40
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"rawValue": "../component",
|
||||
"raw": "\"../component\""
|
||||
},
|
||||
"value": "../component"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "ExportNamedDeclaration",
|
||||
"start": 45,
|
||||
"end": 153,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
},
|
||||
"specifiers": [],
|
||||
"source": null,
|
||||
"declaration": {
|
||||
"type": "ClassDeclaration",
|
||||
"start": 52,
|
||||
"end": 153,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "Identifier",
|
||||
"start": 58,
|
||||
"end": 74,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 13
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 29
|
||||
},
|
||||
"identifierName": "DisplayComponent"
|
||||
},
|
||||
"name": "DisplayComponent"
|
||||
},
|
||||
"superClass": {
|
||||
"type": "Identifier",
|
||||
"start": 83,
|
||||
"end": 92,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 47
|
||||
},
|
||||
"identifierName": "Component"
|
||||
},
|
||||
"name": "Component"
|
||||
},
|
||||
"body": {
|
||||
"type": "ClassBody",
|
||||
"start": 93,
|
||||
"end": 153,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 48
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"type": "ClassMethod",
|
||||
"start": 100,
|
||||
"end": 150,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 5
|
||||
}
|
||||
},
|
||||
"static": true,
|
||||
"computed": false,
|
||||
"key": {
|
||||
"type": "Identifier",
|
||||
"start": 107,
|
||||
"end": 112,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 11
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 16
|
||||
},
|
||||
"identifierName": "getId"
|
||||
},
|
||||
"name": "getId"
|
||||
},
|
||||
"kind": "method",
|
||||
"id": null,
|
||||
"generator": false,
|
||||
"expression": false,
|
||||
"async": false,
|
||||
"params": [],
|
||||
"body": {
|
||||
"type": "BlockStatement",
|
||||
"start": 115,
|
||||
"end": 150,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 5
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"type": "ReturnStatement",
|
||||
"start": 126,
|
||||
"end": 143,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 8
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 25
|
||||
}
|
||||
},
|
||||
"argument": {
|
||||
"type": "StringLiteral",
|
||||
"start": 133,
|
||||
"end": 142,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 15
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 24
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"rawValue": "Display",
|
||||
"raw": "\"Display\""
|
||||
},
|
||||
"value": "Display"
|
||||
}
|
||||
}
|
||||
],
|
||||
"directives": []
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"leadingComments": [],
|
||||
"trailingComments": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"directives": []
|
||||
},
|
||||
"comments": [],
|
||||
"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": "Component",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "}",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 19,
|
||||
"end": 20,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 20
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "from",
|
||||
"start": 21,
|
||||
"end": 25,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 21
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "string",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "../component",
|
||||
"start": 26,
|
||||
"end": 40,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 26
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 40
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": ";",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"start": 40,
|
||||
"end": 41,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 40
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 41
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": 45,
|
||||
"end": 51,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": 52,
|
||||
"end": 57,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 12
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "DisplayComponent",
|
||||
"start": 58,
|
||||
"end": 74,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 13
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 29
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "extends",
|
||||
"keyword": "extends",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "extends",
|
||||
"start": 75,
|
||||
"end": 82,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 30
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 37
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "Component",
|
||||
"start": 83,
|
||||
"end": 92,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 47
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "{",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 93,
|
||||
"end": 94,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 48
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 49
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "static",
|
||||
"start": 100,
|
||||
"end": 106,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "getId",
|
||||
"start": 107,
|
||||
"end": 112,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 11
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 16
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "(",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 112,
|
||||
"end": 113,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 16
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 17
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": ")",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 113,
|
||||
"end": 114,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 17
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 18
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "{",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 115,
|
||||
"end": 116,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 20
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "return",
|
||||
"keyword": "return",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "return",
|
||||
"start": 126,
|
||||
"end": 132,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 8
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "string",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "Display",
|
||||
"start": 133,
|
||||
"end": 142,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 15
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 24
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": ";",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"start": 142,
|
||||
"end": 143,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 24
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "}",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 149,
|
||||
"end": 150,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 6,
|
||||
"column": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "}",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 152,
|
||||
"end": 153,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 7,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "eof",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"start": 155,
|
||||
"end": 155,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
5529
docs/ast/source/game/components/filter.js.json
Normal file
5529
docs/ast/source/game/components/filter.js.json
Normal file
File diff suppressed because it is too large
Load Diff
929
docs/ast/source/game/components/hub.js.json
Normal file
929
docs/ast/source/game/components/hub.js.json
Normal file
@ -0,0 +1,929 @@
|
||||
{
|
||||
"type": "File",
|
||||
"start": 0,
|
||||
"end": 147,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
}
|
||||
},
|
||||
"program": {
|
||||
"type": "Program",
|
||||
"start": 0,
|
||||
"end": 147,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
}
|
||||
},
|
||||
"sourceType": "module",
|
||||
"body": [
|
||||
{
|
||||
"type": "ImportDeclaration",
|
||||
"start": 0,
|
||||
"end": 41,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 41
|
||||
}
|
||||
},
|
||||
"specifiers": [
|
||||
{
|
||||
"type": "ImportSpecifier",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
}
|
||||
},
|
||||
"imported": {
|
||||
"type": "Identifier",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
},
|
||||
"identifierName": "Component"
|
||||
},
|
||||
"name": "Component"
|
||||
},
|
||||
"local": {
|
||||
"type": "Identifier",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
},
|
||||
"identifierName": "Component"
|
||||
},
|
||||
"name": "Component"
|
||||
}
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"type": "StringLiteral",
|
||||
"start": 26,
|
||||
"end": 40,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 26
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 40
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"rawValue": "../component",
|
||||
"raw": "\"../component\""
|
||||
},
|
||||
"value": "../component"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "ExportNamedDeclaration",
|
||||
"start": 45,
|
||||
"end": 145,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
},
|
||||
"specifiers": [],
|
||||
"source": null,
|
||||
"declaration": {
|
||||
"type": "ClassDeclaration",
|
||||
"start": 52,
|
||||
"end": 145,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "Identifier",
|
||||
"start": 58,
|
||||
"end": 70,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 13
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 25
|
||||
},
|
||||
"identifierName": "HubComponent"
|
||||
},
|
||||
"name": "HubComponent"
|
||||
},
|
||||
"superClass": {
|
||||
"type": "Identifier",
|
||||
"start": 79,
|
||||
"end": 88,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 34
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 43
|
||||
},
|
||||
"identifierName": "Component"
|
||||
},
|
||||
"name": "Component"
|
||||
},
|
||||
"body": {
|
||||
"type": "ClassBody",
|
||||
"start": 89,
|
||||
"end": 145,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 44
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"type": "ClassMethod",
|
||||
"start": 96,
|
||||
"end": 142,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 5
|
||||
}
|
||||
},
|
||||
"static": true,
|
||||
"computed": false,
|
||||
"key": {
|
||||
"type": "Identifier",
|
||||
"start": 103,
|
||||
"end": 108,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 11
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 16
|
||||
},
|
||||
"identifierName": "getId"
|
||||
},
|
||||
"name": "getId"
|
||||
},
|
||||
"kind": "method",
|
||||
"id": null,
|
||||
"generator": false,
|
||||
"expression": false,
|
||||
"async": false,
|
||||
"params": [],
|
||||
"body": {
|
||||
"type": "BlockStatement",
|
||||
"start": 111,
|
||||
"end": 142,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 5
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"type": "ReturnStatement",
|
||||
"start": 122,
|
||||
"end": 135,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 8
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 21
|
||||
}
|
||||
},
|
||||
"argument": {
|
||||
"type": "StringLiteral",
|
||||
"start": 129,
|
||||
"end": 134,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 15
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 20
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"rawValue": "Hub",
|
||||
"raw": "\"Hub\""
|
||||
},
|
||||
"value": "Hub"
|
||||
}
|
||||
}
|
||||
],
|
||||
"directives": []
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"leadingComments": [],
|
||||
"trailingComments": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"directives": []
|
||||
},
|
||||
"comments": [],
|
||||
"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": "Component",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "}",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 19,
|
||||
"end": 20,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 20
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "from",
|
||||
"start": 21,
|
||||
"end": 25,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 21
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "string",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "../component",
|
||||
"start": 26,
|
||||
"end": 40,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 26
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 40
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": ";",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"start": 40,
|
||||
"end": 41,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 40
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 41
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": 45,
|
||||
"end": 51,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": 52,
|
||||
"end": 57,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 12
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "HubComponent",
|
||||
"start": 58,
|
||||
"end": 70,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 13
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "extends",
|
||||
"keyword": "extends",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "extends",
|
||||
"start": 71,
|
||||
"end": 78,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 26
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 33
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "Component",
|
||||
"start": 79,
|
||||
"end": 88,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 34
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 43
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "{",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 89,
|
||||
"end": 90,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 44
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "static",
|
||||
"start": 96,
|
||||
"end": 102,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "getId",
|
||||
"start": 103,
|
||||
"end": 108,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 11
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 16
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "(",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 108,
|
||||
"end": 109,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 16
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 17
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": ")",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 109,
|
||||
"end": 110,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 17
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 18
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "{",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 111,
|
||||
"end": 112,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 20
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "return",
|
||||
"keyword": "return",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "return",
|
||||
"start": 122,
|
||||
"end": 128,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 8
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "string",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "Hub",
|
||||
"start": 129,
|
||||
"end": 134,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 15
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 20
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": ";",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"start": 134,
|
||||
"end": 135,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 20
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 21
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "}",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 141,
|
||||
"end": 142,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 6,
|
||||
"column": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "}",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 144,
|
||||
"end": 145,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 7,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "eof",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"start": 147,
|
||||
"end": 147,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
14312
docs/ast/source/game/components/item_acceptor.js.json
Normal file
14312
docs/ast/source/game/components/item_acceptor.js.json
Normal file
File diff suppressed because it is too large
Load Diff
18828
docs/ast/source/game/components/item_ejector.js.json
Normal file
18828
docs/ast/source/game/components/item_ejector.js.json
Normal file
File diff suppressed because it is too large
Load Diff
13490
docs/ast/source/game/components/item_processor.js.json
Normal file
13490
docs/ast/source/game/components/item_processor.js.json
Normal file
File diff suppressed because it is too large
Load Diff
929
docs/ast/source/game/components/item_producer.js.json
Normal file
929
docs/ast/source/game/components/item_producer.js.json
Normal file
@ -0,0 +1,929 @@
|
||||
{
|
||||
"type": "File",
|
||||
"start": 0,
|
||||
"end": 165,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
}
|
||||
},
|
||||
"program": {
|
||||
"type": "Program",
|
||||
"start": 0,
|
||||
"end": 165,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
}
|
||||
},
|
||||
"sourceType": "module",
|
||||
"body": [
|
||||
{
|
||||
"type": "ImportDeclaration",
|
||||
"start": 0,
|
||||
"end": 41,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 41
|
||||
}
|
||||
},
|
||||
"specifiers": [
|
||||
{
|
||||
"type": "ImportSpecifier",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
}
|
||||
},
|
||||
"imported": {
|
||||
"type": "Identifier",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
},
|
||||
"identifierName": "Component"
|
||||
},
|
||||
"name": "Component"
|
||||
},
|
||||
"local": {
|
||||
"type": "Identifier",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
},
|
||||
"identifierName": "Component"
|
||||
},
|
||||
"name": "Component"
|
||||
}
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"type": "StringLiteral",
|
||||
"start": 26,
|
||||
"end": 40,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 26
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 40
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"rawValue": "../component",
|
||||
"raw": "\"../component\""
|
||||
},
|
||||
"value": "../component"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "ExportNamedDeclaration",
|
||||
"start": 45,
|
||||
"end": 163,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
},
|
||||
"specifiers": [],
|
||||
"source": null,
|
||||
"declaration": {
|
||||
"type": "ClassDeclaration",
|
||||
"start": 52,
|
||||
"end": 163,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "Identifier",
|
||||
"start": 58,
|
||||
"end": 79,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 13
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 34
|
||||
},
|
||||
"identifierName": "ItemProducerComponent"
|
||||
},
|
||||
"name": "ItemProducerComponent"
|
||||
},
|
||||
"superClass": {
|
||||
"type": "Identifier",
|
||||
"start": 88,
|
||||
"end": 97,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 43
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 52
|
||||
},
|
||||
"identifierName": "Component"
|
||||
},
|
||||
"name": "Component"
|
||||
},
|
||||
"body": {
|
||||
"type": "ClassBody",
|
||||
"start": 98,
|
||||
"end": 163,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 53
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"type": "ClassMethod",
|
||||
"start": 105,
|
||||
"end": 160,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 5
|
||||
}
|
||||
},
|
||||
"static": true,
|
||||
"computed": false,
|
||||
"key": {
|
||||
"type": "Identifier",
|
||||
"start": 112,
|
||||
"end": 117,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 11
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 16
|
||||
},
|
||||
"identifierName": "getId"
|
||||
},
|
||||
"name": "getId"
|
||||
},
|
||||
"kind": "method",
|
||||
"id": null,
|
||||
"generator": false,
|
||||
"expression": false,
|
||||
"async": false,
|
||||
"params": [],
|
||||
"body": {
|
||||
"type": "BlockStatement",
|
||||
"start": 120,
|
||||
"end": 160,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 5
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
{
|
||||
"type": "ReturnStatement",
|
||||
"start": 131,
|
||||
"end": 153,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 8
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 30
|
||||
}
|
||||
},
|
||||
"argument": {
|
||||
"type": "StringLiteral",
|
||||
"start": 138,
|
||||
"end": 152,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 15
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 29
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"rawValue": "ItemProducer",
|
||||
"raw": "\"ItemProducer\""
|
||||
},
|
||||
"value": "ItemProducer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"directives": []
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"leadingComments": [],
|
||||
"trailingComments": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"directives": []
|
||||
},
|
||||
"comments": [],
|
||||
"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": "Component",
|
||||
"start": 9,
|
||||
"end": 18,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "}",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 19,
|
||||
"end": 20,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 20
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "from",
|
||||
"start": 21,
|
||||
"end": 25,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 21
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "string",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "../component",
|
||||
"start": 26,
|
||||
"end": 40,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 26
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 40
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": ";",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"start": 40,
|
||||
"end": 41,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 40
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 41
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": 45,
|
||||
"end": 51,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": 52,
|
||||
"end": 57,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 12
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "ItemProducerComponent",
|
||||
"start": 58,
|
||||
"end": 79,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 13
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 34
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "extends",
|
||||
"keyword": "extends",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "extends",
|
||||
"start": 80,
|
||||
"end": 87,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 35
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 42
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "Component",
|
||||
"start": 88,
|
||||
"end": 97,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 43
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 52
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "{",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 98,
|
||||
"end": 99,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 53
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 54
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "static",
|
||||
"start": 105,
|
||||
"end": 111,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "name",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"value": "getId",
|
||||
"start": 112,
|
||||
"end": 117,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 11
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 16
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "(",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 117,
|
||||
"end": 118,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 16
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 17
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": ")",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 118,
|
||||
"end": 119,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 17
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 18
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "{",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 120,
|
||||
"end": 121,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 20
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "return",
|
||||
"keyword": "return",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "return",
|
||||
"start": 131,
|
||||
"end": 137,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 8
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "string",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": true,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"value": "ItemProducer",
|
||||
"start": 138,
|
||||
"end": 152,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 15
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 29
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": ";",
|
||||
"beforeExpr": true,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"start": 152,
|
||||
"end": 153,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 29
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 30
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "}",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 159,
|
||||
"end": 160,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 6,
|
||||
"column": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "}",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null
|
||||
},
|
||||
"start": 162,
|
||||
"end": 163,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 7,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"label": "eof",
|
||||
"beforeExpr": false,
|
||||
"startsExpr": false,
|
||||
"rightAssociative": false,
|
||||
"isLoop": false,
|
||||
"isAssign": false,
|
||||
"prefix": false,
|
||||
"postfix": false,
|
||||
"binop": null,
|
||||
"updateContext": null
|
||||
},
|
||||
"start": 165,
|
||||
"end": 165,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
3318
docs/ast/source/game/components/lever.js.json
Normal file
3318
docs/ast/source/game/components/lever.js.json
Normal file
File diff suppressed because it is too large
Load Diff
4186
docs/ast/source/game/components/logic_gate.js.json
Normal file
4186
docs/ast/source/game/components/logic_gate.js.json
Normal file
File diff suppressed because it is too large
Load Diff
6687
docs/ast/source/game/components/miner.js.json
Normal file
6687
docs/ast/source/game/components/miner.js.json
Normal file
File diff suppressed because it is too large
Load Diff
48247
docs/ast/source/game/components/static_map_entity.js.json
Normal file
48247
docs/ast/source/game/components/static_map_entity.js.json
Normal file
File diff suppressed because it is too large
Load Diff
11520
docs/ast/source/game/components/storage.js.json
Normal file
11520
docs/ast/source/game/components/storage.js.json
Normal file
File diff suppressed because it is too large
Load Diff
12705
docs/ast/source/game/components/underground_belt.js.json
Normal file
12705
docs/ast/source/game/components/underground_belt.js.json
Normal file
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user