@nice2dev/game-engine 1.3.13 → 1.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +2 -2
- package/dist/types/accessibility/index.d.ts +0 -1
- package/dist/types/ai/index.d.ts +0 -1
- package/dist/types/animation/index.d.ts +0 -1
- package/dist/types/audio/HRTFAudio.d.ts +0 -180
- package/dist/types/audio/index.d.ts +0 -2
- package/dist/types/community/Community.d.ts +0 -112
- package/dist/types/community/index.d.ts +0 -1
- package/dist/types/core/TypeSafety.d.ts +0 -190
- package/dist/types/core/index.d.ts +0 -7
- package/dist/types/devtools/AssetStore.d.ts +0 -133
- package/dist/types/devtools/index.d.ts +0 -3
- package/dist/types/dialogue/index.d.ts +0 -2
- package/dist/types/docs/APIPlayground.d.ts +0 -26
- package/dist/types/docs/Cookbook.d.ts +0 -18
- package/dist/types/docs/Guides.d.ts +0 -18
- package/dist/types/docs/index.d.ts +0 -4
- package/dist/types/ecs/ECSOptimized.d.ts +0 -131
- package/dist/types/ecs/index.d.ts +0 -2
- package/dist/types/editor/NiceAnimationTimeline.d.ts +0 -114
- package/dist/types/editor/NiceLevelEditor.d.ts +0 -232
- package/dist/types/editor/NiceMaterialEditor.d.ts +0 -105
- package/dist/types/editor/NiceNodeGraph.d.ts +0 -87
- package/dist/types/editor/NiceParticleEditor.d.ts +0 -127
- package/dist/types/editor/behavior-tree/BTDebugPanel.d.ts +0 -102
- package/dist/types/editor/behavior-tree/BTEditorCanvas.d.ts +0 -79
- package/dist/types/editor/behavior-tree/BTEditorNode.d.ts +0 -58
- package/dist/types/editor/behavior-tree/BTEditorToolbar.d.ts +0 -75
- package/dist/types/editor/behavior-tree/BTNodePalette.d.ts +0 -72
- package/dist/types/editor/behavior-tree/BTPropertyPanel.d.ts +0 -66
- package/dist/types/editor/behavior-tree/BehaviorTreeEditor.d.ts +0 -186
- package/dist/types/editor/behavior-tree/index.d.ts +0 -14
- package/dist/types/editor/behavior-tree/serialization.d.ts +0 -30
- package/dist/types/editor/behavior-tree/types.d.ts +0 -299
- package/dist/types/editor/index.d.ts +0 -20
- package/dist/types/editor/state-machine/SMEditorCanvas.d.ts +0 -61
- package/dist/types/editor/state-machine/StateMachineEditor.d.ts +0 -139
- package/dist/types/editor/state-machine/index.d.ts +0 -11
- package/dist/types/editor/state-machine/serialization.d.ts +0 -23
- package/dist/types/editor/state-machine/types.d.ts +0 -241
- package/dist/types/engine/index.d.ts +0 -2
- package/dist/types/enterprise/index.d.ts +0 -1
- package/dist/types/epic/index.d.ts +0 -10
- package/dist/types/i18n/index.d.ts +0 -2
- package/dist/types/input/index.d.ts +0 -3
- package/dist/types/kids/index.d.ts +0 -2
- package/dist/types/legendary/index.d.ts +0 -57
- package/dist/types/monetization/index.d.ts +0 -1
- package/dist/types/multiplayer/NiceNetcode.d.ts +0 -434
- package/dist/types/multiplayer/index.d.ts +0 -5
- package/dist/types/network/index.d.ts +0 -2
- package/dist/types/pathfinding/index.d.ts +0 -1
- package/dist/types/performance/AssetCompression.d.ts +0 -137
- package/dist/types/performance/WASMModules.d.ts +0 -65
- package/dist/types/performance/WebGPUCompute.d.ts +0 -71
- package/dist/types/performance/index.d.ts +0 -1
- package/dist/types/physics/RapierIntegration.d.ts +0 -404
- package/dist/types/physics/index.d.ts +0 -2
- package/dist/types/plugins/index.d.ts +0 -2
- package/dist/types/procedural/index.d.ts +0 -2
- package/dist/types/release/index.d.ts +0 -1
- package/dist/types/rendering/WebGPUv2.d.ts +0 -173
- package/dist/types/rendering/index.d.ts +0 -3
- package/dist/types/runtime3d/index.d.ts +0 -2
- package/dist/types/scene/index.d.ts +0 -2
- package/dist/types/scripting/WasmCompiler.d.ts +0 -182
- package/dist/types/scripting/index.d.ts +0 -19
- package/dist/types/social/index.d.ts +0 -1
- package/dist/types/systems/NiceAI.d.ts +0 -637
- package/dist/types/systems/NiceAbility.d.ts +0 -225
- package/dist/types/systems/NiceAccessibility.d.ts +0 -230
- package/dist/types/systems/NiceAchievement.d.ts +0 -153
- package/dist/types/systems/NiceAchievementUI.d.ts +0 -196
- package/dist/types/systems/NiceAchievements.d.ts +0 -230
- package/dist/types/systems/NiceAction.d.ts +0 -81
- package/dist/types/systems/NiceAlchemy.d.ts +0 -195
- package/dist/types/systems/NiceAnalytics.d.ts +0 -493
- package/dist/types/systems/NiceAnimation.d.ts +0 -350
- package/dist/types/systems/NiceArena.d.ts +0 -215
- package/dist/types/systems/NiceAssetLoader.d.ts +0 -136
- package/dist/types/systems/NiceAuction.d.ts +0 -157
- package/dist/types/systems/NiceAudio.d.ts +0 -224
- package/dist/types/systems/NiceAugment.d.ts +0 -187
- package/dist/types/systems/NiceAura.d.ts +0 -193
- package/dist/types/systems/NiceBank.d.ts +0 -158
- package/dist/types/systems/NiceBattlePass.d.ts +0 -150
- package/dist/types/systems/NiceBehavior.d.ts +0 -160
- package/dist/types/systems/NiceBinding.d.ts +0 -96
- package/dist/types/systems/NiceBlacksmith.d.ts +0 -221
- package/dist/types/systems/NiceBuff.d.ts +0 -177
- package/dist/types/systems/NiceBuilding.d.ts +0 -207
- package/dist/types/systems/NiceBullet.d.ts +0 -167
- package/dist/types/systems/NiceCamera.d.ts +0 -252
- package/dist/types/systems/NiceCard.d.ts +0 -171
- package/dist/types/systems/NiceChat.d.ts +0 -148
- package/dist/types/systems/NiceCheat.d.ts +0 -375
- package/dist/types/systems/NiceClimbing.d.ts +0 -186
- package/dist/types/systems/NiceCloud.d.ts +0 -422
- package/dist/types/systems/NiceCollision.d.ts +0 -238
- package/dist/types/systems/NiceCombo.d.ts +0 -131
- package/dist/types/systems/NiceCommand.d.ts +0 -112
- package/dist/types/systems/NiceCompanion.d.ts +0 -182
- package/dist/types/systems/NiceController.d.ts +0 -144
- package/dist/types/systems/NiceCooking.d.ts +0 -193
- package/dist/types/systems/NiceCoroutine.d.ts +0 -101
- package/dist/types/systems/NiceCrafting.d.ts +0 -228
- package/dist/types/systems/NiceCutscene.d.ts +0 -437
- package/dist/types/systems/NiceDaily.d.ts +0 -133
- package/dist/types/systems/NiceDamage.d.ts +0 -271
- package/dist/types/systems/NiceDayNight.d.ts +0 -126
- package/dist/types/systems/NiceDebug.d.ts +0 -255
- package/dist/types/systems/NiceDestructible.d.ts +0 -150
- package/dist/types/systems/NiceDialogue.d.ts +0 -629
- package/dist/types/systems/NiceDungeon.d.ts +0 -202
- package/dist/types/systems/NiceECS.d.ts +0 -151
- package/dist/types/systems/NiceEnchant.d.ts +0 -148
- package/dist/types/systems/NiceEntityPool.d.ts +0 -127
- package/dist/types/systems/NiceEquipment.d.ts +0 -137
- package/dist/types/systems/NiceEvent.d.ts +0 -202
- package/dist/types/systems/NiceEventBus.d.ts +0 -164
- package/dist/types/systems/NiceFaction.d.ts +0 -173
- package/dist/types/systems/NiceFarming.d.ts +0 -163
- package/dist/types/systems/NiceFishing.d.ts +0 -196
- package/dist/types/systems/NiceFlocking.d.ts +0 -156
- package/dist/types/systems/NiceFog.d.ts +0 -137
- package/dist/types/systems/NiceFormation.d.ts +0 -140
- package/dist/types/systems/NiceGacha.d.ts +0 -134
- package/dist/types/systems/NiceGambling.d.ts +0 -175
- package/dist/types/systems/NiceGem.d.ts +0 -165
- package/dist/types/systems/NiceGesture.d.ts +0 -502
- package/dist/types/systems/NiceGrappling.d.ts +0 -154
- package/dist/types/systems/NiceGrid.d.ts +0 -142
- package/dist/types/systems/NiceGuild.d.ts +0 -162
- package/dist/types/systems/NiceHaptics.d.ts +0 -112
- package/dist/types/systems/NiceHousing.d.ts +0 -197
- package/dist/types/systems/NiceInput.d.ts +0 -280
- package/dist/types/systems/NiceInventory.d.ts +0 -534
- package/dist/types/systems/NiceLOD.d.ts +0 -144
- package/dist/types/systems/NiceLeaderboard.d.ts +0 -191
- package/dist/types/systems/NiceLevel.d.ts +0 -304
- package/dist/types/systems/NiceLighting.d.ts +0 -214
- package/dist/types/systems/NiceLocalization.d.ts +0 -148
- package/dist/types/systems/NiceLocomotion.d.ts +0 -398
- package/dist/types/systems/NiceLogger.d.ts +0 -117
- package/dist/types/systems/NiceLoot.d.ts +0 -176
- package/dist/types/systems/NiceMail.d.ts +0 -164
- package/dist/types/systems/NiceMap.d.ts +0 -234
- package/dist/types/systems/NiceMarriage.d.ts +0 -150
- package/dist/types/systems/NiceMastery.d.ts +0 -171
- package/dist/types/systems/NiceMatch.d.ts +0 -196
- package/dist/types/systems/NiceMatch3.d.ts +0 -118
- package/dist/types/systems/NiceMessageBus.d.ts +0 -115
- package/dist/types/systems/NiceMinimap.d.ts +0 -258
- package/dist/types/systems/NiceMining.d.ts +0 -175
- package/dist/types/systems/NiceModding.d.ts +0 -452
- package/dist/types/systems/NiceMount.d.ts +0 -152
- package/dist/types/systems/NiceNavigation.d.ts +0 -307
- package/dist/types/systems/NiceNetwork.d.ts +0 -568
- package/dist/types/systems/NiceNotification.d.ts +0 -438
- package/dist/types/systems/NiceObjective.d.ts +0 -395
- package/dist/types/systems/NiceParticle.d.ts +0 -639
- package/dist/types/systems/NiceParty.d.ts +0 -168
- package/dist/types/systems/NicePerformance.d.ts +0 -144
- package/dist/types/systems/NicePet.d.ts +0 -167
- package/dist/types/systems/NicePhotoMode.d.ts +0 -270
- package/dist/types/systems/NicePhysics.d.ts +0 -326
- package/dist/types/systems/NicePlatformer.d.ts +0 -158
- package/dist/types/systems/NicePool.d.ts +0 -128
- package/dist/types/systems/NicePortal.d.ts +0 -178
- package/dist/types/systems/NicePostProcess.d.ts +0 -254
- package/dist/types/systems/NiceProcedural.d.ts +0 -202
- package/dist/types/systems/NiceProfile.d.ts +0 -223
- package/dist/types/systems/NiceProjectile.d.ts +0 -157
- package/dist/types/systems/NicePvP.d.ts +0 -199
- package/dist/types/systems/NiceQTE.d.ts +0 -160
- package/dist/types/systems/NiceQuest.d.ts +0 -620
- package/dist/types/systems/NiceRaid.d.ts +0 -215
- package/dist/types/systems/NiceRanking.d.ts +0 -399
- package/dist/types/systems/NiceReplay.d.ts +0 -180
- package/dist/types/systems/NiceReputation.d.ts +0 -151
- package/dist/types/systems/NiceResource.d.ts +0 -200
- package/dist/types/systems/NiceRhythm.d.ts +0 -148
- package/dist/types/systems/NiceRoguelike.d.ts +0 -276
- package/dist/types/systems/NiceRune.d.ts +0 -202
- package/dist/types/systems/NiceSaveSystem.d.ts +0 -194
- package/dist/types/systems/NiceSceneManager.d.ts +0 -112
- package/dist/types/systems/NiceScore.d.ts +0 -186
- package/dist/types/systems/NiceScreenFX.d.ts +0 -235
- package/dist/types/systems/NiceScreenshot.d.ts +0 -443
- package/dist/types/systems/NiceScribe.d.ts +0 -239
- package/dist/types/systems/NiceSeason.d.ts +0 -176
- package/dist/types/systems/NiceSerialization.d.ts +0 -89
- package/dist/types/systems/NiceServiceLocator.d.ts +0 -94
- package/dist/types/systems/NiceShop.d.ts +0 -528
- package/dist/types/systems/NiceSignal.d.ts +0 -112
- package/dist/types/systems/NiceSkillTree.d.ts +0 -237
- package/dist/types/systems/NiceSocial.d.ts +0 -580
- package/dist/types/systems/NiceSpawner.d.ts +0 -237
- package/dist/types/systems/NiceSpell.d.ts +0 -216
- package/dist/types/systems/NiceState.d.ts +0 -224
- package/dist/types/systems/NiceStateMachine.d.ts +0 -108
- package/dist/types/systems/NiceStatus.d.ts +0 -116
- package/dist/types/systems/NiceStealth.d.ts +0 -204
- package/dist/types/systems/NiceSteam.d.ts +0 -255
- package/dist/types/systems/NiceStreaming.d.ts +0 -173
- package/dist/types/systems/NiceSwimming.d.ts +0 -166
- package/dist/types/systems/NiceTalent.d.ts +0 -154
- package/dist/types/systems/NiceTarget.d.ts +0 -121
- package/dist/types/systems/NiceTerrain.d.ts +0 -143
- package/dist/types/systems/NiceTilemap.d.ts +0 -218
- package/dist/types/systems/NiceTimer.d.ts +0 -153
- package/dist/types/systems/NiceTournament.d.ts +0 -190
- package/dist/types/systems/NiceTrading.d.ts +0 -238
- package/dist/types/systems/NiceTransmog.d.ts +0 -142
- package/dist/types/systems/NiceTutorial.d.ts +0 -248
- package/dist/types/systems/NiceTween.d.ts +0 -164
- package/dist/types/systems/NiceUI.d.ts +0 -364
- package/dist/types/systems/NiceVFX.d.ts +0 -333
- package/dist/types/systems/NiceVehicle.d.ts +0 -176
- package/dist/types/systems/NiceVoice.d.ts +0 -502
- package/dist/types/systems/NiceWater.d.ts +0 -162
- package/dist/types/systems/NiceWave.d.ts +0 -174
- package/dist/types/systems/NiceWaypoint.d.ts +0 -165
- package/dist/types/systems/NiceWeather.d.ts +0 -225
- package/dist/types/systems/NiceXR.d.ts +0 -187
- package/dist/types/systems/index.d.ts +0 -182
- package/dist/types/templates/index.d.ts +0 -2
- package/dist/types/tilemap/index.d.ts +0 -1
- package/dist/types/tutorials/TutorialEditor.d.ts +0 -43
- package/dist/types/tutorials/VoiceNarration.d.ts +0 -75
- package/dist/types/tutorials/content/Tutorials_T04.d.ts +0 -3
- package/dist/types/tutorials/content/UITutorials.d.ts +0 -14
- package/dist/types/tutorials/content/index.d.ts +0 -5
- package/dist/types/tutorials/index.d.ts +0 -6
- package/dist/types/ui/index.d.ts +0 -2
- package/dist/types/visual-scripting/VisualScriptDebugger.d.ts +0 -145
- package/dist/types/visual-scripting/VisualScriptExecutor.d.ts +0 -100
- package/dist/types/visual-scripting/VisualScriptGraph.d.ts +0 -173
- package/dist/types/visual-scripting/VisualScriptNode.d.ts +0 -157
- package/dist/types/visual-scripting/index.d.ts +0 -6
- package/dist/types/visual-scripting/nodes/ActionNodes.d.ts +0 -152
- package/dist/types/visual-scripting/nodes/EventNodes.d.ts +0 -95
- package/dist/types/visual-scripting/nodes/FlowControlNodes.d.ts +0 -134
- package/dist/types/visual-scripting/nodes/LogicNodes.d.ts +0 -122
- package/dist/types/visual-scripting/nodes/MathNodes.d.ts +0 -170
- package/dist/types/visual-scripting/nodes/UtilityNodes.d.ts +0 -131
- package/dist/types/visual-scripting/nodes/VariableNodes.d.ts +0 -107
- package/dist/types/visual-scripting/nodes/index.d.ts +0 -21
- package/dist/types/visual-scripting/nodes/registerNodes.d.ts +0 -29
- package/dist/types/visual-scripting/types.d.ts +0 -402
- package/dist/types/xr/WebXRLayers.d.ts +0 -319
- package/dist/types/xr/index.d.ts +0 -2
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import type { ASTScript } from './ScriptAST';
|
|
2
|
-
export type WasmValueType = 'i32' | 'i64' | 'f32' | 'f64' | 'v128' | 'funcref' | 'externref';
|
|
3
|
-
export type WasmInstr = string;
|
|
4
|
-
export interface WasmFuncType {
|
|
5
|
-
params: WasmValueType[];
|
|
6
|
-
results: WasmValueType[];
|
|
7
|
-
}
|
|
8
|
-
export interface WasmLocal {
|
|
9
|
-
name: string;
|
|
10
|
-
type: WasmValueType;
|
|
11
|
-
}
|
|
12
|
-
export interface WasmFunc {
|
|
13
|
-
name: string;
|
|
14
|
-
type: WasmFuncType;
|
|
15
|
-
locals: WasmLocal[];
|
|
16
|
-
body: WasmInstr[];
|
|
17
|
-
exported?: boolean;
|
|
18
|
-
importModule?: string;
|
|
19
|
-
importName?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface WasmGlobal {
|
|
22
|
-
name: string;
|
|
23
|
-
type: WasmValueType;
|
|
24
|
-
mutable: boolean;
|
|
25
|
-
init: string;
|
|
26
|
-
exported?: boolean;
|
|
27
|
-
}
|
|
28
|
-
export interface WasmMemory {
|
|
29
|
-
name: string;
|
|
30
|
-
initial: number;
|
|
31
|
-
maximum?: number;
|
|
32
|
-
exported?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export interface WasmTable {
|
|
35
|
-
name: string;
|
|
36
|
-
elementType: 'funcref' | 'externref';
|
|
37
|
-
initial: number;
|
|
38
|
-
maximum?: number;
|
|
39
|
-
}
|
|
40
|
-
export interface WasmModule {
|
|
41
|
-
funcs: WasmFunc[];
|
|
42
|
-
globals: WasmGlobal[];
|
|
43
|
-
memories: WasmMemory[];
|
|
44
|
-
tables: WasmTable[];
|
|
45
|
-
dataSegments: WasmDataSegment[];
|
|
46
|
-
types: Map<string, WasmFuncType>;
|
|
47
|
-
startFunc?: string;
|
|
48
|
-
}
|
|
49
|
-
export interface WasmDataSegment {
|
|
50
|
-
offset: number;
|
|
51
|
-
data: Uint8Array | string;
|
|
52
|
-
}
|
|
53
|
-
export interface WasmCompileConfig {
|
|
54
|
-
/** Module name for imports/exports */
|
|
55
|
-
moduleName: string;
|
|
56
|
-
/** Memory pages (64KB each) */
|
|
57
|
-
memoryPages: number;
|
|
58
|
-
/** Maximum memory pages */
|
|
59
|
-
maxMemoryPages?: number;
|
|
60
|
-
/** Enable debug info in output */
|
|
61
|
-
debug: boolean;
|
|
62
|
-
/** Use SIMD instructions when applicable */
|
|
63
|
-
useSIMD: boolean;
|
|
64
|
-
/** Enable multi-threading features */
|
|
65
|
-
useThreads: boolean;
|
|
66
|
-
/** Target runtime (affects imports) */
|
|
67
|
-
runtime: 'browser' | 'node' | 'standalone';
|
|
68
|
-
/** Host imports to expect */
|
|
69
|
-
hostImports: WasmHostImport[];
|
|
70
|
-
/** String encoding for data segments */
|
|
71
|
-
stringEncoding: 'utf8' | 'utf16';
|
|
72
|
-
/** Optimization level (0=none, 3=max) */
|
|
73
|
-
optimizationLevel: 0 | 1 | 2 | 3;
|
|
74
|
-
}
|
|
75
|
-
export interface WasmHostImport {
|
|
76
|
-
module: string;
|
|
77
|
-
name: string;
|
|
78
|
-
type: WasmFuncType;
|
|
79
|
-
}
|
|
80
|
-
export declare const defaultWasmConfig: WasmCompileConfig;
|
|
81
|
-
export interface WasmCompileResult {
|
|
82
|
-
/** WebAssembly Text format output */
|
|
83
|
-
wat: string;
|
|
84
|
-
/** Compiled binary (null if compilation unavailable) */
|
|
85
|
-
wasm: Uint8Array | null;
|
|
86
|
-
/** Source map for debugging */
|
|
87
|
-
sourceMap?: WasmSourceMap;
|
|
88
|
-
/** Compilation errors */
|
|
89
|
-
errors: WasmCompileError[];
|
|
90
|
-
/** Compilation warnings */
|
|
91
|
-
warnings: WasmCompileWarning[];
|
|
92
|
-
/** Statistics */
|
|
93
|
-
stats: {
|
|
94
|
-
funcCount: number;
|
|
95
|
-
globalCount: number;
|
|
96
|
-
memoryBytes: number;
|
|
97
|
-
codeSize: number;
|
|
98
|
-
compileDuration: number;
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
export interface WasmSourceMap {
|
|
102
|
-
version: number;
|
|
103
|
-
sources: string[];
|
|
104
|
-
mappings: WasmMapping[];
|
|
105
|
-
}
|
|
106
|
-
export interface WasmMapping {
|
|
107
|
-
wasmOffset: number;
|
|
108
|
-
sourceFile: number;
|
|
109
|
-
sourceLine: number;
|
|
110
|
-
sourceColumn: number;
|
|
111
|
-
}
|
|
112
|
-
export interface WasmCompileError {
|
|
113
|
-
message: string;
|
|
114
|
-
nodeId?: string;
|
|
115
|
-
line?: number;
|
|
116
|
-
}
|
|
117
|
-
export interface WasmCompileWarning {
|
|
118
|
-
message: string;
|
|
119
|
-
nodeId?: string;
|
|
120
|
-
suggestion?: string;
|
|
121
|
-
}
|
|
122
|
-
/** Standard game engine host imports */
|
|
123
|
-
export declare const STANDARD_HOST_IMPORTS: WasmHostImport[];
|
|
124
|
-
export declare class WasmCompiler {
|
|
125
|
-
private config;
|
|
126
|
-
private module;
|
|
127
|
-
private errors;
|
|
128
|
-
private warnings;
|
|
129
|
-
private localScope;
|
|
130
|
-
private globalScope;
|
|
131
|
-
private funcScope;
|
|
132
|
-
private labelStack;
|
|
133
|
-
private nextLocalIndex;
|
|
134
|
-
private stringTable;
|
|
135
|
-
private stringDataOffset;
|
|
136
|
-
private currentFunc;
|
|
137
|
-
constructor(config?: Partial<WasmCompileConfig>);
|
|
138
|
-
compile(script: ASTScript): WasmCompileResult;
|
|
139
|
-
private reset;
|
|
140
|
-
private setupHostImports;
|
|
141
|
-
private compileClass;
|
|
142
|
-
private compileField;
|
|
143
|
-
private compileFunction;
|
|
144
|
-
private endsWithReturn;
|
|
145
|
-
private mapType;
|
|
146
|
-
private getDefaultValue;
|
|
147
|
-
private compileStatement;
|
|
148
|
-
private compileVarDecl;
|
|
149
|
-
private compileAssignment;
|
|
150
|
-
private compileIf;
|
|
151
|
-
private compileWhile;
|
|
152
|
-
private compileFor;
|
|
153
|
-
private compileForEach;
|
|
154
|
-
private compileReturn;
|
|
155
|
-
private compileExpressionStatement;
|
|
156
|
-
private compileBlock;
|
|
157
|
-
private compileSwitch;
|
|
158
|
-
private compileTry;
|
|
159
|
-
private compileExpression;
|
|
160
|
-
private compileLiteral;
|
|
161
|
-
private addStringToTable;
|
|
162
|
-
private compileIdentifier;
|
|
163
|
-
private compileBinaryOp;
|
|
164
|
-
private compileUnaryOp;
|
|
165
|
-
private compileCall;
|
|
166
|
-
private compileMethodCall;
|
|
167
|
-
private compilePropertyAccess;
|
|
168
|
-
private compileIndexAccess;
|
|
169
|
-
private compileConditional;
|
|
170
|
-
private compileArrayLiteral;
|
|
171
|
-
private compileCast;
|
|
172
|
-
private compileNew;
|
|
173
|
-
private generateWAT;
|
|
174
|
-
private generateFunctionWAT;
|
|
175
|
-
private encodeDataSegment;
|
|
176
|
-
private compileToBinary;
|
|
177
|
-
/** Create runtime JavaScript glue code for the WASM module */
|
|
178
|
-
generateRuntimeGlue(): string;
|
|
179
|
-
}
|
|
180
|
-
export declare function compileToWasm(script: ASTScript, config?: Partial<WasmCompileConfig>): WasmCompileResult;
|
|
181
|
-
export declare function generateWasmRuntime(): string;
|
|
182
|
-
export { WasmCompiler as default };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { NodeLibrary, GraphExecutor, registerBuiltInNodes, createDefaultNodeLibrary, } from './NodeGraph';
|
|
2
|
-
export type { PortDataType, PortDirection, PortDef, NodeCategory, NodeDef, NodeExecutionContext, NodeInstance, Connection, ScriptGraph, GraphVariable, } from './NodeGraph';
|
|
3
|
-
export * from './ScriptAST';
|
|
4
|
-
export { LanguageExporter, ImperativeLanguageExporter, CodeBuilder, defaultConfig, escapeString, toUpperCamelCase, toLowerCamelCase, toSnakeCase, toScreamingSnakeCase, } from './LanguageExporter';
|
|
5
|
-
export type { ExportConfig, ExportResult, ExportedFile, ExportError, ExportWarning, TypeMapping, } from './LanguageExporter';
|
|
6
|
-
export { CppExporter } from './exporters/CppExporter';
|
|
7
|
-
export { CSharpExporter } from './exporters/CSharpExporter';
|
|
8
|
-
export { GDScriptExporter } from './exporters/GDScriptExporter';
|
|
9
|
-
export { HaxeExporter } from './exporters/HaxeExporter';
|
|
10
|
-
export { KotlinExporter } from './exporters/KotlinExporter';
|
|
11
|
-
export { LuaExporter } from './exporters/LuaExporter';
|
|
12
|
-
export { PythonExporter } from './exporters/PythonExporter';
|
|
13
|
-
export { RustExporter } from './exporters/RustExporter';
|
|
14
|
-
export { SwiftExporter } from './exporters/SwiftExporter';
|
|
15
|
-
export { TypeScriptExporter } from './exporters/TypeScriptExporter';
|
|
16
|
-
export { WasmCompiler, compileToWasm, generateWasmRuntime, STANDARD_HOST_IMPORTS, defaultWasmConfig, } from './WasmCompiler';
|
|
17
|
-
export type { WasmValueType, WasmFuncType, WasmFunc, WasmGlobal, WasmModule, WasmCompileConfig, WasmCompileResult, WasmHostImport, } from './WasmCompiler';
|
|
18
|
-
export { GraphToAST, convertGraphToAST } from './GraphToAST';
|
|
19
|
-
export type { ConvertOptions } from './GraphToAST';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Social';
|