@alloy-js/csharp 0.18.0-dev.3 → 0.18.0-dev.5
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/src/components/ClassDeclaration.d.ts +47 -0
- package/dist/src/components/ClassDeclaration.d.ts.map +1 -0
- package/dist/src/components/{Class.js → ClassDeclaration.js} +33 -8
- package/dist/src/components/ClassMethod.d.ts +2 -4
- package/dist/src/components/ClassMethod.d.ts.map +1 -1
- package/dist/src/components/ClassMethod.js +2 -2
- package/dist/src/components/EnumDeclaration.d.ts +34 -0
- package/dist/src/components/EnumDeclaration.d.ts.map +1 -0
- package/dist/src/components/{Enum.js → EnumDeclaration.js} +25 -5
- package/dist/src/components/index.d.ts +2 -2
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +2 -2
- package/dist/src/components/stc/index.d.ts +2 -2
- package/dist/src/components/stc/index.d.ts.map +1 -1
- package/dist/src/components/stc/index.js +2 -2
- package/dist/src/modifiers.d.ts +17 -4
- package/dist/src/modifiers.d.ts.map +1 -1
- package/dist/src/modifiers.js +9 -29
- package/dist/test/class-method.test.js +16 -14
- package/dist/test/class.test.js +35 -35
- package/dist/test/enum.test.js +12 -12
- package/dist/test/namespace.test.js +8 -8
- package/dist/test/projectdirectory.test.js +8 -8
- package/dist/test/sourcefile.test.js +4 -4
- package/dist/test/using.test.js +9 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/{Class.tsx → ClassDeclaration.tsx} +45 -16
- package/src/components/ClassMethod.tsx +6 -10
- package/src/components/{Enum.tsx → EnumDeclaration.tsx} +30 -6
- package/src/components/index.ts +2 -2
- package/src/components/stc/index.ts +2 -2
- package/src/modifiers.ts +36 -39
- package/temp/api.json +407 -266
- package/test/class-method.test.tsx +8 -14
- package/test/class.test.tsx +35 -56
- package/test/enum.test.tsx +11 -11
- package/test/namespace.test.tsx +4 -4
- package/test/projectdirectory.test.tsx +4 -4
- package/test/sourcefile.test.tsx +2 -2
- package/test/using.test.tsx +9 -9
- package/dist/src/components/Class.d.ts +0 -26
- package/dist/src/components/Class.d.ts.map +0 -1
- package/dist/src/components/Enum.d.ts +0 -15
- package/dist/src/components/Enum.d.ts.map +0 -1
package/temp/api.json
CHANGED
|
@@ -173,77 +173,157 @@
|
|
|
173
173
|
"preserveMemberOrder": false,
|
|
174
174
|
"members": [
|
|
175
175
|
{
|
|
176
|
-
"kind": "
|
|
177
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
178
|
-
"docComment": "",
|
|
176
|
+
"kind": "Interface",
|
|
177
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface",
|
|
178
|
+
"docComment": "/**\n * Access modifiers.\n */\n",
|
|
179
179
|
"excerptTokens": [
|
|
180
180
|
{
|
|
181
181
|
"kind": "Content",
|
|
182
|
-
"text": "export
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"kind": "Content",
|
|
186
|
-
"text": "\"public\" | \"protected\" | \"private\" | \"internal\" | \"protected-internal\" | \"private-protected\" | \"file\""
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"kind": "Content",
|
|
190
|
-
"text": ";"
|
|
182
|
+
"text": "export interface AccessModifiers "
|
|
191
183
|
}
|
|
192
184
|
],
|
|
193
185
|
"fileUrlPath": "src/modifiers.ts",
|
|
194
186
|
"releaseTag": "Public",
|
|
195
|
-
"name": "
|
|
196
|
-
"
|
|
197
|
-
|
|
198
|
-
"endIndex": 2
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"kind": "Function",
|
|
203
|
-
"canonicalReference": "@alloy-js/csharp!Class:function(1)",
|
|
204
|
-
"docComment": "",
|
|
205
|
-
"excerptTokens": [
|
|
187
|
+
"name": "AccessModifiers",
|
|
188
|
+
"preserveMemberOrder": false,
|
|
189
|
+
"members": [
|
|
206
190
|
{
|
|
207
|
-
"kind": "
|
|
208
|
-
"
|
|
191
|
+
"kind": "PropertySignature",
|
|
192
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers#file:member",
|
|
193
|
+
"docComment": "",
|
|
194
|
+
"excerptTokens": [
|
|
195
|
+
{
|
|
196
|
+
"kind": "Content",
|
|
197
|
+
"text": "readonly file?: "
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"kind": "Content",
|
|
201
|
+
"text": "boolean"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "Content",
|
|
205
|
+
"text": ";"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"isReadonly": true,
|
|
209
|
+
"isOptional": true,
|
|
210
|
+
"releaseTag": "Public",
|
|
211
|
+
"name": "file",
|
|
212
|
+
"propertyTypeTokenRange": {
|
|
213
|
+
"startIndex": 1,
|
|
214
|
+
"endIndex": 2
|
|
215
|
+
}
|
|
209
216
|
},
|
|
210
217
|
{
|
|
211
|
-
"kind": "
|
|
212
|
-
"
|
|
213
|
-
"
|
|
218
|
+
"kind": "PropertySignature",
|
|
219
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers#internal:member",
|
|
220
|
+
"docComment": "",
|
|
221
|
+
"excerptTokens": [
|
|
222
|
+
{
|
|
223
|
+
"kind": "Content",
|
|
224
|
+
"text": "readonly internal?: "
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"kind": "Content",
|
|
228
|
+
"text": "boolean"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"kind": "Content",
|
|
232
|
+
"text": ";"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"isReadonly": true,
|
|
236
|
+
"isOptional": true,
|
|
237
|
+
"releaseTag": "Public",
|
|
238
|
+
"name": "internal",
|
|
239
|
+
"propertyTypeTokenRange": {
|
|
240
|
+
"startIndex": 1,
|
|
241
|
+
"endIndex": 2
|
|
242
|
+
}
|
|
214
243
|
},
|
|
215
244
|
{
|
|
216
|
-
"kind": "
|
|
217
|
-
"
|
|
245
|
+
"kind": "PropertySignature",
|
|
246
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers#private:member",
|
|
247
|
+
"docComment": "",
|
|
248
|
+
"excerptTokens": [
|
|
249
|
+
{
|
|
250
|
+
"kind": "Content",
|
|
251
|
+
"text": "readonly private?: "
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"kind": "Content",
|
|
255
|
+
"text": "boolean"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"kind": "Content",
|
|
259
|
+
"text": ";"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"isReadonly": true,
|
|
263
|
+
"isOptional": true,
|
|
264
|
+
"releaseTag": "Public",
|
|
265
|
+
"name": "private",
|
|
266
|
+
"propertyTypeTokenRange": {
|
|
267
|
+
"startIndex": 1,
|
|
268
|
+
"endIndex": 2
|
|
269
|
+
}
|
|
218
270
|
},
|
|
219
271
|
{
|
|
220
|
-
"kind": "
|
|
221
|
-
"
|
|
222
|
-
"
|
|
272
|
+
"kind": "PropertySignature",
|
|
273
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers#protected:member",
|
|
274
|
+
"docComment": "",
|
|
275
|
+
"excerptTokens": [
|
|
276
|
+
{
|
|
277
|
+
"kind": "Content",
|
|
278
|
+
"text": "readonly protected?: "
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"kind": "Content",
|
|
282
|
+
"text": "boolean"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"kind": "Content",
|
|
286
|
+
"text": ";"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"isReadonly": true,
|
|
290
|
+
"isOptional": true,
|
|
291
|
+
"releaseTag": "Public",
|
|
292
|
+
"name": "protected",
|
|
293
|
+
"propertyTypeTokenRange": {
|
|
294
|
+
"startIndex": 1,
|
|
295
|
+
"endIndex": 2
|
|
296
|
+
}
|
|
223
297
|
},
|
|
224
298
|
{
|
|
225
|
-
"kind": "
|
|
226
|
-
"
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
299
|
+
"kind": "PropertySignature",
|
|
300
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers#public:member",
|
|
301
|
+
"docComment": "",
|
|
302
|
+
"excerptTokens": [
|
|
303
|
+
{
|
|
304
|
+
"kind": "Content",
|
|
305
|
+
"text": "readonly public?: "
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"kind": "Content",
|
|
309
|
+
"text": "boolean"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "Content",
|
|
313
|
+
"text": ";"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"isReadonly": true,
|
|
317
|
+
"isOptional": true,
|
|
318
|
+
"releaseTag": "Public",
|
|
319
|
+
"name": "public",
|
|
320
|
+
"propertyTypeTokenRange": {
|
|
240
321
|
"startIndex": 1,
|
|
241
322
|
"endIndex": 2
|
|
242
|
-
}
|
|
243
|
-
"isOptional": false
|
|
323
|
+
}
|
|
244
324
|
}
|
|
245
325
|
],
|
|
246
|
-
"
|
|
326
|
+
"extendsTokenRanges": []
|
|
247
327
|
},
|
|
248
328
|
{
|
|
249
329
|
"kind": "Function",
|
|
@@ -273,7 +353,7 @@
|
|
|
273
353
|
"text": ";"
|
|
274
354
|
}
|
|
275
355
|
],
|
|
276
|
-
"fileUrlPath": "src/components/
|
|
356
|
+
"fileUrlPath": "src/components/ClassDeclaration.tsx",
|
|
277
357
|
"returnTypeTokenRange": {
|
|
278
358
|
"startIndex": 3,
|
|
279
359
|
"endIndex": 4
|
|
@@ -299,42 +379,23 @@
|
|
|
299
379
|
"excerptTokens": [
|
|
300
380
|
{
|
|
301
381
|
"kind": "Content",
|
|
302
|
-
"text": "export interface ClassConstructorProps "
|
|
382
|
+
"text": "export interface ClassConstructorProps extends "
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"kind": "Reference",
|
|
386
|
+
"text": "AccessModifiers",
|
|
387
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"kind": "Content",
|
|
391
|
+
"text": " "
|
|
303
392
|
}
|
|
304
393
|
],
|
|
305
|
-
"fileUrlPath": "src/components/
|
|
394
|
+
"fileUrlPath": "src/components/ClassDeclaration.tsx",
|
|
306
395
|
"releaseTag": "Public",
|
|
307
396
|
"name": "ClassConstructorProps",
|
|
308
397
|
"preserveMemberOrder": false,
|
|
309
398
|
"members": [
|
|
310
|
-
{
|
|
311
|
-
"kind": "PropertySignature",
|
|
312
|
-
"canonicalReference": "@alloy-js/csharp!ClassConstructorProps#accessModifier:member",
|
|
313
|
-
"docComment": "",
|
|
314
|
-
"excerptTokens": [
|
|
315
|
-
{
|
|
316
|
-
"kind": "Content",
|
|
317
|
-
"text": "accessModifier?: "
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"kind": "Reference",
|
|
321
|
-
"text": "AccessModifier",
|
|
322
|
-
"canonicalReference": "@alloy-js/csharp!AccessModifier:type"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"kind": "Content",
|
|
326
|
-
"text": ";"
|
|
327
|
-
}
|
|
328
|
-
],
|
|
329
|
-
"isReadonly": false,
|
|
330
|
-
"isOptional": true,
|
|
331
|
-
"releaseTag": "Public",
|
|
332
|
-
"name": "accessModifier",
|
|
333
|
-
"propertyTypeTokenRange": {
|
|
334
|
-
"startIndex": 1,
|
|
335
|
-
"endIndex": 2
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
399
|
{
|
|
339
400
|
"kind": "PropertySignature",
|
|
340
401
|
"canonicalReference": "@alloy-js/csharp!ClassConstructorProps#children:member",
|
|
@@ -461,7 +522,59 @@
|
|
|
461
522
|
}
|
|
462
523
|
}
|
|
463
524
|
],
|
|
464
|
-
"extendsTokenRanges": [
|
|
525
|
+
"extendsTokenRanges": [
|
|
526
|
+
{
|
|
527
|
+
"startIndex": 1,
|
|
528
|
+
"endIndex": 2
|
|
529
|
+
}
|
|
530
|
+
]
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"kind": "Function",
|
|
534
|
+
"canonicalReference": "@alloy-js/csharp!ClassDeclaration:function(1)",
|
|
535
|
+
"docComment": "/**\n * CSharp class declaration.\n *\n * @example\n * ```tsx\n * <ClassDeclaration public name=\"MyClass\">\n * <ClassMember public name=\"MyField\" type=\"int\" />\n * <ClassConstructor>\n * <Parameter name=\"value\" type=\"int\" />\n * this.MyField = value;\n * </ClassConstructor>\n * </ClassDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public class MyClass\n * {\n * public int MyField;\n * public MyClass(int value)\n * {\n * this.MyField = value;\n * }\n * }\n * ```\n *\n */\n",
|
|
536
|
+
"excerptTokens": [
|
|
537
|
+
{
|
|
538
|
+
"kind": "Content",
|
|
539
|
+
"text": "export declare function ClassDeclaration(props: "
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"kind": "Reference",
|
|
543
|
+
"text": "ClassProps",
|
|
544
|
+
"canonicalReference": "@alloy-js/csharp!ClassProps:interface"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"kind": "Content",
|
|
548
|
+
"text": "): "
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"kind": "Reference",
|
|
552
|
+
"text": "core.Children",
|
|
553
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"kind": "Content",
|
|
557
|
+
"text": ";"
|
|
558
|
+
}
|
|
559
|
+
],
|
|
560
|
+
"fileUrlPath": "src/components/ClassDeclaration.tsx",
|
|
561
|
+
"returnTypeTokenRange": {
|
|
562
|
+
"startIndex": 3,
|
|
563
|
+
"endIndex": 4
|
|
564
|
+
},
|
|
565
|
+
"releaseTag": "Public",
|
|
566
|
+
"overloadIndex": 1,
|
|
567
|
+
"parameters": [
|
|
568
|
+
{
|
|
569
|
+
"parameterName": "props",
|
|
570
|
+
"parameterTypeTokenRange": {
|
|
571
|
+
"startIndex": 1,
|
|
572
|
+
"endIndex": 2
|
|
573
|
+
},
|
|
574
|
+
"isOptional": false
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"name": "ClassDeclaration"
|
|
465
578
|
},
|
|
466
579
|
{
|
|
467
580
|
"kind": "Function",
|
|
@@ -491,7 +604,7 @@
|
|
|
491
604
|
"text": ";"
|
|
492
605
|
}
|
|
493
606
|
],
|
|
494
|
-
"fileUrlPath": "src/components/
|
|
607
|
+
"fileUrlPath": "src/components/ClassDeclaration.tsx",
|
|
495
608
|
"returnTypeTokenRange": {
|
|
496
609
|
"startIndex": 3,
|
|
497
610
|
"endIndex": 4
|
|
@@ -517,42 +630,23 @@
|
|
|
517
630
|
"excerptTokens": [
|
|
518
631
|
{
|
|
519
632
|
"kind": "Content",
|
|
520
|
-
"text": "export interface ClassMemberProps "
|
|
633
|
+
"text": "export interface ClassMemberProps extends "
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"kind": "Reference",
|
|
637
|
+
"text": "AccessModifiers",
|
|
638
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"kind": "Content",
|
|
642
|
+
"text": " "
|
|
521
643
|
}
|
|
522
644
|
],
|
|
523
|
-
"fileUrlPath": "src/components/
|
|
645
|
+
"fileUrlPath": "src/components/ClassDeclaration.tsx",
|
|
524
646
|
"releaseTag": "Public",
|
|
525
647
|
"name": "ClassMemberProps",
|
|
526
648
|
"preserveMemberOrder": false,
|
|
527
|
-
"members": [
|
|
528
|
-
{
|
|
529
|
-
"kind": "PropertySignature",
|
|
530
|
-
"canonicalReference": "@alloy-js/csharp!ClassMemberProps#accessModifier:member",
|
|
531
|
-
"docComment": "",
|
|
532
|
-
"excerptTokens": [
|
|
533
|
-
{
|
|
534
|
-
"kind": "Content",
|
|
535
|
-
"text": "accessModifier?: "
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"kind": "Reference",
|
|
539
|
-
"text": "AccessModifier",
|
|
540
|
-
"canonicalReference": "@alloy-js/csharp!AccessModifier:type"
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"kind": "Content",
|
|
544
|
-
"text": ";"
|
|
545
|
-
}
|
|
546
|
-
],
|
|
547
|
-
"isReadonly": false,
|
|
548
|
-
"isOptional": true,
|
|
549
|
-
"releaseTag": "Public",
|
|
550
|
-
"name": "accessModifier",
|
|
551
|
-
"propertyTypeTokenRange": {
|
|
552
|
-
"startIndex": 1,
|
|
553
|
-
"endIndex": 2
|
|
554
|
-
}
|
|
555
|
-
},
|
|
649
|
+
"members": [
|
|
556
650
|
{
|
|
557
651
|
"kind": "PropertySignature",
|
|
558
652
|
"canonicalReference": "@alloy-js/csharp!ClassMemberProps#name:member",
|
|
@@ -637,7 +731,12 @@
|
|
|
637
731
|
}
|
|
638
732
|
}
|
|
639
733
|
],
|
|
640
|
-
"extendsTokenRanges": [
|
|
734
|
+
"extendsTokenRanges": [
|
|
735
|
+
{
|
|
736
|
+
"startIndex": 1,
|
|
737
|
+
"endIndex": 2
|
|
738
|
+
}
|
|
739
|
+
]
|
|
641
740
|
},
|
|
642
741
|
{
|
|
643
742
|
"kind": "Function",
|
|
@@ -693,7 +792,25 @@
|
|
|
693
792
|
"excerptTokens": [
|
|
694
793
|
{
|
|
695
794
|
"kind": "Content",
|
|
696
|
-
"text": "export interface ClassMethodProps "
|
|
795
|
+
"text": "export interface ClassMethodProps extends "
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"kind": "Reference",
|
|
799
|
+
"text": "AccessModifiers",
|
|
800
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"kind": "Content",
|
|
804
|
+
"text": ", "
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"kind": "Reference",
|
|
808
|
+
"text": "MethodModifiers",
|
|
809
|
+
"canonicalReference": "@alloy-js/csharp!MethodModifiers:interface"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"kind": "Content",
|
|
813
|
+
"text": " "
|
|
697
814
|
}
|
|
698
815
|
],
|
|
699
816
|
"fileUrlPath": "src/components/ClassMethod.tsx",
|
|
@@ -701,34 +818,6 @@
|
|
|
701
818
|
"name": "ClassMethodProps",
|
|
702
819
|
"preserveMemberOrder": false,
|
|
703
820
|
"members": [
|
|
704
|
-
{
|
|
705
|
-
"kind": "PropertySignature",
|
|
706
|
-
"canonicalReference": "@alloy-js/csharp!ClassMethodProps#accessModifier:member",
|
|
707
|
-
"docComment": "",
|
|
708
|
-
"excerptTokens": [
|
|
709
|
-
{
|
|
710
|
-
"kind": "Content",
|
|
711
|
-
"text": "accessModifier?: "
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
"kind": "Reference",
|
|
715
|
-
"text": "AccessModifier",
|
|
716
|
-
"canonicalReference": "@alloy-js/csharp!AccessModifier:type"
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
"kind": "Content",
|
|
720
|
-
"text": ";"
|
|
721
|
-
}
|
|
722
|
-
],
|
|
723
|
-
"isReadonly": false,
|
|
724
|
-
"isOptional": true,
|
|
725
|
-
"releaseTag": "Public",
|
|
726
|
-
"name": "accessModifier",
|
|
727
|
-
"propertyTypeTokenRange": {
|
|
728
|
-
"startIndex": 1,
|
|
729
|
-
"endIndex": 2
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
821
|
{
|
|
733
822
|
"kind": "PropertySignature",
|
|
734
823
|
"canonicalReference": "@alloy-js/csharp!ClassMethodProps#async:member",
|
|
@@ -784,34 +873,6 @@
|
|
|
784
873
|
"endIndex": 2
|
|
785
874
|
}
|
|
786
875
|
},
|
|
787
|
-
{
|
|
788
|
-
"kind": "PropertySignature",
|
|
789
|
-
"canonicalReference": "@alloy-js/csharp!ClassMethodProps#methodModifier:member",
|
|
790
|
-
"docComment": "",
|
|
791
|
-
"excerptTokens": [
|
|
792
|
-
{
|
|
793
|
-
"kind": "Content",
|
|
794
|
-
"text": "methodModifier?: "
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"kind": "Reference",
|
|
798
|
-
"text": "MethodModifier",
|
|
799
|
-
"canonicalReference": "@alloy-js/csharp!MethodModifier:type"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
"kind": "Content",
|
|
803
|
-
"text": ";"
|
|
804
|
-
}
|
|
805
|
-
],
|
|
806
|
-
"isReadonly": false,
|
|
807
|
-
"isOptional": true,
|
|
808
|
-
"releaseTag": "Public",
|
|
809
|
-
"name": "methodModifier",
|
|
810
|
-
"propertyTypeTokenRange": {
|
|
811
|
-
"startIndex": 1,
|
|
812
|
-
"endIndex": 2
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
876
|
{
|
|
816
877
|
"kind": "PropertySignature",
|
|
817
878
|
"canonicalReference": "@alloy-js/csharp!ClassMethodProps#name:member",
|
|
@@ -937,7 +998,16 @@
|
|
|
937
998
|
}
|
|
938
999
|
}
|
|
939
1000
|
],
|
|
940
|
-
"extendsTokenRanges": [
|
|
1001
|
+
"extendsTokenRanges": [
|
|
1002
|
+
{
|
|
1003
|
+
"startIndex": 1,
|
|
1004
|
+
"endIndex": 2
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"startIndex": 3,
|
|
1008
|
+
"endIndex": 4
|
|
1009
|
+
}
|
|
1010
|
+
]
|
|
941
1011
|
},
|
|
942
1012
|
{
|
|
943
1013
|
"kind": "Interface",
|
|
@@ -966,44 +1036,25 @@
|
|
|
966
1036
|
"kind": "Content",
|
|
967
1037
|
"text": ", \"nameKind\">"
|
|
968
1038
|
},
|
|
1039
|
+
{
|
|
1040
|
+
"kind": "Content",
|
|
1041
|
+
"text": ", "
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"kind": "Reference",
|
|
1045
|
+
"text": "AccessModifiers",
|
|
1046
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
1047
|
+
},
|
|
969
1048
|
{
|
|
970
1049
|
"kind": "Content",
|
|
971
1050
|
"text": " "
|
|
972
1051
|
}
|
|
973
1052
|
],
|
|
974
|
-
"fileUrlPath": "src/components/
|
|
1053
|
+
"fileUrlPath": "src/components/ClassDeclaration.tsx",
|
|
975
1054
|
"releaseTag": "Public",
|
|
976
1055
|
"name": "ClassProps",
|
|
977
1056
|
"preserveMemberOrder": false,
|
|
978
1057
|
"members": [
|
|
979
|
-
{
|
|
980
|
-
"kind": "PropertySignature",
|
|
981
|
-
"canonicalReference": "@alloy-js/csharp!ClassProps#accessModifier:member",
|
|
982
|
-
"docComment": "",
|
|
983
|
-
"excerptTokens": [
|
|
984
|
-
{
|
|
985
|
-
"kind": "Content",
|
|
986
|
-
"text": "accessModifier?: "
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
"kind": "Reference",
|
|
990
|
-
"text": "AccessModifier",
|
|
991
|
-
"canonicalReference": "@alloy-js/csharp!AccessModifier:type"
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
"kind": "Content",
|
|
995
|
-
"text": ";"
|
|
996
|
-
}
|
|
997
|
-
],
|
|
998
|
-
"isReadonly": false,
|
|
999
|
-
"isOptional": true,
|
|
1000
|
-
"releaseTag": "Public",
|
|
1001
|
-
"name": "accessModifier",
|
|
1002
|
-
"propertyTypeTokenRange": {
|
|
1003
|
-
"startIndex": 1,
|
|
1004
|
-
"endIndex": 2
|
|
1005
|
-
}
|
|
1006
|
-
},
|
|
1007
1058
|
{
|
|
1008
1059
|
"kind": "PropertySignature",
|
|
1009
1060
|
"canonicalReference": "@alloy-js/csharp!ClassProps#name:member",
|
|
@@ -1105,6 +1156,10 @@
|
|
|
1105
1156
|
{
|
|
1106
1157
|
"startIndex": 1,
|
|
1107
1158
|
"endIndex": 5
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"startIndex": 6,
|
|
1162
|
+
"endIndex": 7
|
|
1108
1163
|
}
|
|
1109
1164
|
]
|
|
1110
1165
|
},
|
|
@@ -1745,12 +1800,12 @@
|
|
|
1745
1800
|
},
|
|
1746
1801
|
{
|
|
1747
1802
|
"kind": "Function",
|
|
1748
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
1749
|
-
"docComment": "",
|
|
1803
|
+
"canonicalReference": "@alloy-js/csharp!EnumDeclaration:function(1)",
|
|
1804
|
+
"docComment": "/**\n * A C# enum declaration\n *\n * @example\n * ```tsx\n * <EnumDeclaration public name=\"Color\">\n * <EnumMember name=\"Red\" />\n * <EnumMember name=\"Green\" />\n * <EnumMember name=\"Blue\" />\n * </EnumDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public enum Color\n * {\n * Red,\n * Green,\n * Blue\n * }\n * ```\n *\n */\n",
|
|
1750
1805
|
"excerptTokens": [
|
|
1751
1806
|
{
|
|
1752
1807
|
"kind": "Content",
|
|
1753
|
-
"text": "export declare function
|
|
1808
|
+
"text": "export declare function EnumDeclaration(props: "
|
|
1754
1809
|
},
|
|
1755
1810
|
{
|
|
1756
1811
|
"kind": "Reference",
|
|
@@ -1771,7 +1826,7 @@
|
|
|
1771
1826
|
"text": ";"
|
|
1772
1827
|
}
|
|
1773
1828
|
],
|
|
1774
|
-
"fileUrlPath": "src/components/
|
|
1829
|
+
"fileUrlPath": "src/components/EnumDeclaration.tsx",
|
|
1775
1830
|
"returnTypeTokenRange": {
|
|
1776
1831
|
"startIndex": 3,
|
|
1777
1832
|
"endIndex": 4
|
|
@@ -1788,7 +1843,7 @@
|
|
|
1788
1843
|
"isOptional": false
|
|
1789
1844
|
}
|
|
1790
1845
|
],
|
|
1791
|
-
"name": "
|
|
1846
|
+
"name": "EnumDeclaration"
|
|
1792
1847
|
},
|
|
1793
1848
|
{
|
|
1794
1849
|
"kind": "Function",
|
|
@@ -1818,7 +1873,7 @@
|
|
|
1818
1873
|
"text": ";"
|
|
1819
1874
|
}
|
|
1820
1875
|
],
|
|
1821
|
-
"fileUrlPath": "src/components/
|
|
1876
|
+
"fileUrlPath": "src/components/EnumDeclaration.tsx",
|
|
1822
1877
|
"returnTypeTokenRange": {
|
|
1823
1878
|
"startIndex": 3,
|
|
1824
1879
|
"endIndex": 4
|
|
@@ -1847,7 +1902,7 @@
|
|
|
1847
1902
|
"text": "export interface EnumMemberProps "
|
|
1848
1903
|
}
|
|
1849
1904
|
],
|
|
1850
|
-
"fileUrlPath": "src/components/
|
|
1905
|
+
"fileUrlPath": "src/components/EnumDeclaration.tsx",
|
|
1851
1906
|
"releaseTag": "Public",
|
|
1852
1907
|
"name": "EnumMemberProps",
|
|
1853
1908
|
"preserveMemberOrder": false,
|
|
@@ -1917,42 +1972,23 @@
|
|
|
1917
1972
|
"excerptTokens": [
|
|
1918
1973
|
{
|
|
1919
1974
|
"kind": "Content",
|
|
1920
|
-
"text": "export interface EnumProps "
|
|
1975
|
+
"text": "export interface EnumProps extends "
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
"kind": "Reference",
|
|
1979
|
+
"text": "AccessModifiers",
|
|
1980
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"kind": "Content",
|
|
1984
|
+
"text": " "
|
|
1921
1985
|
}
|
|
1922
1986
|
],
|
|
1923
|
-
"fileUrlPath": "src/components/
|
|
1987
|
+
"fileUrlPath": "src/components/EnumDeclaration.tsx",
|
|
1924
1988
|
"releaseTag": "Public",
|
|
1925
1989
|
"name": "EnumProps",
|
|
1926
1990
|
"preserveMemberOrder": false,
|
|
1927
1991
|
"members": [
|
|
1928
|
-
{
|
|
1929
|
-
"kind": "PropertySignature",
|
|
1930
|
-
"canonicalReference": "@alloy-js/csharp!EnumProps#accessModifier:member",
|
|
1931
|
-
"docComment": "",
|
|
1932
|
-
"excerptTokens": [
|
|
1933
|
-
{
|
|
1934
|
-
"kind": "Content",
|
|
1935
|
-
"text": "accessModifier?: "
|
|
1936
|
-
},
|
|
1937
|
-
{
|
|
1938
|
-
"kind": "Reference",
|
|
1939
|
-
"text": "AccessModifier",
|
|
1940
|
-
"canonicalReference": "@alloy-js/csharp!AccessModifier:type"
|
|
1941
|
-
},
|
|
1942
|
-
{
|
|
1943
|
-
"kind": "Content",
|
|
1944
|
-
"text": ";"
|
|
1945
|
-
}
|
|
1946
|
-
],
|
|
1947
|
-
"isReadonly": false,
|
|
1948
|
-
"isOptional": true,
|
|
1949
|
-
"releaseTag": "Public",
|
|
1950
|
-
"name": "accessModifier",
|
|
1951
|
-
"propertyTypeTokenRange": {
|
|
1952
|
-
"startIndex": 1,
|
|
1953
|
-
"endIndex": 2
|
|
1954
|
-
}
|
|
1955
|
-
},
|
|
1956
1992
|
{
|
|
1957
1993
|
"kind": "PropertySignature",
|
|
1958
1994
|
"canonicalReference": "@alloy-js/csharp!EnumProps#children:member",
|
|
@@ -2037,7 +2073,12 @@
|
|
|
2037
2073
|
}
|
|
2038
2074
|
}
|
|
2039
2075
|
],
|
|
2040
|
-
"extendsTokenRanges": [
|
|
2076
|
+
"extendsTokenRanges": [
|
|
2077
|
+
{
|
|
2078
|
+
"startIndex": 1,
|
|
2079
|
+
"endIndex": 2
|
|
2080
|
+
}
|
|
2081
|
+
]
|
|
2041
2082
|
},
|
|
2042
2083
|
{
|
|
2043
2084
|
"kind": "Function",
|
|
@@ -2046,12 +2087,12 @@
|
|
|
2046
2087
|
"excerptTokens": [
|
|
2047
2088
|
{
|
|
2048
2089
|
"kind": "Content",
|
|
2049
|
-
"text": "export declare function getAccessModifier(
|
|
2090
|
+
"text": "export declare function getAccessModifier(data: "
|
|
2050
2091
|
},
|
|
2051
2092
|
{
|
|
2052
2093
|
"kind": "Reference",
|
|
2053
|
-
"text": "
|
|
2054
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2094
|
+
"text": "AccessModifiers",
|
|
2095
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
2055
2096
|
},
|
|
2056
2097
|
{
|
|
2057
2098
|
"kind": "Content",
|
|
@@ -2075,12 +2116,12 @@
|
|
|
2075
2116
|
"overloadIndex": 1,
|
|
2076
2117
|
"parameters": [
|
|
2077
2118
|
{
|
|
2078
|
-
"parameterName": "
|
|
2119
|
+
"parameterName": "data",
|
|
2079
2120
|
"parameterTypeTokenRange": {
|
|
2080
2121
|
"startIndex": 1,
|
|
2081
2122
|
"endIndex": 2
|
|
2082
2123
|
},
|
|
2083
|
-
"isOptional":
|
|
2124
|
+
"isOptional": false
|
|
2084
2125
|
}
|
|
2085
2126
|
],
|
|
2086
2127
|
"name": "getAccessModifier"
|
|
@@ -2137,12 +2178,12 @@
|
|
|
2137
2178
|
"excerptTokens": [
|
|
2138
2179
|
{
|
|
2139
2180
|
"kind": "Content",
|
|
2140
|
-
"text": "export declare function getMethodModifier(
|
|
2181
|
+
"text": "export declare function getMethodModifier(data: "
|
|
2141
2182
|
},
|
|
2142
2183
|
{
|
|
2143
2184
|
"kind": "Reference",
|
|
2144
|
-
"text": "
|
|
2145
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2185
|
+
"text": "MethodModifiers",
|
|
2186
|
+
"canonicalReference": "@alloy-js/csharp!MethodModifiers:interface"
|
|
2146
2187
|
},
|
|
2147
2188
|
{
|
|
2148
2189
|
"kind": "Content",
|
|
@@ -2166,41 +2207,141 @@
|
|
|
2166
2207
|
"overloadIndex": 1,
|
|
2167
2208
|
"parameters": [
|
|
2168
2209
|
{
|
|
2169
|
-
"parameterName": "
|
|
2210
|
+
"parameterName": "data",
|
|
2170
2211
|
"parameterTypeTokenRange": {
|
|
2171
2212
|
"startIndex": 1,
|
|
2172
2213
|
"endIndex": 2
|
|
2173
2214
|
},
|
|
2174
|
-
"isOptional":
|
|
2215
|
+
"isOptional": false
|
|
2175
2216
|
}
|
|
2176
2217
|
],
|
|
2177
2218
|
"name": "getMethodModifier"
|
|
2178
2219
|
},
|
|
2179
2220
|
{
|
|
2180
|
-
"kind": "
|
|
2181
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2182
|
-
"docComment": "",
|
|
2221
|
+
"kind": "Interface",
|
|
2222
|
+
"canonicalReference": "@alloy-js/csharp!MethodModifiers:interface",
|
|
2223
|
+
"docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
|
|
2183
2224
|
"excerptTokens": [
|
|
2184
2225
|
{
|
|
2185
2226
|
"kind": "Content",
|
|
2186
|
-
"text": "export
|
|
2227
|
+
"text": "export interface MethodModifiers "
|
|
2228
|
+
}
|
|
2229
|
+
],
|
|
2230
|
+
"fileUrlPath": "src/modifiers.ts",
|
|
2231
|
+
"releaseTag": "Public",
|
|
2232
|
+
"name": "MethodModifiers",
|
|
2233
|
+
"preserveMemberOrder": false,
|
|
2234
|
+
"members": [
|
|
2235
|
+
{
|
|
2236
|
+
"kind": "PropertySignature",
|
|
2237
|
+
"canonicalReference": "@alloy-js/csharp!MethodModifiers#abstract:member",
|
|
2238
|
+
"docComment": "",
|
|
2239
|
+
"excerptTokens": [
|
|
2240
|
+
{
|
|
2241
|
+
"kind": "Content",
|
|
2242
|
+
"text": "readonly abstract?: "
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "Content",
|
|
2246
|
+
"text": "boolean"
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
"kind": "Content",
|
|
2250
|
+
"text": ";"
|
|
2251
|
+
}
|
|
2252
|
+
],
|
|
2253
|
+
"isReadonly": true,
|
|
2254
|
+
"isOptional": true,
|
|
2255
|
+
"releaseTag": "Public",
|
|
2256
|
+
"name": "abstract",
|
|
2257
|
+
"propertyTypeTokenRange": {
|
|
2258
|
+
"startIndex": 1,
|
|
2259
|
+
"endIndex": 2
|
|
2260
|
+
}
|
|
2187
2261
|
},
|
|
2188
2262
|
{
|
|
2189
|
-
"kind": "
|
|
2190
|
-
"
|
|
2263
|
+
"kind": "PropertySignature",
|
|
2264
|
+
"canonicalReference": "@alloy-js/csharp!MethodModifiers#sealed:member",
|
|
2265
|
+
"docComment": "",
|
|
2266
|
+
"excerptTokens": [
|
|
2267
|
+
{
|
|
2268
|
+
"kind": "Content",
|
|
2269
|
+
"text": "readonly sealed?: "
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
"kind": "Content",
|
|
2273
|
+
"text": "boolean"
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
"kind": "Content",
|
|
2277
|
+
"text": ";"
|
|
2278
|
+
}
|
|
2279
|
+
],
|
|
2280
|
+
"isReadonly": true,
|
|
2281
|
+
"isOptional": true,
|
|
2282
|
+
"releaseTag": "Public",
|
|
2283
|
+
"name": "sealed",
|
|
2284
|
+
"propertyTypeTokenRange": {
|
|
2285
|
+
"startIndex": 1,
|
|
2286
|
+
"endIndex": 2
|
|
2287
|
+
}
|
|
2191
2288
|
},
|
|
2192
2289
|
{
|
|
2193
|
-
"kind": "
|
|
2194
|
-
"
|
|
2290
|
+
"kind": "PropertySignature",
|
|
2291
|
+
"canonicalReference": "@alloy-js/csharp!MethodModifiers#static:member",
|
|
2292
|
+
"docComment": "",
|
|
2293
|
+
"excerptTokens": [
|
|
2294
|
+
{
|
|
2295
|
+
"kind": "Content",
|
|
2296
|
+
"text": "readonly static?: "
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"kind": "Content",
|
|
2300
|
+
"text": "boolean"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"kind": "Content",
|
|
2304
|
+
"text": ";"
|
|
2305
|
+
}
|
|
2306
|
+
],
|
|
2307
|
+
"isReadonly": true,
|
|
2308
|
+
"isOptional": true,
|
|
2309
|
+
"releaseTag": "Public",
|
|
2310
|
+
"name": "static",
|
|
2311
|
+
"propertyTypeTokenRange": {
|
|
2312
|
+
"startIndex": 1,
|
|
2313
|
+
"endIndex": 2
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"kind": "PropertySignature",
|
|
2318
|
+
"canonicalReference": "@alloy-js/csharp!MethodModifiers#virtual:member",
|
|
2319
|
+
"docComment": "",
|
|
2320
|
+
"excerptTokens": [
|
|
2321
|
+
{
|
|
2322
|
+
"kind": "Content",
|
|
2323
|
+
"text": "readonly virtual?: "
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
"kind": "Content",
|
|
2327
|
+
"text": "boolean"
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"kind": "Content",
|
|
2331
|
+
"text": ";"
|
|
2332
|
+
}
|
|
2333
|
+
],
|
|
2334
|
+
"isReadonly": true,
|
|
2335
|
+
"isOptional": true,
|
|
2336
|
+
"releaseTag": "Public",
|
|
2337
|
+
"name": "virtual",
|
|
2338
|
+
"propertyTypeTokenRange": {
|
|
2339
|
+
"startIndex": 1,
|
|
2340
|
+
"endIndex": 2
|
|
2341
|
+
}
|
|
2195
2342
|
}
|
|
2196
2343
|
],
|
|
2197
|
-
"
|
|
2198
|
-
"releaseTag": "Public",
|
|
2199
|
-
"name": "MethodModifier",
|
|
2200
|
-
"typeTokenRange": {
|
|
2201
|
-
"startIndex": 1,
|
|
2202
|
-
"endIndex": 2
|
|
2203
|
-
}
|
|
2344
|
+
"extendsTokenRanges": []
|
|
2204
2345
|
},
|
|
2205
2346
|
{
|
|
2206
2347
|
"kind": "Function",
|