@bscotch/gml-parser 1.14.2 → 1.14.4
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/dist/project.d.ts +6 -6
- package/dist/project.d.ts.map +1 -1
- package/dist/project.spec.d.ts +44 -44
- package/dist/types.checks.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/visitor.d.ts +2 -2
- package/dist/visitor.d.ts.map +1 -1
- package/dist/visitor.globals.d.ts +1 -1
- package/dist/visitor.globals.d.ts.map +1 -1
- package/dist/visitor.processor.d.ts +1 -1
- package/dist/visitor.processor.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/project.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare class Project {
|
|
|
50
50
|
/** Until this resolves, assume that this.yyp is not yet read */
|
|
51
51
|
yypWaiter?: Promise<any>;
|
|
52
52
|
config: StitchConfig;
|
|
53
|
-
readonly assets: Map<string, Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">>;
|
|
53
|
+
readonly assets: Map<string, Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "roomui" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">>;
|
|
54
54
|
/**
|
|
55
55
|
* Store the "native" functions, constants, and enums on
|
|
56
56
|
* a per-project basis, but separately from the project-specific
|
|
@@ -75,7 +75,7 @@ export declare class Project {
|
|
|
75
75
|
/**
|
|
76
76
|
* Non-native global types, which can be referenced in JSDocs
|
|
77
77
|
* and in a symbol's types. */
|
|
78
|
-
readonly types: Map<string, Type<"
|
|
78
|
+
readonly types: Map<string, Type<"Real" | "Undefined" | "Enum" | "Function" | "Array" | "Bool" | "Pointer" | "String" | "Struct" | "ArgumentIdentity" | "Any" | "Asset.GMAnimCurve" | "Asset.GMAudioGroup" | "Asset.GMFont" | "Asset.GMObject" | "Asset.GMParticleSystem" | "Asset.GMPath" | "Asset.GMRoom" | "Asset.GMScript" | "Asset.GMSequence" | "Asset.GMShader" | "Asset.GMSound" | "Asset.GMSprite" | "Asset.GMTileSet" | "Asset.GMTimeline" | "Asset.Script" | "Id.AudioEmitter" | "Id.AudioListener" | "Id.AudioSyncGroup" | "Id.BackgroundElement" | "Id.BinaryFile" | "Id.Buffer" | "Id.Camera" | "Id.DsGrid" | "Id.DsList" | "Id.DsMap" | "Id.DsPriority" | "Id.DsQueue" | "Id.DsStack" | "Id.ExternalCall" | "Id.Gif" | "Id.Instance" | "Id.Layer" | "Id.MpGrid" | "Id.ParticleEmitter" | "Id.ParticleSystem" | "Id.ParticleType" | "Id.PhysicsIndex" | "Id.PhysicsParticleGroup" | "Id.Sampler" | "Id.SequenceElement" | "Id.Socket" | "Id.Sound" | "Id.SpriteElement" | "Id.Surface" | "Id.TextFile" | "Id.Texture" | "Id.TileElementId" | "Id.TileMapElement" | "Id.TimeSource" | "Id.Uniform" | "Id.VertexBuffer" | "Id.VertexFormat" | "Mixed" | "EnumMember" | "Unknown" | "Never" | "InstanceType" | "ObjectType" | "StaticType">>;
|
|
79
79
|
protected emitter: EventEmitter<[never]>;
|
|
80
80
|
/** Code that needs to be reprocessed, for one reason or another. */
|
|
81
81
|
protected dirtyFiles: Set<Code>;
|
|
@@ -284,14 +284,14 @@ export declare class Project {
|
|
|
284
284
|
errors: string[];
|
|
285
285
|
skipped: string[];
|
|
286
286
|
}>;
|
|
287
|
-
duplicateAsset(sourceName: string, newPath: string): Promise<Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">>;
|
|
287
|
+
duplicateAsset(sourceName: string, newPath: string): Promise<Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "roomui" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">>;
|
|
288
288
|
/**
|
|
289
289
|
* Create a new sound asset. Will not do anything if the asset by this name already exists (but will log an error).
|
|
290
290
|
* @param newSoundPath The POSIX-style path within the asset tree where you want this sound to be created, where the last component is the name of the sound asset.
|
|
291
291
|
* @param fromFile The path to the source sound file to copy into the new asset's directory.
|
|
292
292
|
* @example project.createSound('folder/of/sounds/snd_my_new_sound', 'path/to/sound.mp3');
|
|
293
293
|
*/
|
|
294
|
-
createSound(newSoundPath: string, fromFile: string | Pathy): Promise<Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines"> | undefined>;
|
|
294
|
+
createSound(newSoundPath: string, fromFile: string | Pathy): Promise<Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "roomui" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines"> | undefined>;
|
|
295
295
|
/**
|
|
296
296
|
* Create a new room asset. Will not do anything if the asset by this name already exists (but will log an error).
|
|
297
297
|
* @param newRoomPath The POSIX-style path within the asset tree where you want this asset to be created, where the last component is the name of the asset.
|
|
@@ -341,7 +341,7 @@ export declare class Project {
|
|
|
341
341
|
};
|
|
342
342
|
listAssetsInFolder(path: string | string[], options?: {
|
|
343
343
|
recursive: boolean;
|
|
344
|
-
}): Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">[];
|
|
344
|
+
}): Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "roomui" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">[];
|
|
345
345
|
/**
|
|
346
346
|
* Delete a folder recursively. Only allowed if there are no assets
|
|
347
347
|
* in this or any subfolder.
|
|
@@ -372,7 +372,7 @@ export declare class Project {
|
|
|
372
372
|
tags?: string[] | undefined;
|
|
373
373
|
order?: number | undefined;
|
|
374
374
|
} | undefined][];
|
|
375
|
-
movedAssets: Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">[];
|
|
375
|
+
movedAssets: Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "roomui" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">[];
|
|
376
376
|
} | undefined>;
|
|
377
377
|
/**
|
|
378
378
|
* Add a folder to the yyp file. The string can include separators,
|
package/dist/project.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EASL,KAAK,GAAG,EAER,KAAK,SAAS,EACd,KAAK,WAAW,EAIjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAiB,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAS9C,OAAO,EAAE,SAAS,EAAE,KAAK,MAAM,EAAE,MAAM,aAA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ects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
|
|
50
50
|
Coerce: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">>;
|
|
51
51
|
}, "strict", ZodTypeAny, {
|
|
52
|
-
Type: string;
|
|
53
52
|
Name: string;
|
|
53
|
+
Type: string;
|
|
54
54
|
Optional: boolean;
|
|
55
55
|
Coerce?: boolean | undefined;
|
|
56
56
|
}, {
|
|
57
|
-
Type: string;
|
|
58
57
|
Name: string;
|
|
58
|
+
Type: string;
|
|
59
59
|
Optional: "true" | "false";
|
|
60
60
|
Coerce?: "true" | "false" | undefined;
|
|
61
61
|
}>;
|
|
62
62
|
}, "strict", ZodTypeAny, {
|
|
63
63
|
$: {
|
|
64
|
-
Type: string;
|
|
65
64
|
Name: string;
|
|
65
|
+
Type: string;
|
|
66
66
|
Optional: boolean;
|
|
67
67
|
Coerce?: boolean | undefined;
|
|
68
68
|
};
|
|
69
69
|
_?: string | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
$: {
|
|
72
|
-
Type: string;
|
|
73
72
|
Name: string;
|
|
73
|
+
Type: string;
|
|
74
74
|
Optional: "true" | "false";
|
|
75
75
|
Coerce?: "true" | "false" | undefined;
|
|
76
76
|
};
|
|
@@ -87,8 +87,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
87
87
|
};
|
|
88
88
|
Parameter: {
|
|
89
89
|
$: {
|
|
90
|
-
Type: string;
|
|
91
90
|
Name: string;
|
|
91
|
+
Type: string;
|
|
92
92
|
Optional: boolean;
|
|
93
93
|
Coerce?: boolean | undefined;
|
|
94
94
|
};
|
|
@@ -107,8 +107,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
107
107
|
Description?: unknown;
|
|
108
108
|
Parameter?: {
|
|
109
109
|
$: {
|
|
110
|
-
Type: string;
|
|
111
110
|
Name: string;
|
|
111
|
+
Type: string;
|
|
112
112
|
Optional: "true" | "false";
|
|
113
113
|
Coerce?: "true" | "false" | undefined;
|
|
114
114
|
};
|
|
@@ -142,8 +142,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
142
142
|
Description?: unknown;
|
|
143
143
|
Parameter?: {
|
|
144
144
|
$: {
|
|
145
|
-
Type: string;
|
|
146
145
|
Name: string;
|
|
146
|
+
Type: string;
|
|
147
147
|
Optional: "true" | "false";
|
|
148
148
|
Coerce?: "true" | "false" | undefined;
|
|
149
149
|
};
|
|
@@ -181,8 +181,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
181
181
|
Description?: unknown;
|
|
182
182
|
Parameter?: {
|
|
183
183
|
$: {
|
|
184
|
-
Type: string;
|
|
185
184
|
Name: string;
|
|
185
|
+
Type: string;
|
|
186
186
|
Optional: "true" | "false";
|
|
187
187
|
Coerce?: "true" | "false" | undefined;
|
|
188
188
|
};
|
|
@@ -203,18 +203,18 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
203
203
|
FeatureFlag: z.ZodOptional<z.ZodString>;
|
|
204
204
|
Locale: z.ZodOptional<z.ZodEnum<["GB", "US"]>>;
|
|
205
205
|
}, "strict", ZodTypeAny, {
|
|
206
|
-
Type: string;
|
|
207
206
|
Name: string;
|
|
208
207
|
Deprecated: boolean;
|
|
208
|
+
Type: string;
|
|
209
209
|
Get: boolean;
|
|
210
210
|
Set: boolean;
|
|
211
211
|
Instance: boolean;
|
|
212
212
|
Locale?: "GB" | "US" | undefined;
|
|
213
213
|
FeatureFlag?: string | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
Type: string;
|
|
216
215
|
Name: string;
|
|
217
216
|
Deprecated: "true" | "false";
|
|
217
|
+
Type: string;
|
|
218
218
|
Get: "true" | "false";
|
|
219
219
|
Set: "true" | "false";
|
|
220
220
|
Instance: "true" | "false";
|
|
@@ -223,9 +223,9 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
223
223
|
}>;
|
|
224
224
|
}, "strict", ZodTypeAny, {
|
|
225
225
|
$: {
|
|
226
|
-
Type: string;
|
|
227
226
|
Name: string;
|
|
228
227
|
Deprecated: boolean;
|
|
228
|
+
Type: string;
|
|
229
229
|
Get: boolean;
|
|
230
230
|
Set: boolean;
|
|
231
231
|
Instance: boolean;
|
|
@@ -235,9 +235,9 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
235
235
|
_?: string | undefined;
|
|
236
236
|
}, {
|
|
237
237
|
$: {
|
|
238
|
-
Type: string;
|
|
239
238
|
Name: string;
|
|
240
239
|
Deprecated: "true" | "false";
|
|
240
|
+
Type: string;
|
|
241
241
|
Get: "true" | "false";
|
|
242
242
|
Set: "true" | "false";
|
|
243
243
|
Instance: "true" | "false";
|
|
@@ -258,9 +258,9 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
258
258
|
locale: "GB" | "US" | undefined;
|
|
259
259
|
}, {
|
|
260
260
|
$: {
|
|
261
|
-
Type: string;
|
|
262
261
|
Name: string;
|
|
263
262
|
Deprecated: "true" | "false";
|
|
263
|
+
Type: string;
|
|
264
264
|
Get: "true" | "false";
|
|
265
265
|
Set: "true" | "false";
|
|
266
266
|
Instance: "true" | "false";
|
|
@@ -285,9 +285,9 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
285
285
|
}, {
|
|
286
286
|
Variable?: {
|
|
287
287
|
$: {
|
|
288
|
-
Type: string;
|
|
289
288
|
Name: string;
|
|
290
289
|
Deprecated: "true" | "false";
|
|
290
|
+
Type: string;
|
|
291
291
|
Get: "true" | "false";
|
|
292
292
|
Set: "true" | "false";
|
|
293
293
|
Instance: "true" | "false";
|
|
@@ -308,15 +308,15 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
308
308
|
FeatureFlag: z.ZodOptional<z.ZodString>;
|
|
309
309
|
Locale: z.ZodOptional<z.ZodEnum<["GB", "US"]>>;
|
|
310
310
|
}, "strict", ZodTypeAny, {
|
|
311
|
-
Type: string;
|
|
312
311
|
Name: string;
|
|
312
|
+
Type: string;
|
|
313
313
|
Deprecated?: boolean | undefined;
|
|
314
314
|
Locale?: "GB" | "US" | undefined;
|
|
315
315
|
FeatureFlag?: string | undefined;
|
|
316
316
|
Class?: string | undefined;
|
|
317
317
|
}, {
|
|
318
|
-
Type: string;
|
|
319
318
|
Name: string;
|
|
319
|
+
Type: string;
|
|
320
320
|
Deprecated?: "true" | "false" | undefined;
|
|
321
321
|
Locale?: "GB" | "US" | undefined;
|
|
322
322
|
FeatureFlag?: string | undefined;
|
|
@@ -324,8 +324,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
324
324
|
}>;
|
|
325
325
|
}, "strict", ZodTypeAny, {
|
|
326
326
|
$: {
|
|
327
|
-
Type: string;
|
|
328
327
|
Name: string;
|
|
328
|
+
Type: string;
|
|
329
329
|
Deprecated?: boolean | undefined;
|
|
330
330
|
Locale?: "GB" | "US" | undefined;
|
|
331
331
|
FeatureFlag?: string | undefined;
|
|
@@ -334,8 +334,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
334
334
|
_?: string | undefined;
|
|
335
335
|
}, {
|
|
336
336
|
$: {
|
|
337
|
-
Type: string;
|
|
338
337
|
Name: string;
|
|
338
|
+
Type: string;
|
|
339
339
|
Deprecated?: "true" | "false" | undefined;
|
|
340
340
|
Locale?: "GB" | "US" | undefined;
|
|
341
341
|
FeatureFlag?: string | undefined;
|
|
@@ -353,8 +353,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
353
353
|
locale: "GB" | "US" | undefined;
|
|
354
354
|
}, {
|
|
355
355
|
$: {
|
|
356
|
-
Type: string;
|
|
357
356
|
Name: string;
|
|
357
|
+
Type: string;
|
|
358
358
|
Deprecated?: "true" | "false" | undefined;
|
|
359
359
|
Locale?: "GB" | "US" | undefined;
|
|
360
360
|
FeatureFlag?: string | undefined;
|
|
@@ -376,8 +376,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
376
376
|
}, {
|
|
377
377
|
Constant?: {
|
|
378
378
|
$: {
|
|
379
|
-
Type: string;
|
|
380
379
|
Name: string;
|
|
380
|
+
Type: string;
|
|
381
381
|
Deprecated?: "true" | "false" | undefined;
|
|
382
382
|
Locale?: "GB" | "US" | undefined;
|
|
383
383
|
FeatureFlag?: string | undefined;
|
|
@@ -407,22 +407,22 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
407
407
|
Set: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
|
|
408
408
|
Locale: z.ZodOptional<z.ZodEnum<["GB", "US"]>>;
|
|
409
409
|
}, "strict", ZodTypeAny, {
|
|
410
|
-
Type: string;
|
|
411
410
|
Name: string;
|
|
411
|
+
Type: string;
|
|
412
412
|
Get: boolean;
|
|
413
413
|
Set: boolean;
|
|
414
414
|
Locale?: "GB" | "US" | undefined;
|
|
415
415
|
}, {
|
|
416
|
-
Type: string;
|
|
417
416
|
Name: string;
|
|
417
|
+
Type: string;
|
|
418
418
|
Get: "true" | "false";
|
|
419
419
|
Set: "true" | "false";
|
|
420
420
|
Locale?: "GB" | "US" | undefined;
|
|
421
421
|
}>;
|
|
422
422
|
}, "strict", ZodTypeAny, {
|
|
423
423
|
$: {
|
|
424
|
-
Type: string;
|
|
425
424
|
Name: string;
|
|
425
|
+
Type: string;
|
|
426
426
|
Get: boolean;
|
|
427
427
|
Set: boolean;
|
|
428
428
|
Locale?: "GB" | "US" | undefined;
|
|
@@ -430,8 +430,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
430
430
|
_?: string | undefined;
|
|
431
431
|
}, {
|
|
432
432
|
$: {
|
|
433
|
-
Type: string;
|
|
434
433
|
Name: string;
|
|
434
|
+
Type: string;
|
|
435
435
|
Get: "true" | "false";
|
|
436
436
|
Set: "true" | "false";
|
|
437
437
|
Locale?: "GB" | "US" | undefined;
|
|
@@ -446,8 +446,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
446
446
|
locale: "GB" | "US" | undefined;
|
|
447
447
|
}, {
|
|
448
448
|
$: {
|
|
449
|
-
Type: string;
|
|
450
449
|
Name: string;
|
|
450
|
+
Type: string;
|
|
451
451
|
Get: "true" | "false";
|
|
452
452
|
Set: "true" | "false";
|
|
453
453
|
Locale?: "GB" | "US" | undefined;
|
|
@@ -474,8 +474,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
474
474
|
};
|
|
475
475
|
Field: {
|
|
476
476
|
$: {
|
|
477
|
-
Type: string;
|
|
478
477
|
Name: string;
|
|
478
|
+
Type: string;
|
|
479
479
|
Get: "true" | "false";
|
|
480
480
|
Set: "true" | "false";
|
|
481
481
|
Locale?: "GB" | "US" | undefined;
|
|
@@ -501,8 +501,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
501
501
|
};
|
|
502
502
|
Field: {
|
|
503
503
|
$: {
|
|
504
|
-
Type: string;
|
|
505
504
|
Name: string;
|
|
505
|
+
Type: string;
|
|
506
506
|
Get: "true" | "false";
|
|
507
507
|
Set: "true" | "false";
|
|
508
508
|
Locale?: "GB" | "US" | undefined;
|
|
@@ -532,8 +532,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
532
532
|
};
|
|
533
533
|
Field: {
|
|
534
534
|
$: {
|
|
535
|
-
Type: string;
|
|
536
535
|
Name: string;
|
|
536
|
+
Type: string;
|
|
537
537
|
Get: "true" | "false";
|
|
538
538
|
Set: "true" | "false";
|
|
539
539
|
Locale?: "GB" | "US" | undefined;
|
|
@@ -758,8 +758,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
758
758
|
Description?: unknown;
|
|
759
759
|
Parameter?: {
|
|
760
760
|
$: {
|
|
761
|
-
Type: string;
|
|
762
761
|
Name: string;
|
|
762
|
+
Type: string;
|
|
763
763
|
Optional: "true" | "false";
|
|
764
764
|
Coerce?: "true" | "false" | undefined;
|
|
765
765
|
};
|
|
@@ -770,9 +770,9 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
770
770
|
Variables?: {
|
|
771
771
|
Variable?: {
|
|
772
772
|
$: {
|
|
773
|
-
Type: string;
|
|
774
773
|
Name: string;
|
|
775
774
|
Deprecated: "true" | "false";
|
|
775
|
+
Type: string;
|
|
776
776
|
Get: "true" | "false";
|
|
777
777
|
Set: "true" | "false";
|
|
778
778
|
Instance: "true" | "false";
|
|
@@ -785,8 +785,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
785
785
|
Constants?: {
|
|
786
786
|
Constant?: {
|
|
787
787
|
$: {
|
|
788
|
-
Type: string;
|
|
789
788
|
Name: string;
|
|
789
|
+
Type: string;
|
|
790
790
|
Deprecated?: "true" | "false" | undefined;
|
|
791
791
|
Locale?: "GB" | "US" | undefined;
|
|
792
792
|
FeatureFlag?: string | undefined;
|
|
@@ -803,8 +803,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
803
803
|
};
|
|
804
804
|
Field: {
|
|
805
805
|
$: {
|
|
806
|
-
Type: string;
|
|
807
806
|
Name: string;
|
|
807
|
+
Type: string;
|
|
808
808
|
Get: "true" | "false";
|
|
809
809
|
Set: "true" | "false";
|
|
810
810
|
Locale?: "GB" | "US" | undefined;
|
|
@@ -911,8 +911,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
911
911
|
Description?: unknown;
|
|
912
912
|
Parameter?: {
|
|
913
913
|
$: {
|
|
914
|
-
Type: string;
|
|
915
914
|
Name: string;
|
|
915
|
+
Type: string;
|
|
916
916
|
Optional: "true" | "false";
|
|
917
917
|
Coerce?: "true" | "false" | undefined;
|
|
918
918
|
};
|
|
@@ -923,9 +923,9 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
923
923
|
Variables?: {
|
|
924
924
|
Variable?: {
|
|
925
925
|
$: {
|
|
926
|
-
Type: string;
|
|
927
926
|
Name: string;
|
|
928
927
|
Deprecated: "true" | "false";
|
|
928
|
+
Type: string;
|
|
929
929
|
Get: "true" | "false";
|
|
930
930
|
Set: "true" | "false";
|
|
931
931
|
Instance: "true" | "false";
|
|
@@ -938,8 +938,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
938
938
|
Constants?: {
|
|
939
939
|
Constant?: {
|
|
940
940
|
$: {
|
|
941
|
-
Type: string;
|
|
942
941
|
Name: string;
|
|
942
|
+
Type: string;
|
|
943
943
|
Deprecated?: "true" | "false" | undefined;
|
|
944
944
|
Locale?: "GB" | "US" | undefined;
|
|
945
945
|
FeatureFlag?: string | undefined;
|
|
@@ -956,8 +956,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
956
956
|
};
|
|
957
957
|
Field: {
|
|
958
958
|
$: {
|
|
959
|
-
Type: string;
|
|
960
959
|
Name: string;
|
|
960
|
+
Type: string;
|
|
961
961
|
Get: "true" | "false";
|
|
962
962
|
Set: "true" | "false";
|
|
963
963
|
Locale?: "GB" | "US" | undefined;
|
|
@@ -1068,8 +1068,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1068
1068
|
Description?: unknown;
|
|
1069
1069
|
Parameter?: {
|
|
1070
1070
|
$: {
|
|
1071
|
-
Type: string;
|
|
1072
1071
|
Name: string;
|
|
1072
|
+
Type: string;
|
|
1073
1073
|
Optional: "true" | "false";
|
|
1074
1074
|
Coerce?: "true" | "false" | undefined;
|
|
1075
1075
|
};
|
|
@@ -1080,9 +1080,9 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1080
1080
|
Variables?: {
|
|
1081
1081
|
Variable?: {
|
|
1082
1082
|
$: {
|
|
1083
|
-
Type: string;
|
|
1084
1083
|
Name: string;
|
|
1085
1084
|
Deprecated: "true" | "false";
|
|
1085
|
+
Type: string;
|
|
1086
1086
|
Get: "true" | "false";
|
|
1087
1087
|
Set: "true" | "false";
|
|
1088
1088
|
Instance: "true" | "false";
|
|
@@ -1095,8 +1095,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1095
1095
|
Constants?: {
|
|
1096
1096
|
Constant?: {
|
|
1097
1097
|
$: {
|
|
1098
|
-
Type: string;
|
|
1099
1098
|
Name: string;
|
|
1099
|
+
Type: string;
|
|
1100
1100
|
Deprecated?: "true" | "false" | undefined;
|
|
1101
1101
|
Locale?: "GB" | "US" | undefined;
|
|
1102
1102
|
FeatureFlag?: string | undefined;
|
|
@@ -1113,8 +1113,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1113
1113
|
};
|
|
1114
1114
|
Field: {
|
|
1115
1115
|
$: {
|
|
1116
|
-
Type: string;
|
|
1117
1116
|
Name: string;
|
|
1117
|
+
Type: string;
|
|
1118
1118
|
Get: "true" | "false";
|
|
1119
1119
|
Set: "true" | "false";
|
|
1120
1120
|
Locale?: "GB" | "US" | undefined;
|
|
@@ -1223,8 +1223,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1223
1223
|
Description?: unknown;
|
|
1224
1224
|
Parameter?: {
|
|
1225
1225
|
$: {
|
|
1226
|
-
Type: string;
|
|
1227
1226
|
Name: string;
|
|
1227
|
+
Type: string;
|
|
1228
1228
|
Optional: "true" | "false";
|
|
1229
1229
|
Coerce?: "true" | "false" | undefined;
|
|
1230
1230
|
};
|
|
@@ -1235,9 +1235,9 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1235
1235
|
Variables?: {
|
|
1236
1236
|
Variable?: {
|
|
1237
1237
|
$: {
|
|
1238
|
-
Type: string;
|
|
1239
1238
|
Name: string;
|
|
1240
1239
|
Deprecated: "true" | "false";
|
|
1240
|
+
Type: string;
|
|
1241
1241
|
Get: "true" | "false";
|
|
1242
1242
|
Set: "true" | "false";
|
|
1243
1243
|
Instance: "true" | "false";
|
|
@@ -1250,8 +1250,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1250
1250
|
Constants?: {
|
|
1251
1251
|
Constant?: {
|
|
1252
1252
|
$: {
|
|
1253
|
-
Type: string;
|
|
1254
1253
|
Name: string;
|
|
1254
|
+
Type: string;
|
|
1255
1255
|
Deprecated?: "true" | "false" | undefined;
|
|
1256
1256
|
Locale?: "GB" | "US" | undefined;
|
|
1257
1257
|
FeatureFlag?: string | undefined;
|
|
@@ -1268,8 +1268,8 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1268
1268
|
};
|
|
1269
1269
|
Field: {
|
|
1270
1270
|
$: {
|
|
1271
|
-
Type: string;
|
|
1272
1271
|
Name: string;
|
|
1272
|
+
Type: string;
|
|
1273
1273
|
Get: "true" | "false";
|
|
1274
1274
|
Set: "true" | "false";
|
|
1275
1275
|
Locale?: "GB" | "US" | undefined;
|
package/dist/types.checks.d.ts
CHANGED
|
@@ -45,6 +45,6 @@ export declare function normalizeType(inferred: Typeable, knownTypes: KnownTypes
|
|
|
45
45
|
*/
|
|
46
46
|
export declare function updateGenericsMap(expected: Typeable, inferred: Typeable, knownTypes: KnownTypesMap,
|
|
47
47
|
/** Map of generics by name to their *inferred type* */
|
|
48
|
-
generics?: Map<string, TypeStore>): Map<string, TypeStore<"
|
|
48
|
+
generics?: Map<string, TypeStore>): Map<string, TypeStore<"Real" | "Undefined" | "Enum" | "Function" | "Array" | "Bool" | "Pointer" | "String" | "Struct" | "ArgumentIdentity" | "Any" | "Asset.GMAnimCurve" | "Asset.GMAudioGroup" | "Asset.GMFont" | "Asset.GMObject" | "Asset.GMParticleSystem" | "Asset.GMPath" | "Asset.GMRoom" | "Asset.GMScript" | "Asset.GMSequence" | "Asset.GMShader" | "Asset.GMSound" | "Asset.GMSprite" | "Asset.GMTileSet" | "Asset.GMTimeline" | "Asset.Script" | "Id.AudioEmitter" | "Id.AudioListener" | "Id.AudioSyncGroup" | "Id.BackgroundElement" | "Id.BinaryFile" | "Id.Buffer" | "Id.Camera" | "Id.DsGrid" | "Id.DsList" | "Id.DsMap" | "Id.DsPriority" | "Id.DsQueue" | "Id.DsStack" | "Id.ExternalCall" | "Id.Gif" | "Id.Instance" | "Id.Layer" | "Id.MpGrid" | "Id.ParticleEmitter" | "Id.ParticleSystem" | "Id.ParticleType" | "Id.PhysicsIndex" | "Id.PhysicsParticleGroup" | "Id.Sampler" | "Id.SequenceElement" | "Id.Socket" | "Id.Sound" | "Id.SpriteElement" | "Id.Surface" | "Id.TextFile" | "Id.Texture" | "Id.TileElementId" | "Id.TileMapElement" | "Id.TimeSource" | "Id.Uniform" | "Id.VertexBuffer" | "Id.VertexFormat" | "Mixed" | "EnumMember" | "Unknown" | "Never" | "InstanceType" | "ObjectType" | "StaticType">>;
|
|
49
49
|
export declare function replaceGenerics(startingType: Typeable, knownTypes: KnownTypesMap, generics: Map<string, TypeStore>): TypeStore;
|
|
50
50
|
//# sourceMappingURL=types.checks.d.ts.map
|
package/dist/types.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare class TypeStore<T extends PrimitiveName = PrimitiveName> extends
|
|
|
25
25
|
protected _types: Type<T>[];
|
|
26
26
|
constructor();
|
|
27
27
|
/** If this store has only one type, its kind. Else throws. */
|
|
28
|
-
get kind(): "
|
|
28
|
+
get kind(): "Real" | "Undefined" | "Enum" | "Function" | "Array" | "Bool" | "Pointer" | "String" | "Struct" | "ArgumentIdentity" | "Any" | "Asset.GMAnimCurve" | "Asset.GMAudioGroup" | "Asset.GMFont" | "Asset.GMObject" | "Asset.GMParticleSystem" | "Asset.GMPath" | "Asset.GMRoom" | "Asset.GMScript" | "Asset.GMSequence" | "Asset.GMShader" | "Asset.GMSound" | "Asset.GMSprite" | "Asset.GMTileSet" | "Asset.GMTimeline" | "Asset.Script" | "Id.AudioEmitter" | "Id.AudioListener" | "Id.AudioSyncGroup" | "Id.BackgroundElement" | "Id.BinaryFile" | "Id.Buffer" | "Id.Camera" | "Id.DsGrid" | "Id.DsList" | "Id.DsMap" | "Id.DsPriority" | "Id.DsQueue" | "Id.DsStack" | "Id.ExternalCall" | "Id.Gif" | "Id.Instance" | "Id.Layer" | "Id.MpGrid" | "Id.ParticleEmitter" | "Id.ParticleSystem" | "Id.ParticleType" | "Id.PhysicsIndex" | "Id.PhysicsParticleGroup" | "Id.Sampler" | "Id.SequenceElement" | "Id.Socket" | "Id.Sound" | "Id.SpriteElement" | "Id.Surface" | "Id.TextFile" | "Id.Texture" | "Id.TileElementId" | "Id.TileMapElement" | "Id.TimeSource" | "Id.Uniform" | "Id.VertexBuffer" | "Id.VertexFormat" | "Mixed" | "EnumMember" | "Unknown" | "Never" | "InstanceType" | "ObjectType" | "StaticType";
|
|
29
29
|
get type(): Type<T>[];
|
|
30
30
|
set type(types: Type<T> | Type<T>[] | undefined);
|
|
31
31
|
get hasTypes(): boolean;
|
package/dist/visitor.d.ts
CHANGED
|
@@ -17,10 +17,10 @@ export declare class GmlSignifierVisitor extends GmlVisitorBase {
|
|
|
17
17
|
static validated: boolean;
|
|
18
18
|
constructor(PROCESSOR: SignifierProcessor);
|
|
19
19
|
get FILE(): Code;
|
|
20
|
-
get ASSET(): import("./project.asset.js").Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">;
|
|
20
|
+
get ASSET(): import("./project.asset.js").Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "roomui" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">;
|
|
21
21
|
/** Entrypoint */
|
|
22
22
|
UPDATE_SIGNIFIERS(input: CstNode): SignifierProcessor;
|
|
23
|
-
visit(cstNode: CstNode | CstNode[], ctx: VisitorContext): void | Type<"
|
|
23
|
+
visit(cstNode: CstNode | CstNode[], ctx: VisitorContext): void | Type<"Real" | "Undefined" | "Enum" | "Function" | "Array" | "Bool" | "Pointer" | "String" | "Struct" | "ArgumentIdentity" | "Any" | "Asset.GMAnimCurve" | "Asset.GMAudioGroup" | "Asset.GMFont" | "Asset.GMObject" | "Asset.GMParticleSystem" | "Asset.GMPath" | "Asset.GMRoom" | "Asset.GMScript" | "Asset.GMSequence" | "Asset.GMShader" | "Asset.GMSound" | "Asset.GMSprite" | "Asset.GMTileSet" | "Asset.GMTimeline" | "Asset.Script" | "Id.AudioEmitter" | "Id.AudioListener" | "Id.AudioSyncGroup" | "Id.BackgroundElement" | "Id.BinaryFile" | "Id.Buffer" | "Id.Camera" | "Id.DsGrid" | "Id.DsList" | "Id.DsMap" | "Id.DsPriority" | "Id.DsQueue" | "Id.DsStack" | "Id.ExternalCall" | "Id.Gif" | "Id.Instance" | "Id.Layer" | "Id.MpGrid" | "Id.ParticleEmitter" | "Id.ParticleSystem" | "Id.ParticleType" | "Id.PhysicsIndex" | "Id.PhysicsParticleGroup" | "Id.Sampler" | "Id.SequenceElement" | "Id.Socket" | "Id.Sound" | "Id.SpriteElement" | "Id.Surface" | "Id.TextFile" | "Id.Texture" | "Id.TileElementId" | "Id.TileMapElement" | "Id.TimeSource" | "Id.Uniform" | "Id.VertexBuffer" | "Id.VertexFormat" | "Mixed" | "EnumMember" | "Unknown" | "Never" | "InstanceType" | "ObjectType" | "StaticType"> | TypeStore<"Real" | "Undefined" | "Enum" | "Function" | "Array" | "Bool" | "Pointer" | "String" | "Struct" | "ArgumentIdentity" | "Any" | "Asset.GMAnimCurve" | "Asset.GMAudioGroup" | "Asset.GMFont" | "Asset.GMObject" | "Asset.GMParticleSystem" | "Asset.GMPath" | "Asset.GMRoom" | "Asset.GMScript" | "Asset.GMSequence" | "Asset.GMShader" | "Asset.GMSound" | "Asset.GMSprite" | "Asset.GMTileSet" | "Asset.GMTimeline" | "Asset.Script" | "Id.AudioEmitter" | "Id.AudioListener" | "Id.AudioSyncGroup" | "Id.BackgroundElement" | "Id.BinaryFile" | "Id.Buffer" | "Id.Camera" | "Id.DsGrid" | "Id.DsList" | "Id.DsMap" | "Id.DsPriority" | "Id.DsQueue" | "Id.DsStack" | "Id.ExternalCall" | "Id.Gif" | "Id.Instance" | "Id.Layer" | "Id.MpGrid" | "Id.ParticleEmitter" | "Id.ParticleSystem" | "Id.ParticleType" | "Id.PhysicsIndex" | "Id.PhysicsParticleGroup" | "Id.Sampler" | "Id.SequenceElement" | "Id.Socket" | "Id.Sound" | "Id.SpriteElement" | "Id.Surface" | "Id.TextFile" | "Id.Texture" | "Id.TileElementId" | "Id.TileMapElement" | "Id.TimeSource" | "Id.Uniform" | "Id.VertexBuffer" | "Id.VertexFormat" | "Mixed" | "EnumMember" | "Unknown" | "Never" | "InstanceType" | "ObjectType" | "StaticType"> | (Type<"Real" | "Undefined" | "Enum" | "Function" | "Array" | "Bool" | "Pointer" | "String" | "Struct" | "ArgumentIdentity" | "Any" | "Asset.GMAnimCurve" | "Asset.GMAudioGroup" | "Asset.GMFont" | "Asset.GMObject" | "Asset.GMParticleSystem" | "Asset.GMPath" | "Asset.GMRoom" | "Asset.GMScript" | "Asset.GMSequence" | "Asset.GMShader" | "Asset.GMSound" | "Asset.GMSprite" | "Asset.GMTileSet" | "Asset.GMTimeline" | "Asset.Script" | "Id.AudioEmitter" | "Id.AudioListener" | "Id.AudioSyncGroup" | "Id.BackgroundElement" | "Id.BinaryFile" | "Id.Buffer" | "Id.Camera" | "Id.DsGrid" | "Id.DsList" | "Id.DsMap" | "Id.DsPriority" | "Id.DsQueue" | "Id.DsStack" | "Id.ExternalCall" | "Id.Gif" | "Id.Instance" | "Id.Layer" | "Id.MpGrid" | "Id.ParticleEmitter" | "Id.ParticleSystem" | "Id.ParticleType" | "Id.PhysicsIndex" | "Id.PhysicsParticleGroup" | "Id.Sampler" | "Id.SequenceElement" | "Id.Socket" | "Id.Sound" | "Id.SpriteElement" | "Id.Surface" | "Id.TextFile" | "Id.Texture" | "Id.TileElementId" | "Id.TileMapElement" | "Id.TimeSource" | "Id.Uniform" | "Id.VertexBuffer" | "Id.VertexFormat" | "Mixed" | "EnumMember" | "Unknown" | "Never" | "InstanceType" | "ObjectType" | "StaticType"> | TypeStore<"Real" | "Undefined" | "Enum" | "Function" | "Array" | "Bool" | "Pointer" | "String" | "Struct" | "ArgumentIdentity" | "Any" | "Asset.GMAnimCurve" | "Asset.GMAudioGroup" | "Asset.GMFont" | "Asset.GMObject" | "Asset.GMParticleSystem" | "Asset.GMPath" | "Asset.GMRoom" | "Asset.GMScript" | "Asset.GMSequence" | "Asset.GMShader" | "Asset.GMSound" | "Asset.GMSprite" | "Asset.GMTileSet" | "Asset.GMTimeline" | "Asset.Script" | "Id.AudioEmitter" | "Id.AudioListener" | "Id.AudioSyncGroup" | "Id.BackgroundElement" | "Id.BinaryFile" | "Id.Buffer" | "Id.Camera" | "Id.DsGrid" | "Id.DsList" | "Id.DsMap" | "Id.DsPriority" | "Id.DsQueue" | "Id.DsStack" | "Id.ExternalCall" | "Id.Gif" | "Id.Instance" | "Id.Layer" | "Id.MpGrid" | "Id.ParticleEmitter" | "Id.ParticleSystem" | "Id.ParticleType" | "Id.PhysicsIndex" | "Id.PhysicsParticleGroup" | "Id.Sampler" | "Id.SequenceElement" | "Id.Socket" | "Id.Sound" | "Id.SpriteElement" | "Id.Surface" | "Id.TextFile" | "Id.Texture" | "Id.TileElementId" | "Id.TileMapElement" | "Id.TimeSource" | "Id.Uniform" | "Id.VertexBuffer" | "Id.VertexFormat" | "Mixed" | "EnumMember" | "Unknown" | "Never" | "InstanceType" | "ObjectType" | "StaticType">)[] | {
|
|
24
24
|
item: import("./project.location.js").ReferenceableType;
|
|
25
25
|
ref: Reference;
|
|
26
26
|
} | undefined;
|
package/dist/visitor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visitor.d.ts","sourceRoot":"","sources":["../src/visitor.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,EACV,uBAAuB,EACvB,kCAAkC,EAClC,yBAAyB,EACzB,qBAAqB,EACrB,6BAA6B,EAC7B,4BAA4B,EAC5B,+BAA+B,EAC/B,6BAA6B,EAC7B,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,8BAA8B,EAC9B,yBAAyB,EACzB,uCAAuC,EACvC,uCAAuC,EACvC,kCAAkC,EAClC,4BAA4B,EAC5B,0BAA0B,EAC1B,gCAAgC,EAChC,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,6BAA6B,EAC7B,wBAAwB,EACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAA+B,MAAM,YAAY,CAAC;AAEvE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAe,MAAM,aAAa,CAAC;AAO1E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAEL,KAAK,EACL,SAAS,EAEV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,YAAY,EAEb,MAAM,YAAY,CAAC;AAMpB,OAAO,EACL,kBAAkB,EAEnB,MAAM,wBAAwB,CAAC;AAEhC,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,QAgB5C;AAED,MAAM,WAAW,oBAAoB;IACnC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,qBAAa,mBAAoB,SAA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AAE,cAAc,GACtB,CAAC,IAAI,GAAG,SAAS,CAAC,EAAE;IAId,aAAa,CACpB,QAAQ,EAAE,wBAAwB,EAClC,OAAO,EAAE,cAAc,GACtB,IAAI,CAAC,QAAQ,CAAC;IAGR,4BAA4B,CACnC,QAAQ,EAAE,uCAAuC,EACjD,OAAO,EAAE,cAAc,GACtB,IAAI,CAAC,QAAQ,CAAC;IAIR,4BAA4B,CACnC,QAAQ,EAAE,uCAAuC,EACjD,OAAO,EAAE,cAAc,GACtB,IAAI,CAAC,QAAQ,CAAC;IAIR,eAAe,CACtB,QAAQ,EAAE,0BAA0B,EACpC,OAAO,EAAE,cAAc,GACtB,IAAI,CAAC,QAAQ,CAAC;IAQR,YAAY,CACnB,QAAQ,EAAE,uBAAuB,EACjC,GAAG,EAAE,cAAc,GAClB,IAAI,CAAC,OAAO,CAAC;CA4BjB"}
|
|
@@ -16,7 +16,7 @@ declare class GlobalDeclarationsProcessor {
|
|
|
16
16
|
get currentLocalScope(): StructType;
|
|
17
17
|
pushLocalScope(): void;
|
|
18
18
|
popLocalScope(): void;
|
|
19
|
-
get asset(): import("./project.asset.js").Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">;
|
|
19
|
+
get asset(): import("./project.asset.js").Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "roomui" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">;
|
|
20
20
|
get project(): import("./project.js").Project;
|
|
21
21
|
get globalSelf(): StructType;
|
|
22
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visitor.globals.d.ts","sourceRoot":"","sources":["../src/visitor.globals.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,E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AAE,+BAA+B;IAI9D,cAAc,CAAC,QAAQ,EAAE,yBAAyB;IAKlD,kBAAkB,CAAC,QAAQ,EAAE,6BAA6B;gBA0B9C,SAAS,EAAE,2BAA2B;CAS5D"}
|
|
@@ -38,7 +38,7 @@ export declare class SignifierProcessor {
|
|
|
38
38
|
global: StructType;
|
|
39
39
|
selfIsGlobal: boolean;
|
|
40
40
|
};
|
|
41
|
-
get asset(): import("./project.asset.js").Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">;
|
|
41
|
+
get asset(): import("./project.asset.js").Asset<"animcurves" | "extensions" | "fonts" | "notes" | "objects" | "particles" | "paths" | "rooms" | "roomui" | "scripts" | "sequences" | "shaders" | "sounds" | "sprites" | "tilesets" | "timelines">;
|
|
42
42
|
get project(): import("./project.js").Project;
|
|
43
43
|
get globalSelf(): StructType;
|
|
44
44
|
get currentLocalScope(): StructType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visitor.processor.d.ts","sourceRoot":"","sources":["../src/visitor.processor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAGL,kBAAkB,EACnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,QAAQ,EACR,KAAK,EACL,KAAK,MAAM,EACX,KAAK,KAAK,EACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAGhF,eAAO,MAAM,qBAAqB,4FAKI,CAAC;AAEvC,qBAAa,kBAAkB;IAiBjB,QAAQ,CAAC,IAAI,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AE,YAAY,GAAG,QAAQ,EAC7B,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,OAAO;IASvB,QAAQ,CACN,cAAc,EAAE,eAAe,EAC/B,2BAA2B,EAAE,OAAO;IAStC,cAAc,CACZ,UAAU,EAAE,eAAe,EAC3B,YAAY,EAAE,OAAO,EACrB,UAAU,iBAAgC;IAM5C,aAAa,CACX,UAAU,EAAE,eAAe,EAC3B,IAAI,EAAE,QAAQ,GAAG,YAAY,EAC7B,YAAY,EAAE,OAAO,EACrB,OAAO,CAAC,EAAE;QAAE,aAAa,CAAC,EAAE,OAAO,CAAA;KAAE;IAUvC,aAAa,CACX,cAAc,EAAE,eAAe,EAC/B,2BAA2B,EAAE,OAAO;IAOtC,YAAY,CACV,cAAc,EAAE,eAAe,EAC/B,2BAA2B,EAAE,OAAO;IAOtC,kBAAkB,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS;IAI/C,iBAAiB;CAGlB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bscotch/gml-parser",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.4",
|
|
4
4
|
"description": "A parser for GML (GameMaker Language) files for programmatic manipulation and analysis of GameMaker projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gml",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"xml2js": "0.6.2",
|
|
39
39
|
"zod": "^3.23.8",
|
|
40
40
|
"@bscotch/stitch-config": "0.4.0",
|
|
41
|
-
"@bscotch/
|
|
42
|
-
"@bscotch/gamemaker-releases": "0.7.
|
|
43
|
-
"@bscotch/
|
|
41
|
+
"@bscotch/stitch-launcher": "1.5.3",
|
|
42
|
+
"@bscotch/gamemaker-releases": "0.7.1",
|
|
43
|
+
"@bscotch/yy": "2.4.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/xml2js": "0.4.14",
|