@alloy-js/csharp 0.23.0-dev.0 → 0.23.0-dev.3
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 +1 -14
- package/dist/src/components/access-expression/access-expression.d.ts +1 -1
- package/dist/src/components/access-expression/access-expression.d.ts.map +1 -1
- package/dist/src/components/enum/member.d.ts.map +1 -1
- package/dist/src/components/enum/member.js +2 -2
- package/dist/src/components/enum/member.js.map +1 -1
- package/dist/src/components/lexical-scope.d.ts.map +1 -1
- package/dist/src/components/lexical-scope.js +4 -3
- package/dist/src/components/lexical-scope.js.map +1 -1
- package/dist/src/components/method-scope.d.ts.map +1 -1
- package/dist/src/components/method-scope.js +4 -3
- package/dist/src/components/method-scope.js.map +1 -1
- package/dist/src/components/source-file/source-file.d.ts +2 -0
- package/dist/src/components/source-file/source-file.d.ts.map +1 -1
- package/dist/src/components/source-file/source-file.js +41 -3
- package/dist/src/components/source-file/source-file.js.map +1 -1
- package/dist/src/components/source-file/source-file.test.js +40 -1
- package/dist/src/components/source-file/source-file.test.js.map +1 -1
- package/dist/src/contexts/global-namespace.d.ts.map +1 -1
- package/dist/src/contexts/global-namespace.js +4 -4
- package/dist/src/contexts/global-namespace.js.map +1 -1
- package/dist/src/create-library.d.ts.map +1 -1
- package/dist/src/create-library.js +7 -7
- package/dist/src/create-library.js.map +1 -1
- package/dist/src/scopes/csharp.d.ts +1 -0
- package/dist/src/scopes/csharp.d.ts.map +1 -1
- package/dist/src/scopes/csharp.js +10 -0
- package/dist/src/scopes/csharp.js.map +1 -1
- package/dist/src/scopes/factories.d.ts.map +1 -1
- package/dist/src/scopes/factories.js +4 -3
- package/dist/src/scopes/factories.js.map +1 -1
- package/dist/src/scopes/namespace.js +2 -2
- package/dist/src/scopes/namespace.js.map +1 -1
- package/dist/src/symbols/csharp.d.ts +1 -0
- package/dist/src/symbols/csharp.d.ts.map +1 -1
- package/dist/src/symbols/csharp.js +19 -2
- package/dist/src/symbols/csharp.js.map +1 -1
- package/dist/src/symbols/factories.d.ts.map +1 -1
- package/dist/src/symbols/factories.js +42 -10
- package/dist/src/symbols/factories.js.map +1 -1
- package/dist/src/symbols/named-type.d.ts +1 -0
- package/dist/src/symbols/named-type.d.ts.map +1 -1
- package/dist/src/symbols/named-type.js +12 -1
- package/dist/src/symbols/named-type.js.map +1 -1
- package/dist/src/symbols/namespace.d.ts +1 -0
- package/dist/src/symbols/namespace.d.ts.map +1 -1
- package/dist/src/symbols/namespace.js +11 -1
- package/dist/src/symbols/namespace.js.map +1 -1
- package/dist/testing/create-wrapper.d.ts.map +1 -1
- package/dist/testing/create-wrapper.js +2 -1
- package/dist/testing/create-wrapper.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -7
- package/src/components/enum/member.tsx +16 -5
- package/src/components/lexical-scope.tsx +15 -4
- package/src/components/method-scope.tsx +15 -4
- package/src/components/source-file/source-file.test.tsx +35 -1
- package/src/components/source-file/source-file.tsx +44 -2
- package/src/contexts/global-namespace.ts +11 -6
- package/src/create-library.ts +18 -9
- package/src/scopes/csharp.ts +11 -0
- package/src/scopes/factories.ts +4 -4
- package/src/scopes/namespace.ts +2 -2
- package/src/symbols/csharp.ts +20 -1
- package/src/symbols/factories.ts +46 -34
- package/src/symbols/named-type.ts +15 -3
- package/src/symbols/namespace.ts +12 -2
- package/temp/api.json +196 -234
- package/testing/create-wrapper.tsx +2 -1
package/src/symbols/namespace.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Namekey, OutputSymbolOptions } from "@alloy-js/core";
|
|
1
|
+
import { Namekey, OutputSymbolOptions, createSymbol } from "@alloy-js/core";
|
|
2
2
|
import { NamedTypeSymbol } from "./named-type.js";
|
|
3
3
|
|
|
4
4
|
export interface NamespaceSymbolOptions extends OutputSymbolOptions {
|
|
@@ -52,11 +52,21 @@ export class NamespaceSymbol extends NamedTypeSymbol {
|
|
|
52
52
|
|
|
53
53
|
copy() {
|
|
54
54
|
const options = this.getCopyOptions();
|
|
55
|
-
const
|
|
55
|
+
const binder = this.binder;
|
|
56
|
+
const copy = createSymbol(NamespaceSymbol, this.name, undefined, {
|
|
56
57
|
...options,
|
|
58
|
+
binder,
|
|
57
59
|
isGlobal: this.#isGlobal,
|
|
58
60
|
});
|
|
59
61
|
this.initializeCopy(copy);
|
|
60
62
|
return copy;
|
|
61
63
|
}
|
|
64
|
+
|
|
65
|
+
override get debugInfo(): Record<string, unknown> {
|
|
66
|
+
return {
|
|
67
|
+
...super.debugInfo,
|
|
68
|
+
isGlobal: this.isGlobal,
|
|
69
|
+
fullyQualifiedName: this.getFullyQualifiedName(),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
62
72
|
}
|
package/temp/api.json
CHANGED
|
@@ -224,244 +224,11 @@
|
|
|
224
224
|
"kind": "Content",
|
|
225
225
|
"text": "): "
|
|
226
226
|
},
|
|
227
|
-
{
|
|
228
|
-
"kind": "Content",
|
|
229
|
-
"text": "string | number | boolean | void | import(\"@alloy-js/core\")."
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"kind": "Reference",
|
|
233
|
-
"text": "RenderableObject",
|
|
234
|
-
"canonicalReference": "@alloy-js/core!RenderableObject:interface"
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"kind": "Content",
|
|
238
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"kind": "Reference",
|
|
242
|
-
"text": "RefkeyableObject",
|
|
243
|
-
"canonicalReference": "@alloy-js/core!RefkeyableObject:type"
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"kind": "Content",
|
|
247
|
-
"text": " | (() => "
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"kind": "Reference",
|
|
251
|
-
"text": "Children",
|
|
252
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"kind": "Content",
|
|
256
|
-
"text": ") | import(\"@vue/reactivity\").Ref<any, any> | import(\"@alloy-js/core\")."
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"kind": "Reference",
|
|
260
|
-
"text": "CustomContext",
|
|
261
|
-
"canonicalReference": "@alloy-js/core!CustomContext:interface"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"kind": "Content",
|
|
265
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"kind": "Reference",
|
|
269
|
-
"text": "IndentIntrinsicElement",
|
|
270
|
-
"canonicalReference": "@alloy-js/core!IndentIntrinsicElement:type"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"kind": "Content",
|
|
274
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"kind": "Reference",
|
|
278
|
-
"text": "IndentIfBreakIntrinsicElement",
|
|
279
|
-
"canonicalReference": "@alloy-js/core!IndentIfBreakIntrinsicElement:type"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"kind": "Content",
|
|
283
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"kind": "Reference",
|
|
287
|
-
"text": "BrIntrinsicElement",
|
|
288
|
-
"canonicalReference": "@alloy-js/core!BrIntrinsicElement:type"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"kind": "Content",
|
|
292
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"kind": "Reference",
|
|
296
|
-
"text": "LineIntrinsicElement",
|
|
297
|
-
"canonicalReference": "@alloy-js/core!LineIntrinsicElement:type"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"kind": "Content",
|
|
301
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"kind": "Reference",
|
|
305
|
-
"text": "HbrIntrinsicElement",
|
|
306
|
-
"canonicalReference": "@alloy-js/core!HbrIntrinsicElement:type"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"kind": "Content",
|
|
310
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"kind": "Reference",
|
|
314
|
-
"text": "HardlineIntrinsicElement",
|
|
315
|
-
"canonicalReference": "@alloy-js/core!HardlineIntrinsicElement:type"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"kind": "Content",
|
|
319
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
"kind": "Reference",
|
|
323
|
-
"text": "SbrIntrinsicElement",
|
|
324
|
-
"canonicalReference": "@alloy-js/core!SbrIntrinsicElement:type"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"kind": "Content",
|
|
328
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"kind": "Reference",
|
|
332
|
-
"text": "SoftlineIntrinsicElement",
|
|
333
|
-
"canonicalReference": "@alloy-js/core!SoftlineIntrinsicElement:type"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"kind": "Content",
|
|
337
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"kind": "Reference",
|
|
341
|
-
"text": "GroupIntrinsicElement",
|
|
342
|
-
"canonicalReference": "@alloy-js/core!GroupIntrinsicElement:type"
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"kind": "Content",
|
|
346
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"kind": "Reference",
|
|
350
|
-
"text": "AlignIntrinsicElement",
|
|
351
|
-
"canonicalReference": "@alloy-js/core!AlignIntrinsicElement:type"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"kind": "Content",
|
|
355
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"kind": "Reference",
|
|
359
|
-
"text": "FillIntrinsicElement",
|
|
360
|
-
"canonicalReference": "@alloy-js/core!FillIntrinsicElement:type"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"kind": "Content",
|
|
364
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
"kind": "Reference",
|
|
368
|
-
"text": "BreakParentIntrinsicElement",
|
|
369
|
-
"canonicalReference": "@alloy-js/core!BreakParentIntrinsicElement:type"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"kind": "Content",
|
|
373
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"kind": "Reference",
|
|
377
|
-
"text": "LineSuffixIntrinsicElement",
|
|
378
|
-
"canonicalReference": "@alloy-js/core!LineSuffixIntrinsicElement:type"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"kind": "Content",
|
|
382
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
"kind": "Reference",
|
|
386
|
-
"text": "LineSuffixBoundaryIntrinsicElement",
|
|
387
|
-
"canonicalReference": "@alloy-js/core!LineSuffixBoundaryIntrinsicElement:type"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
"kind": "Content",
|
|
391
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"kind": "Reference",
|
|
395
|
-
"text": "DedentIntrinsicElement",
|
|
396
|
-
"canonicalReference": "@alloy-js/core!DedentIntrinsicElement:type"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"kind": "Content",
|
|
400
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"kind": "Reference",
|
|
404
|
-
"text": "LiterallineIntrinsicElement",
|
|
405
|
-
"canonicalReference": "@alloy-js/core!LiterallineIntrinsicElement:type"
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"kind": "Content",
|
|
409
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"kind": "Reference",
|
|
413
|
-
"text": "LbrIntrinsicElement",
|
|
414
|
-
"canonicalReference": "@alloy-js/core!LbrIntrinsicElement:type"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"kind": "Content",
|
|
418
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"kind": "Reference",
|
|
422
|
-
"text": "DedentToRootIntrinsicElement",
|
|
423
|
-
"canonicalReference": "@alloy-js/core!DedentToRootIntrinsicElement:type"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"kind": "Content",
|
|
427
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"kind": "Reference",
|
|
431
|
-
"text": "MarkAsRootIntrinsicElement",
|
|
432
|
-
"canonicalReference": "@alloy-js/core!MarkAsRootIntrinsicElement:type"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"kind": "Content",
|
|
436
|
-
"text": " | import(\"@alloy-js/core\")."
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"kind": "Reference",
|
|
440
|
-
"text": "IfBreakIntrinsicElement",
|
|
441
|
-
"canonicalReference": "@alloy-js/core!IfBreakIntrinsicElement:type"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"kind": "Content",
|
|
445
|
-
"text": " | "
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"kind": "Reference",
|
|
449
|
-
"text": "Children",
|
|
450
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
"kind": "Content",
|
|
454
|
-
"text": "[] | import(\"@vue/reactivity\").ComputedRef<"
|
|
455
|
-
},
|
|
456
227
|
{
|
|
457
228
|
"kind": "Reference",
|
|
458
229
|
"text": "Children",
|
|
459
230
|
"canonicalReference": "@alloy-js/core!Children:type"
|
|
460
231
|
},
|
|
461
|
-
{
|
|
462
|
-
"kind": "Content",
|
|
463
|
-
"text": "> | null"
|
|
464
|
-
},
|
|
465
232
|
{
|
|
466
233
|
"kind": "Content",
|
|
467
234
|
"text": ";"
|
|
@@ -470,7 +237,7 @@
|
|
|
470
237
|
"fileUrlPath": "src/components/access-expression/access-expression.tsx",
|
|
471
238
|
"returnTypeTokenRange": {
|
|
472
239
|
"startIndex": 3,
|
|
473
|
-
"endIndex":
|
|
240
|
+
"endIndex": 4
|
|
474
241
|
},
|
|
475
242
|
"releaseTag": "Public",
|
|
476
243
|
"overloadIndex": 1,
|
|
@@ -4645,6 +4412,41 @@
|
|
|
4645
4412
|
}
|
|
4646
4413
|
]
|
|
4647
4414
|
},
|
|
4415
|
+
{
|
|
4416
|
+
"kind": "Property",
|
|
4417
|
+
"canonicalReference": "@alloy-js/csharp!CSharpScope#debugInfo:member",
|
|
4418
|
+
"docComment": "",
|
|
4419
|
+
"excerptTokens": [
|
|
4420
|
+
{
|
|
4421
|
+
"kind": "Content",
|
|
4422
|
+
"text": "get debugInfo(): "
|
|
4423
|
+
},
|
|
4424
|
+
{
|
|
4425
|
+
"kind": "Reference",
|
|
4426
|
+
"text": "Record",
|
|
4427
|
+
"canonicalReference": "!Record:type"
|
|
4428
|
+
},
|
|
4429
|
+
{
|
|
4430
|
+
"kind": "Content",
|
|
4431
|
+
"text": "<string, unknown>"
|
|
4432
|
+
},
|
|
4433
|
+
{
|
|
4434
|
+
"kind": "Content",
|
|
4435
|
+
"text": ";"
|
|
4436
|
+
}
|
|
4437
|
+
],
|
|
4438
|
+
"isReadonly": true,
|
|
4439
|
+
"isOptional": false,
|
|
4440
|
+
"releaseTag": "Public",
|
|
4441
|
+
"name": "debugInfo",
|
|
4442
|
+
"propertyTypeTokenRange": {
|
|
4443
|
+
"startIndex": 1,
|
|
4444
|
+
"endIndex": 3
|
|
4445
|
+
},
|
|
4446
|
+
"isStatic": false,
|
|
4447
|
+
"isProtected": false,
|
|
4448
|
+
"isAbstract": false
|
|
4449
|
+
},
|
|
4648
4450
|
{
|
|
4649
4451
|
"kind": "Property",
|
|
4650
4452
|
"canonicalReference": "@alloy-js/csharp!CSharpScope#enclosingNamespace:member",
|
|
@@ -5172,6 +4974,41 @@
|
|
|
5172
4974
|
"isAbstract": false,
|
|
5173
4975
|
"name": "copy"
|
|
5174
4976
|
},
|
|
4977
|
+
{
|
|
4978
|
+
"kind": "Property",
|
|
4979
|
+
"canonicalReference": "@alloy-js/csharp!CSharpSymbol#debugInfo:member",
|
|
4980
|
+
"docComment": "",
|
|
4981
|
+
"excerptTokens": [
|
|
4982
|
+
{
|
|
4983
|
+
"kind": "Content",
|
|
4984
|
+
"text": "get debugInfo(): "
|
|
4985
|
+
},
|
|
4986
|
+
{
|
|
4987
|
+
"kind": "Reference",
|
|
4988
|
+
"text": "Record",
|
|
4989
|
+
"canonicalReference": "!Record:type"
|
|
4990
|
+
},
|
|
4991
|
+
{
|
|
4992
|
+
"kind": "Content",
|
|
4993
|
+
"text": "<string, unknown>"
|
|
4994
|
+
},
|
|
4995
|
+
{
|
|
4996
|
+
"kind": "Content",
|
|
4997
|
+
"text": ";"
|
|
4998
|
+
}
|
|
4999
|
+
],
|
|
5000
|
+
"isReadonly": true,
|
|
5001
|
+
"isOptional": false,
|
|
5002
|
+
"releaseTag": "Public",
|
|
5003
|
+
"name": "debugInfo",
|
|
5004
|
+
"propertyTypeTokenRange": {
|
|
5005
|
+
"startIndex": 1,
|
|
5006
|
+
"endIndex": 3
|
|
5007
|
+
},
|
|
5008
|
+
"isStatic": false,
|
|
5009
|
+
"isProtected": false,
|
|
5010
|
+
"isAbstract": false
|
|
5011
|
+
},
|
|
5175
5012
|
{
|
|
5176
5013
|
"kind": "Property",
|
|
5177
5014
|
"canonicalReference": "@alloy-js/csharp!CSharpSymbol#enclosingNamespace:member",
|
|
@@ -12661,6 +12498,41 @@
|
|
|
12661
12498
|
"isAbstract": false,
|
|
12662
12499
|
"name": "copy"
|
|
12663
12500
|
},
|
|
12501
|
+
{
|
|
12502
|
+
"kind": "Property",
|
|
12503
|
+
"canonicalReference": "@alloy-js/csharp!NamedTypeSymbol#debugInfo:member",
|
|
12504
|
+
"docComment": "",
|
|
12505
|
+
"excerptTokens": [
|
|
12506
|
+
{
|
|
12507
|
+
"kind": "Content",
|
|
12508
|
+
"text": "get debugInfo(): "
|
|
12509
|
+
},
|
|
12510
|
+
{
|
|
12511
|
+
"kind": "Reference",
|
|
12512
|
+
"text": "Record",
|
|
12513
|
+
"canonicalReference": "!Record:type"
|
|
12514
|
+
},
|
|
12515
|
+
{
|
|
12516
|
+
"kind": "Content",
|
|
12517
|
+
"text": "<string, unknown>"
|
|
12518
|
+
},
|
|
12519
|
+
{
|
|
12520
|
+
"kind": "Content",
|
|
12521
|
+
"text": ";"
|
|
12522
|
+
}
|
|
12523
|
+
],
|
|
12524
|
+
"isReadonly": true,
|
|
12525
|
+
"isOptional": false,
|
|
12526
|
+
"releaseTag": "Public",
|
|
12527
|
+
"name": "debugInfo",
|
|
12528
|
+
"propertyTypeTokenRange": {
|
|
12529
|
+
"startIndex": 1,
|
|
12530
|
+
"endIndex": 3
|
|
12531
|
+
},
|
|
12532
|
+
"isStatic": false,
|
|
12533
|
+
"isProtected": false,
|
|
12534
|
+
"isAbstract": false
|
|
12535
|
+
},
|
|
12664
12536
|
{
|
|
12665
12537
|
"kind": "Property",
|
|
12666
12538
|
"canonicalReference": "@alloy-js/csharp!NamedTypeSymbol#members:member",
|
|
@@ -13239,6 +13111,41 @@
|
|
|
13239
13111
|
"isAbstract": false,
|
|
13240
13112
|
"name": "copy"
|
|
13241
13113
|
},
|
|
13114
|
+
{
|
|
13115
|
+
"kind": "Property",
|
|
13116
|
+
"canonicalReference": "@alloy-js/csharp!NamespaceSymbol#debugInfo:member",
|
|
13117
|
+
"docComment": "",
|
|
13118
|
+
"excerptTokens": [
|
|
13119
|
+
{
|
|
13120
|
+
"kind": "Content",
|
|
13121
|
+
"text": "get debugInfo(): "
|
|
13122
|
+
},
|
|
13123
|
+
{
|
|
13124
|
+
"kind": "Reference",
|
|
13125
|
+
"text": "Record",
|
|
13126
|
+
"canonicalReference": "!Record:type"
|
|
13127
|
+
},
|
|
13128
|
+
{
|
|
13129
|
+
"kind": "Content",
|
|
13130
|
+
"text": "<string, unknown>"
|
|
13131
|
+
},
|
|
13132
|
+
{
|
|
13133
|
+
"kind": "Content",
|
|
13134
|
+
"text": ";"
|
|
13135
|
+
}
|
|
13136
|
+
],
|
|
13137
|
+
"isReadonly": true,
|
|
13138
|
+
"isOptional": false,
|
|
13139
|
+
"releaseTag": "Public",
|
|
13140
|
+
"name": "debugInfo",
|
|
13141
|
+
"propertyTypeTokenRange": {
|
|
13142
|
+
"startIndex": 1,
|
|
13143
|
+
"endIndex": 3
|
|
13144
|
+
},
|
|
13145
|
+
"isStatic": false,
|
|
13146
|
+
"isProtected": false,
|
|
13147
|
+
"isAbstract": false
|
|
13148
|
+
},
|
|
13242
13149
|
{
|
|
13243
13150
|
"kind": "Method",
|
|
13244
13151
|
"canonicalReference": "@alloy-js/csharp!NamespaceSymbol#getFullyQualifiedName:member(1)",
|
|
@@ -15651,6 +15558,61 @@
|
|
|
15651
15558
|
"endIndex": 2
|
|
15652
15559
|
}
|
|
15653
15560
|
},
|
|
15561
|
+
{
|
|
15562
|
+
"kind": "PropertySignature",
|
|
15563
|
+
"canonicalReference": "@alloy-js/csharp!SourceFileProps#header:member",
|
|
15564
|
+
"docComment": "",
|
|
15565
|
+
"excerptTokens": [
|
|
15566
|
+
{
|
|
15567
|
+
"kind": "Content",
|
|
15568
|
+
"text": "header?: "
|
|
15569
|
+
},
|
|
15570
|
+
{
|
|
15571
|
+
"kind": "Reference",
|
|
15572
|
+
"text": "Children",
|
|
15573
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
15574
|
+
},
|
|
15575
|
+
{
|
|
15576
|
+
"kind": "Content",
|
|
15577
|
+
"text": ";"
|
|
15578
|
+
}
|
|
15579
|
+
],
|
|
15580
|
+
"isReadonly": false,
|
|
15581
|
+
"isOptional": true,
|
|
15582
|
+
"releaseTag": "Public",
|
|
15583
|
+
"name": "header",
|
|
15584
|
+
"propertyTypeTokenRange": {
|
|
15585
|
+
"startIndex": 1,
|
|
15586
|
+
"endIndex": 2
|
|
15587
|
+
}
|
|
15588
|
+
},
|
|
15589
|
+
{
|
|
15590
|
+
"kind": "PropertySignature",
|
|
15591
|
+
"canonicalReference": "@alloy-js/csharp!SourceFileProps#headerComment:member",
|
|
15592
|
+
"docComment": "",
|
|
15593
|
+
"excerptTokens": [
|
|
15594
|
+
{
|
|
15595
|
+
"kind": "Content",
|
|
15596
|
+
"text": "headerComment?: "
|
|
15597
|
+
},
|
|
15598
|
+
{
|
|
15599
|
+
"kind": "Content",
|
|
15600
|
+
"text": "string"
|
|
15601
|
+
},
|
|
15602
|
+
{
|
|
15603
|
+
"kind": "Content",
|
|
15604
|
+
"text": ";"
|
|
15605
|
+
}
|
|
15606
|
+
],
|
|
15607
|
+
"isReadonly": false,
|
|
15608
|
+
"isOptional": true,
|
|
15609
|
+
"releaseTag": "Public",
|
|
15610
|
+
"name": "headerComment",
|
|
15611
|
+
"propertyTypeTokenRange": {
|
|
15612
|
+
"startIndex": 1,
|
|
15613
|
+
"endIndex": 2
|
|
15614
|
+
}
|
|
15615
|
+
},
|
|
15654
15616
|
{
|
|
15655
15617
|
"kind": "PropertySignature",
|
|
15656
15618
|
"canonicalReference": "@alloy-js/csharp!SourceFileProps#path:member",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SourceFile } from "#components/index.js";
|
|
2
|
+
import { createSymbol } from "@alloy-js/core";
|
|
2
3
|
import { createTestWrapper, type TestWrapper } from "@alloy-js/core/testing";
|
|
3
4
|
import { CSharpSymbol, useSourceFileScope } from "../src/index.js";
|
|
4
5
|
|
|
@@ -6,7 +7,7 @@ export function createCSharpTestWrapper(): TestWrapper {
|
|
|
6
7
|
return createTestWrapper({
|
|
7
8
|
filePath: "test.cs",
|
|
8
9
|
useScope: useSourceFileScope,
|
|
9
|
-
makeSymbol: (nk, scope) =>
|
|
10
|
+
makeSymbol: (nk, scope) => createSymbol(CSharpSymbol, nk, scope.spaces),
|
|
10
11
|
SourceFile,
|
|
11
12
|
});
|
|
12
13
|
}
|