@qwebsolutions/metapsi-generator 0.1.7 → 0.1.9
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/ApiModel.d.ts +29 -0
- package/dist/ApiModel.d.ts.map +1 -1
- package/dist/ApiModel.js +274 -66
- package/dist/ApiModel.js.map +1 -1
- package/dist/CSharpContracts.d.ts +2 -0
- package/dist/CSharpContracts.d.ts.map +1 -1
- package/dist/CSharpContracts.js.map +1 -1
- package/dist/CSharpOutput.d.ts.map +1 -1
- package/dist/CSharpOutput.js +23 -13
- package/dist/CSharpOutput.js.map +1 -1
- package/dist/MethodDefinitionBuilder.d.ts +1 -1
- package/dist/MethodDefinitionBuilder.d.ts.map +1 -1
- package/dist/MethodDefinitionBuilder.js +2 -2
- package/dist/MethodDefinitionBuilder.js.map +1 -1
- package/dist/ToCSharp.d.ts.map +1 -1
- package/dist/ToCSharp.js +25 -4
- package/dist/ToCSharp.js.map +1 -1
- package/dist/TypeScriptApi.d.ts +25 -5
- package/dist/TypeScriptApi.d.ts.map +1 -1
- package/dist/TypeScriptApi.js +30 -19
- package/dist/TypeScriptApi.js.map +1 -1
- package/dist/Types.d.ts +101 -15
- package/dist/Types.d.ts.map +1 -1
- package/dist/Types.js +220 -153
- package/dist/Types.js.map +1 -1
- package/dist/WebComponentModel.d.ts.map +1 -1
- package/dist/WebComponentModel.js +1 -14
- package/dist/WebComponentModel.js.map +1 -1
- package/dist/internal.d.ts +0 -2
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +0 -2
- package/dist/internal.js.map +1 -1
- package/dist/tsTypeLoader.d.ts +13 -0
- package/dist/tsTypeLoader.d.ts.map +1 -1
- package/dist/tsTypeLoader.js +52 -9
- package/dist/tsTypeLoader.js.map +1 -1
- package/package.json +1 -1
package/dist/Types.d.ts
CHANGED
|
@@ -25,6 +25,15 @@ export type BuiltInNumeric = {
|
|
|
25
25
|
kind: "decimal";
|
|
26
26
|
};
|
|
27
27
|
export declare namespace UnionModel {
|
|
28
|
+
/**
|
|
29
|
+
* A type parameter DECLARATION (`<T extends Constraint = Default>`), owned by the
|
|
30
|
+
* signature or entity that introduces it. Uses of T inside types are `typeParameter` references.
|
|
31
|
+
*/
|
|
32
|
+
type TypeParameter = {
|
|
33
|
+
name: string;
|
|
34
|
+
constraint?: TypeReference;
|
|
35
|
+
default?: TypeReference;
|
|
36
|
+
};
|
|
28
37
|
type TypeReference = {
|
|
29
38
|
kind: "union";
|
|
30
39
|
types: TypeReference[];
|
|
@@ -40,15 +49,18 @@ export declare namespace UnionModel {
|
|
|
40
49
|
} | {
|
|
41
50
|
kind: "array";
|
|
42
51
|
type: TypeReference;
|
|
43
|
-
}
|
|
52
|
+
}
|
|
53
|
+
/** reference to a real declaration; typeArguments is [] for plain references */
|
|
54
|
+
| {
|
|
44
55
|
kind: "namedType";
|
|
45
56
|
name: string;
|
|
46
57
|
module?: string;
|
|
47
|
-
} | {
|
|
48
|
-
kind: "genericType";
|
|
49
|
-
name: string;
|
|
50
|
-
module: string;
|
|
51
58
|
typeArguments: TypeReference[];
|
|
59
|
+
}
|
|
60
|
+
/** a USE of a type parameter declared on the enclosing signature/entity */
|
|
61
|
+
| {
|
|
62
|
+
kind: "typeParameter";
|
|
63
|
+
name: string;
|
|
52
64
|
} | {
|
|
53
65
|
kind: "tuple";
|
|
54
66
|
typeArguments: TypeReference[];
|
|
@@ -73,6 +85,8 @@ export declare namespace UnionModel {
|
|
|
73
85
|
returnType: TypeReference;
|
|
74
86
|
parameters: Parameter[];
|
|
75
87
|
comment?: string;
|
|
88
|
+
/** type parameters introduced by this signature; absent/[] when not generic */
|
|
89
|
+
typeParameters?: TypeParameter[];
|
|
76
90
|
};
|
|
77
91
|
type Property = {
|
|
78
92
|
name: string;
|
|
@@ -88,6 +102,8 @@ export declare namespace UnionModel {
|
|
|
88
102
|
*/
|
|
89
103
|
type: TypeReference;
|
|
90
104
|
isParams?: boolean;
|
|
105
|
+
/** TS `?` - the parameter slot may hold no expression at all (arity information, orthogonal to type) */
|
|
106
|
+
isOptional?: boolean;
|
|
91
107
|
comment: string;
|
|
92
108
|
};
|
|
93
109
|
type Method = {
|
|
@@ -98,6 +114,10 @@ export declare namespace UnionModel {
|
|
|
98
114
|
};
|
|
99
115
|
}
|
|
100
116
|
export declare namespace ExpandedModel {
|
|
117
|
+
type TypeParameter = {
|
|
118
|
+
name: string;
|
|
119
|
+
constraint?: TypeReference;
|
|
120
|
+
};
|
|
101
121
|
type FlatTypeReference = {
|
|
102
122
|
kind: "any";
|
|
103
123
|
} | {
|
|
@@ -107,15 +127,18 @@ export declare namespace ExpandedModel {
|
|
|
107
127
|
} | {
|
|
108
128
|
kind: "array";
|
|
109
129
|
type: TypeReference;
|
|
110
|
-
}
|
|
130
|
+
}
|
|
131
|
+
/** reference to a real declaration; typeArguments is [] for plain references */
|
|
132
|
+
| {
|
|
111
133
|
kind: "namedType";
|
|
112
134
|
name: string;
|
|
113
135
|
module?: string;
|
|
114
|
-
} | {
|
|
115
|
-
kind: "genericType";
|
|
116
|
-
name: string;
|
|
117
|
-
module: string;
|
|
118
136
|
typeArguments: TypeReference[];
|
|
137
|
+
}
|
|
138
|
+
/** an (unsubstituted) USE of a type parameter declared on the enclosing overload/entity */
|
|
139
|
+
| {
|
|
140
|
+
kind: "typeParameter";
|
|
141
|
+
name: string;
|
|
119
142
|
} | {
|
|
120
143
|
kind: "tuple";
|
|
121
144
|
typeArguments: TypeReference[];
|
|
@@ -144,6 +167,7 @@ export declare namespace ExpandedModel {
|
|
|
144
167
|
returnType: TypeReference;
|
|
145
168
|
parameters: Parameter[];
|
|
146
169
|
comment?: string;
|
|
170
|
+
typeParameters?: TypeParameter[];
|
|
147
171
|
};
|
|
148
172
|
type Class = {
|
|
149
173
|
name: string;
|
|
@@ -163,6 +187,8 @@ export declare namespace ExpandedModel {
|
|
|
163
187
|
name: string;
|
|
164
188
|
type: ParameterType;
|
|
165
189
|
isParams?: boolean;
|
|
190
|
+
/** carried through expansion untouched; consumed only at emission (C# `= null` default) */
|
|
191
|
+
isOptional?: boolean;
|
|
166
192
|
comment: string;
|
|
167
193
|
};
|
|
168
194
|
type Method = {
|
|
@@ -174,6 +200,8 @@ export declare namespace ExpandedModel {
|
|
|
174
200
|
type MethodOverload = {
|
|
175
201
|
returnType: TypeReference;
|
|
176
202
|
parameters: Parameter[];
|
|
203
|
+
/** type parameters declared by the original TS overload; copied onto every cartesian-expanded overload */
|
|
204
|
+
typeParameters?: TypeParameter[];
|
|
177
205
|
};
|
|
178
206
|
}
|
|
179
207
|
export declare namespace ResolverModel {
|
|
@@ -225,11 +253,22 @@ export declare namespace ResolverModel {
|
|
|
225
253
|
name: string;
|
|
226
254
|
type: ParameterType;
|
|
227
255
|
isParams?: boolean;
|
|
256
|
+
isOptional?: boolean;
|
|
228
257
|
comment: string;
|
|
229
258
|
};
|
|
259
|
+
/**
|
|
260
|
+
* A type parameter as it will be emitted. `name` is the (possibly renamed) C# name;
|
|
261
|
+
* `originalName` is the TS name, used to match still-unresolved `typeParameter` references.
|
|
262
|
+
*/
|
|
263
|
+
type TypeParameter = {
|
|
264
|
+
name: string;
|
|
265
|
+
originalName: string;
|
|
266
|
+
constraint?: TypeReference;
|
|
267
|
+
};
|
|
230
268
|
type MethodOverload = {
|
|
231
269
|
returnType: TypeReference;
|
|
232
270
|
parameters: Parameter[];
|
|
271
|
+
typeParameters?: TypeParameter[];
|
|
233
272
|
};
|
|
234
273
|
type Method = {
|
|
235
274
|
name: string;
|
|
@@ -277,11 +316,15 @@ export declare namespace GeneratorModel {
|
|
|
277
316
|
type Parameter = {
|
|
278
317
|
name: string;
|
|
279
318
|
type: csgen.TypeReference;
|
|
319
|
+
/** TS-optional origin; not yet consumed by emission */
|
|
320
|
+
isOptional?: boolean;
|
|
280
321
|
comment: string;
|
|
281
322
|
};
|
|
282
323
|
type GeneratedMethod = {
|
|
283
324
|
name: string;
|
|
284
325
|
parameters: Parameter[];
|
|
326
|
+
/** generic type parameters of the emitted C# method, with printable constraints */
|
|
327
|
+
typeParameters?: csgen.TypeParameter[];
|
|
285
328
|
};
|
|
286
329
|
type LiteralCallArgument = {
|
|
287
330
|
kind: "literal";
|
|
@@ -308,19 +351,62 @@ export declare namespace GeneratorModel {
|
|
|
308
351
|
overloads: MethodOverload[];
|
|
309
352
|
};
|
|
310
353
|
}
|
|
354
|
+
/**
|
|
355
|
+
* Collapses a signature's type parameter declarations alongside its types.
|
|
356
|
+
*/
|
|
357
|
+
export declare function collapseTypeParameters(typeParameters: UnionModel.TypeParameter[] | undefined): ExpandedModel.TypeParameter[] | undefined;
|
|
311
358
|
/**
|
|
312
359
|
* This just picks one of the possibilities, best effort
|
|
313
360
|
* @param modelType
|
|
314
361
|
* @returns
|
|
315
362
|
*/
|
|
316
363
|
export declare function collapseType(modelType: UnionModel.TypeReference): ExpandedModel.FlatTypeReference;
|
|
364
|
+
export declare function expandUnionType(unionType: UnionModel.TypeReference): ExpandedModel.ExpandedType[];
|
|
317
365
|
/**
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
366
|
+
* @param typeParameterScope type parameters declared by the enclosing overload:
|
|
367
|
+
* TS name -> emitted C# name. A `typeParameter` reference whose name is in scope
|
|
368
|
+
* resolves to that bare C# name (the emitted method declares it); anything else
|
|
369
|
+
* stays unresolved and surfaces in the report.
|
|
321
370
|
*/
|
|
322
|
-
export declare function
|
|
323
|
-
|
|
371
|
+
export declare function getObviousTypeMapping(flatType: ExpandedModel.TypeReference, typeParameterScope?: Record<string, string>): ResolverModel.TypeReference;
|
|
372
|
+
/**
|
|
373
|
+
* Does `type` mention the type parameter `name` (outside of nested signatures that
|
|
374
|
+
* redeclare it)?
|
|
375
|
+
*/
|
|
376
|
+
export declare function typeReferencesTypeParameter(type: UnionModel.TypeReference, name: string): boolean;
|
|
377
|
+
/**
|
|
378
|
+
* Replaces every use of the type parameter `name` inside `type` with `withType`.
|
|
379
|
+
* Stops at nested signatures that redeclare the same name.
|
|
380
|
+
*/
|
|
381
|
+
export declare function substituteTypeParameter(type: UnionModel.TypeReference, name: string, withType: UnionModel.TypeReference): UnionModel.TypeReference;
|
|
382
|
+
/**
|
|
383
|
+
* Substitutes a type parameter across a whole signature: parameters, return type,
|
|
384
|
+
* and the constraints/defaults of the signature's remaining type parameters.
|
|
385
|
+
* A signature that redeclares `name` shadows it and is left untouched.
|
|
386
|
+
*/
|
|
387
|
+
export declare function substituteTypeParameterInSignature(signature: UnionModel.FnSignature, name: string, withType: UnionModel.TypeReference): UnionModel.FnSignature;
|
|
388
|
+
/**
|
|
389
|
+
* Above this, a union-constrained signature stays generic instead of fanning out
|
|
390
|
+
* (per-occurrence expansion and future arity variants multiply on top of this).
|
|
391
|
+
*/
|
|
392
|
+
export declare const maxInstantiatedOverloads = 16;
|
|
393
|
+
/**
|
|
394
|
+
* The instantiation half of expansion: a type parameter constrained by a UNION is
|
|
395
|
+
* expanded at its binding - one signature per branch, with the branch substituted
|
|
396
|
+
* into every occurrence at once. This is what per-occurrence expansion cannot do:
|
|
397
|
+
* `<T extends A | B>(a: T, b: T)` becomes (A, A) and (B, B), never (A, B).
|
|
398
|
+
*
|
|
399
|
+
* Deliberately narrow (each guard keeps a case where instantiation would make the
|
|
400
|
+
* output worse):
|
|
401
|
+
* - only UNION constraints: a single-type constraint is expressible as a C# `where`
|
|
402
|
+
* clause, so the faithful rendering is the generic method, not erasure
|
|
403
|
+
* - only type parameters used in at least one parameter position: return-only
|
|
404
|
+
* instantiations would differ solely by return type, which C# rejects
|
|
405
|
+
* - not when the constraint references another type parameter: substitution order
|
|
406
|
+
* becomes meaningful; those stay generic for manual treatment
|
|
407
|
+
* - capped at maxInstantiatedOverloads combinations
|
|
408
|
+
*/
|
|
409
|
+
export declare function instantiateUnionConstrainedTypeParameters(signature: UnionModel.FnSignature): UnionModel.FnSignature[];
|
|
324
410
|
export declare function cartesianProduct<T>(sets: T[][]): T[][];
|
|
325
411
|
export declare function transformRawNumericType(type: UnionModel.TypeReference, toType: BuiltInNumeric | BuiltInNumeric[]): UnionModel.TypeReference;
|
|
326
412
|
export declare function mapNumericProperty(properties: UnionModel.Property[], name: string, numericType: BuiltInNumeric | BuiltInNumeric[]): void;
|
package/dist/Types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Types.d.ts","sourceRoot":"../src/","sources":["Types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AAG/D,MAAM,MAAM,cAAc,GACpB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,GACf;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAA;AAEzB,yBAAiB,UAAU,CAAC;IACxB,KAAY,aAAa,GACrB;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,aAAa,EAAE,CAAA;KAAE,GACvC;QAAE,IAAI,EAAE,KAAK,CAAA;KAAE,GACf;QAAE,IAAI,EAAE,SAAS,CAAA;KAAE,GACnB;QAAE,IAAI,EAAE,QAAQ,CAAA;KAAE,GAClB;QAAE,IAAI,EAAE,eAAe,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GACxC;QAAE,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