@alloy-js/typescript 0.15.0 → 0.17.0

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.
Files changed (136) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/src/builtins/node.d.ts +9 -41
  3. package/dist/src/builtins/node.d.ts.map +1 -1
  4. package/dist/src/components/ArrowFunction.d.ts +3 -3
  5. package/dist/src/components/BarrelFile.d.ts +1 -1
  6. package/dist/src/components/BarrelFile.d.ts.map +1 -1
  7. package/dist/src/components/BlockScope.d.ts +1 -1
  8. package/dist/src/components/BlockScope.d.ts.map +1 -1
  9. package/dist/src/components/ClassDeclaration.d.ts.map +1 -1
  10. package/dist/src/components/ClassDeclaration.js +5 -7
  11. package/dist/src/components/Declaration.d.ts.map +1 -1
  12. package/dist/src/components/Declaration.js +3 -4
  13. package/dist/src/components/EnumDeclaration.d.ts +1 -1
  14. package/dist/src/components/EnumDeclaration.d.ts.map +1 -1
  15. package/dist/src/components/EnumDeclaration.js +3 -4
  16. package/dist/src/components/EnumMember.d.ts.map +1 -1
  17. package/dist/src/components/EnumMember.js +3 -4
  18. package/dist/src/components/FunctionBase.d.ts +4 -4
  19. package/dist/src/components/FunctionBase.d.ts.map +1 -1
  20. package/dist/src/components/FunctionBase.js +15 -10
  21. package/dist/src/components/FunctionDeclaration.d.ts +3 -3
  22. package/dist/src/components/FunctionExpression.d.ts +3 -3
  23. package/dist/src/components/FunctionType.d.ts +2 -2
  24. package/dist/src/components/ImportStatement.d.ts +1 -1
  25. package/dist/src/components/ImportStatement.d.ts.map +1 -1
  26. package/dist/src/components/Interface.js +1 -1
  27. package/dist/src/components/InterfaceMethod.d.ts +2 -2
  28. package/dist/src/components/MemberDeclaration.d.ts +1 -1
  29. package/dist/src/components/MemberDeclaration.d.ts.map +1 -1
  30. package/dist/src/components/MemberDeclaration.js +4 -4
  31. package/dist/src/components/MemberExpression.d.ts +27 -5
  32. package/dist/src/components/MemberExpression.d.ts.map +1 -1
  33. package/dist/src/components/MemberExpression.js +327 -89
  34. package/dist/src/components/NewExpression.d.ts +5 -0
  35. package/dist/src/components/NewExpression.d.ts.map +1 -0
  36. package/dist/src/components/NewExpression.js +12 -0
  37. package/dist/src/components/ObjectExpression.d.ts.map +1 -1
  38. package/dist/src/components/ObjectExpression.js +14 -15
  39. package/dist/src/components/PackageDirectory.d.ts.map +1 -1
  40. package/dist/src/components/PackageDirectory.js +3 -3
  41. package/dist/src/components/PackageJson.d.ts +1 -1
  42. package/dist/src/components/PackageJson.d.ts.map +1 -1
  43. package/dist/src/components/PropertyName.d.ts +1 -1
  44. package/dist/src/components/PropertyName.d.ts.map +1 -1
  45. package/dist/src/components/Reference.d.ts +1 -1
  46. package/dist/src/components/Reference.d.ts.map +1 -1
  47. package/dist/src/components/Reference.js +5 -1
  48. package/dist/src/components/SourceFile.d.ts.map +1 -1
  49. package/dist/src/components/SourceFile.js +3 -3
  50. package/dist/src/components/TsConfigJson.d.ts +1 -1
  51. package/dist/src/components/TsConfigJson.d.ts.map +1 -1
  52. package/dist/src/components/TypeDeclaration.d.ts +1 -1
  53. package/dist/src/components/TypeDeclaration.d.ts.map +1 -1
  54. package/dist/src/components/VarDeclaration.d.ts.map +1 -1
  55. package/dist/src/components/VarDeclaration.js +30 -10
  56. package/dist/src/components/index.d.ts +1 -1
  57. package/dist/src/components/index.d.ts.map +1 -1
  58. package/dist/src/components/index.js +1 -1
  59. package/dist/src/components/stc/index.d.ts +45 -44
  60. package/dist/src/components/stc/index.d.ts.map +1 -1
  61. package/dist/src/components/stc/index.js +46 -45
  62. package/dist/src/create-package.d.ts +62 -18
  63. package/dist/src/create-package.d.ts.map +1 -1
  64. package/dist/src/create-package.js +153 -15
  65. package/dist/src/source-directory-data.d.ts.map +1 -1
  66. package/dist/src/source-directory-data.js +2 -2
  67. package/dist/src/symbols/reference.d.ts +2 -1
  68. package/dist/src/symbols/reference.d.ts.map +1 -1
  69. package/dist/src/symbols/reference.js +3 -4
  70. package/dist/src/symbols/scopes.d.ts +1 -4
  71. package/dist/src/symbols/scopes.d.ts.map +1 -1
  72. package/dist/src/symbols/ts-member-scope.d.ts +4 -6
  73. package/dist/src/symbols/ts-member-scope.d.ts.map +1 -1
  74. package/dist/src/symbols/ts-member-scope.js +8 -10
  75. package/dist/src/symbols/ts-module-scope.d.ts +8 -11
  76. package/dist/src/symbols/ts-module-scope.d.ts.map +1 -1
  77. package/dist/src/symbols/ts-module-scope.js +47 -40
  78. package/dist/src/symbols/ts-output-symbol.d.ts +23 -16
  79. package/dist/src/symbols/ts-output-symbol.d.ts.map +1 -1
  80. package/dist/src/symbols/ts-output-symbol.js +88 -27
  81. package/dist/src/symbols/ts-package-scope.d.ts +18 -14
  82. package/dist/src/symbols/ts-package-scope.d.ts.map +1 -1
  83. package/dist/src/symbols/ts-package-scope.js +78 -27
  84. package/dist/test/class.test.js +2 -1
  85. package/dist/test/externals.test.js +87 -2
  86. package/dist/test/function-declaration.test.js +74 -3
  87. package/dist/test/member-expression.test.js +391 -5
  88. package/dist/test/new-expression.test.d.ts +2 -0
  89. package/dist/test/new-expression.test.d.ts.map +1 -0
  90. package/dist/test/new-expression.test.js +62 -0
  91. package/dist/test/var-declaration.test.d.ts.map +1 -1
  92. package/dist/test/var-declaration.test.js +145 -2
  93. package/dist/tsconfig.tsbuildinfo +1 -1
  94. package/package.json +4 -4
  95. package/src/components/ClassDeclaration.tsx +5 -7
  96. package/src/components/Declaration.tsx +3 -8
  97. package/src/components/EnumDeclaration.tsx +3 -4
  98. package/src/components/EnumMember.tsx +3 -4
  99. package/src/components/FunctionBase.tsx +25 -18
  100. package/src/components/ImportStatement.tsx +0 -1
  101. package/src/components/Interface.tsx +1 -1
  102. package/src/components/MemberDeclaration.tsx +5 -8
  103. package/src/components/MemberExpression.tsx +416 -103
  104. package/src/components/NewExpression.tsx +25 -0
  105. package/src/components/ObjectExpression.tsx +18 -16
  106. package/src/components/PackageDirectory.tsx +2 -10
  107. package/src/components/Reference.tsx +4 -2
  108. package/src/components/SourceFile.tsx +2 -5
  109. package/src/components/VarDeclaration.tsx +34 -11
  110. package/src/components/index.ts +1 -1
  111. package/src/components/stc/index.ts +46 -45
  112. package/src/create-package.ts +274 -35
  113. package/src/source-directory-data.ts +2 -2
  114. package/src/symbols/reference.ts +10 -5
  115. package/src/symbols/scopes.ts +1 -6
  116. package/src/symbols/ts-member-scope.ts +8 -23
  117. package/src/symbols/ts-module-scope.ts +58 -62
  118. package/src/symbols/ts-output-symbol.ts +108 -50
  119. package/src/symbols/ts-package-scope.ts +71 -53
  120. package/temp/api.json +1665 -1733
  121. package/test/class.test.tsx +2 -1
  122. package/test/externals.test.tsx +99 -1
  123. package/test/function-declaration.test.tsx +75 -2
  124. package/test/member-expression.test.tsx +312 -8
  125. package/test/new-expression.test.tsx +42 -0
  126. package/test/values.test.tsx +1 -0
  127. package/test/var-declaration.test.tsx +101 -1
  128. package/tsdoc-metadata.json +1 -1
  129. package/dist/src/components/MemberChainExpression.d.ts +0 -11
  130. package/dist/src/components/MemberChainExpression.d.ts.map +0 -1
  131. package/dist/src/components/MemberChainExpression.js +0 -98
  132. package/dist/test/member-chain.test.d.ts +0 -2
  133. package/dist/test/member-chain.test.d.ts.map +0 -1
  134. package/dist/test/member-chain.test.js +0 -141
  135. package/src/components/MemberChainExpression.tsx +0 -91
  136. package/test/member-chain.test.tsx +0 -124
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog - @alloy-js/typescript
2
2
 
3
+ ## 0.17.0
4
+
5
+ ### Bug Fixes
6
+
7
+ - [#163](https://github.com/alloy-framework/alloy/pull/163) Add `index` property to `MemberExpression.Part` to allow defining array indexes and treat numeric `id` props as array indexes.
8
+
9
+ ### Features
10
+
11
+ - [#153](https://github.com/alloy-framework/alloy/pull/153) Add support to createPackage for defining instance and static members.
12
+ - [#157](https://github.com/alloy-framework/alloy/pull/157) Variables will now get instance/static symbols based on the type prop or the children. This allows accessing members off of variable declarations when they are typed as a class or interface or assigned an object expression.
13
+ - [#157](https://github.com/alloy-framework/alloy/pull/157) Add new `NewExpression` component which will emit a symbol containing the instantiation of the given class reference.
14
+
15
+
16
+ ## 0.16.0
17
+
18
+ ### Features
19
+
20
+ - [#150](https://github.com/alloy-framework/alloy/pull/150) Allow providing explicit children to a MemberExpression.Part.
21
+ - [#150](https://github.com/alloy-framework/alloy/pull/150) Format member expressions with multiple calls in a much better way.
22
+
23
+ ### Breaking Changes
24
+
25
+ - [#150](https://github.com/alloy-framework/alloy/pull/150) Remove `MemberChainExpression` component. Use `MemberExpression` component instead, which accomplishes the same goals but formats better, handles optional chaining, and more.
26
+
27
+
3
28
  ## 0.15.0
4
29
 
5
30
  ### Features
@@ -1,4 +1,4 @@
1
- export declare const path: {} & {
1
+ export declare const path: {
2
2
  default: import("@alloy-js/core").Refkey;
3
3
  } & {
4
4
  join: import("@alloy-js/core").Refkey;
@@ -17,45 +17,8 @@ export declare const path: {} & {
17
17
  sep: import("@alloy-js/core").Refkey;
18
18
  toNamespacedPath: import("@alloy-js/core").Refkey;
19
19
  win32: import("@alloy-js/core").Refkey;
20
- } & import("@alloy-js/core").SymbolCreator;
20
+ } & {} & {} & import("@alloy-js/core").SymbolCreator;
21
21
  export declare const fs: {
22
- readonly "./promises": {
23
- link: import("@alloy-js/core").Refkey;
24
- access: import("@alloy-js/core").Refkey;
25
- appendFile: import("@alloy-js/core").Refkey;
26
- chmod: import("@alloy-js/core").Refkey;
27
- chown: import("@alloy-js/core").Refkey;
28
- copyFile: import("@alloy-js/core").Refkey;
29
- cp: import("@alloy-js/core").Refkey;
30
- glob: import("@alloy-js/core").Refkey;
31
- lchmod: import("@alloy-js/core").Refkey;
32
- lchown: import("@alloy-js/core").Refkey;
33
- lutimes: import("@alloy-js/core").Refkey;
34
- lstat: import("@alloy-js/core").Refkey;
35
- mkdir: import("@alloy-js/core").Refkey;
36
- mkdtemp: import("@alloy-js/core").Refkey;
37
- open: import("@alloy-js/core").Refkey;
38
- opendir: import("@alloy-js/core").Refkey;
39
- readdir: import("@alloy-js/core").Refkey;
40
- readFile: import("@alloy-js/core").Refkey;
41
- realpath: import("@alloy-js/core").Refkey;
42
- rename: import("@alloy-js/core").Refkey;
43
- rmdir: import("@alloy-js/core").Refkey;
44
- rm: import("@alloy-js/core").Refkey;
45
- stat: import("@alloy-js/core").Refkey;
46
- statfs: import("@alloy-js/core").Refkey;
47
- symlink: import("@alloy-js/core").Refkey;
48
- truncate: import("@alloy-js/core").Refkey;
49
- unlink: import("@alloy-js/core").Refkey;
50
- utimes: import("@alloy-js/core").Refkey;
51
- watch: import("@alloy-js/core").Refkey;
52
- writeFile: import("@alloy-js/core").Refkey;
53
- readLink: import("@alloy-js/core").Refkey;
54
- constants: import("@alloy-js/core").Refkey;
55
- } & {
56
- default: import("@alloy-js/core").Refkey;
57
- };
58
- } & {
59
22
  default: import("@alloy-js/core").Refkey;
60
23
  } & {
61
24
  link: import("@alloy-js/core").Refkey;
@@ -150,8 +113,13 @@ export declare const fs: {
150
113
  writeFileSync: import("@alloy-js/core").Refkey;
151
114
  writeSync: import("@alloy-js/core").Refkey;
152
115
  writevSync: import("@alloy-js/core").Refkey;
116
+ } & {} & {
117
+ readonly "./promises": import("../create-package.js").ModuleExports<{
118
+ readonly default: "fs";
119
+ readonly named: ["access", "appendFile", "chmod", "chown", "copyFile", "cp", "glob", "lchmod", "lchown", "lutimes", "link", "lstat", "mkdir", "mkdtemp", "open", "opendir", "readdir", "readFile", "readLink", "realpath", "rename", "rmdir", "rm", "stat", "statfs", "symlink", "truncate", "unlink", "utimes", "watch", "writeFile", "constants"];
120
+ }>;
153
121
  } & import("@alloy-js/core").SymbolCreator;
154
- export declare const util: {} & {
122
+ export declare const util: {
155
123
  default: import("@alloy-js/core").Refkey;
156
124
  } & {
157
125
  format: import("@alloy-js/core").Refkey;
@@ -179,5 +147,5 @@ export declare const util: {} & {
179
147
  transferableAbortSignal: import("@alloy-js/core").Refkey;
180
148
  aborted: import("@alloy-js/core").Refkey;
181
149
  types: import("@alloy-js/core").Refkey;
182
- } & import("@alloy-js/core").SymbolCreator;
150
+ } & {} & {} & import("@alloy-js/core").SymbolCreator;
183
151
  //# sourceMappingURL=node.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/builtins/node.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;0CA2Bf,CAAC;AAEH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAqJb,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAoCf,CAAC"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/builtins/node.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;oDA2Bf,CAAC;AAEH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAqJb,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAoCf,CAAC"}
@@ -33,8 +33,8 @@ export interface ArrowFunctionProps extends CallSignatureProps {
33
33
  */
34
34
  export declare function ArrowFunction(props: ArrowFunctionProps): Children;
35
35
  export declare namespace ArrowFunction {
36
- var TypeParameters: import("@alloy-js/core").Component<import("./FunctionBase.jsx").TypeParametersProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").TypeParametersProps>, "tag">>;
37
- var Parameters: import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionParametersProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionParametersProps>, "tag">>;
38
- var Body: import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionBodyProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionBodyProps>, "tag">>;
36
+ var TypeParameters: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").TypeParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").TypeParametersProps>, "tag">>;
37
+ var Parameters: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionParametersProps>, "tag">>;
38
+ var Body: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionBodyProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionBodyProps>, "tag">>;
39
39
  }
40
40
  //# sourceMappingURL=ArrowFunction.d.ts.map
@@ -45,5 +45,5 @@ export interface BarrelFileProps {
45
45
  * @see {@link @alloy-js/core#SourceDirectory}
46
46
  * @see {@link SourceFile}
47
47
  */
48
- export declare function BarrelFile(props: BarrelFileProps): import("@alloy-js/core").Children;
48
+ export declare function BarrelFile(props: BarrelFileProps): import("@alloy-js/core/jsx-runtime").Children;
49
49
  //# sourceMappingURL=BarrelFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BarrelFile.d.ts","sourceRoot":"","sources":["../../../src/components/BarrelFile.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qCAiChD"}
1
+ {"version":3,"file":"BarrelFile.d.ts","sourceRoot":"","sources":["../../../src/components/BarrelFile.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,iDAiChD"}
@@ -9,5 +9,5 @@ export type BlockScopeProps = BlockScopePropsWithScopeValue | BlockScopePropsWit
9
9
  * Can either provide the scope directly via the `value` prop, or else provide
10
10
  * information about the scope.
11
11
  */
12
- export declare function BlockScope(props: BlockScopeProps): import("@alloy-js/core").Children;
12
+ export declare function BlockScope(props: BlockScopeProps): import("@alloy-js/core/jsx-runtime").Children;
13
13
  //# sourceMappingURL=BlockScope.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockScope.d.ts","sourceRoot":"","sources":["../../../src/components/BlockScope.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,gBAAgB,CAAC;AAExB,MAAM,WAAW,6BACf,SAAQ,mBAAmB,EACzB,UAAU;CAAG;AACjB,MAAM,WAAW,4BACf,SAAQ,kBAAkB,EACxB,UAAU;CAAG;AAEjB,MAAM,MAAM,eAAe,GACvB,6BAA6B,GAC7B,4BAA4B,CAAC;AAEjC;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qCAMhD"}
1
+ {"version":3,"file":"BlockScope.d.ts","sourceRoot":"","sources":["../../../src/components/BlockScope.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,gBAAgB,CAAC;AAExB,MAAM,WAAW,6BACf,SAAQ,mBAAmB,EACzB,UAAU;CAAG;AACjB,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AAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,YAiBhD;AAED,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB,EAAE,kBAAkB;IAC5E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,YAwBlD"}
@@ -2,7 +2,7 @@ import { memo as _$memo, createComponent as _$createComponent, createIntrinsic a
2
2
  import { Block, MemberDeclaration, Name, OutputSymbolFlags, Prose, Scope, Show, splitProps, useMemberScope } from "@alloy-js/core";
3
3
  import { usePrivateScope } from "../context/private-scope.js";
4
4
  import { useTSNamePolicy } from "../name-policy.js";
5
- import { createTSSymbol, TSSymbolFlags } from "../symbols/ts-output-symbol.js";
5
+ import { TSOutputSymbol, TSSymbolFlags } from "../symbols/ts-output-symbol.js";
6
6
  import { getCallSignatureProps } from "../utils.js";
7
7
  import { CallSignature } from "./CallSignature.js";
8
8
  import { Declaration } from "./Declaration.js";
@@ -46,9 +46,8 @@ import { TypeRefContext } from "./TypeRefContext.js";
46
46
  export function ClassDeclaration(props) {
47
47
  const namePolicy = useTSNamePolicy();
48
48
  const extendsPart = props.extends && [" extends ", _$memo(() => props.extends)];
49
- const sym = createTSSymbol({
50
- name: namePolicy.getName(props.name, "class"),
51
- refkey: props.refkey,
49
+ const sym = new TSOutputSymbol(namePolicy.getName(props.name, "class"), {
50
+ refkeys: props.refkey,
52
51
  export: props.export,
53
52
  default: props.default,
54
53
  flags: (props.flags ?? OutputSymbolFlags.None) | (OutputSymbolFlags.MemberContainer | OutputSymbolFlags.StaticMemberContainer),
@@ -104,10 +103,9 @@ export function ClassMember(props) {
104
103
  if (props.nullish) {
105
104
  tsFlags |= TSSymbolFlags.Nullish;
106
105
  }
107
- const sym = createTSSymbol({
108
- name,
106
+ const sym = new TSOutputSymbol(name, {
109
107
  scope,
110
- refkey: props.refkey,
108
+ refkeys: props.refkey,
111
109
  flags,
112
110
  tsFlags
113
111
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Declaration.d.ts","sourceRoot":"","sources":["../../../src/components/Declaration.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAGR,iBAAiB,EACjB,MAAM,EACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAmB,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAEL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAY7B,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;OAEG;IACH,GAAG,CAAC,EAAE,QAAQ,CAAC;CAChB;AAED,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC;IAC1E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAE9B;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,YAyDlD"}
1
+ {"version":3,"file":"Declaration.d.ts","sourceRoot":"","sources":["../../../src/components/Declaration.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAGR,iBAAiB,EACjB,MAAM,EACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAmB,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,cAAc,EAAiB,MAAM,qBAAqB,CAAC;AAYpE,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;OAEG;IACH,GAAG,CAAC,EAAE,QAAQ,CAAC;CAChB;AAED,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC;IAC1E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAE9B;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,YAwDlD"}
@@ -1,7 +1,7 @@
1
1
  import { createComponent as _$createComponent, memo as _$memo } from "@alloy-js/core/jsx-runtime";
2
2
  import { Declaration as CoreDeclaration, MemberScope, OutputSymbolFlags } from "@alloy-js/core";
3
3
  import { useTSNamePolicy } from "../name-policy.js";
4
- import { createTSSymbol, TSSymbolFlags } from "../symbols/index.js";
4
+ import { TSOutputSymbol, TSSymbolFlags } from "../symbols/index.js";
5
5
 
6
6
  // imports for documentation
7
7
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -35,9 +35,8 @@ export function Declaration(props) {
35
35
  if (props.kind && props.kind === "type") {
36
36
  tsFlags |= TSSymbolFlags.TypeSymbol;
37
37
  }
38
- sym = createTSSymbol({
39
- name: namePolicy.getName(props.name, props.nameKind),
40
- refkey: props.refkey,
38
+ sym = new TSOutputSymbol(namePolicy.getName(props.name, props.nameKind), {
39
+ refkeys: props.refkey,
41
40
  export: props.export,
42
41
  default: props.default,
43
42
  flags: props.flags,
@@ -8,5 +8,5 @@ export interface EnumDeclarationProps extends BaseDeclarationProps {
8
8
  /**
9
9
  * A TypeScript enum declaration.
10
10
  */
11
- export declare function EnumDeclaration(props: EnumDeclarationProps): import("@alloy-js/core").Children;
11
+ export declare function EnumDeclaration(props: EnumDeclarationProps): import("@alloy-js/core/jsx-runtime").Children;
12
12
  //# sourceMappingURL=EnumDeclaration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnumDeclaration.d.ts","sourceRoot":"","sources":["../../../src/components/EnumDeclaration.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGxD,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CAC3C;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,qCAyC1D"}
1
+ {"version":3,"file":"EnumDeclaration.d.ts","sourceRoot":"","sources":["../../../src/components/EnumDeclaration.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGxD,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CAC3C;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,iDAwC1D"}
@@ -1,7 +1,7 @@
1
1
  import { createComponent as _$createComponent, createIntrinsic as _$createIntrinsic, memo as _$memo } from "@alloy-js/core/jsx-runtime";
2
2
  import { Block, computed, Declaration as CoreDeclaration, For, MemberScope, Name, OutputSymbolFlags, Show, useBinder } from "@alloy-js/core";
3
3
  import { useTSNamePolicy } from "../name-policy.js";
4
- import { createTSSymbol, useTSScope } from "../symbols/index.js";
4
+ import { TSOutputSymbol, useTSScope } from "../symbols/index.js";
5
5
  import { EnumMember } from "./EnumMember.js";
6
6
  import { JSDoc } from "./JSDoc.js";
7
7
  /**
@@ -11,11 +11,10 @@ export function EnumDeclaration(props) {
11
11
  const name = useTSNamePolicy().getName(props.name, "enum");
12
12
  const binder = useBinder();
13
13
  const scope = useTSScope();
14
- const sym = createTSSymbol({
14
+ const sym = new TSOutputSymbol(name, {
15
15
  binder,
16
16
  scope,
17
- name: name,
18
- refkey: props.refkey,
17
+ refkeys: props.refkey,
19
18
  default: props.default,
20
19
  export: props.export,
21
20
  flags: OutputSymbolFlags.StaticMemberContainer,
@@ -1 +1 @@
1
- {"version":3,"file":"EnumMember.d.ts","sourceRoot":"","sources":["../../../src/components/EnumMember.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,EAAQ,MAAM,gBAAgB,CAAC;AAO3E,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;OAEG;IACH,GAAG,CAAC,EAAE,QAAQ,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,YA4BhD"}
1
+ {"version":3,"file":"EnumMember.d.ts","sourceRoot":"","sources":["../../../src/components/EnumMember.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,EAAQ,MAAM,gBAAgB,CAAC;AAO3E,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;OAEG;IACH,GAAG,CAAC,EAAE,QAAQ,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,YA2BhD"}
@@ -1,7 +1,7 @@
1
1
  import { createComponent as _$createComponent, createIntrinsic as _$createIntrinsic } from "@alloy-js/core/jsx-runtime";
2
2
  import { OutputSymbolFlags, Show } from "@alloy-js/core";
3
3
  import { useTSNamePolicy } from "../name-policy.js";
4
- import { createTSSymbol } from "../symbols/ts-output-symbol.js";
4
+ import { TSOutputSymbol } from "../symbols/ts-output-symbol.js";
5
5
  import { JSDoc } from "./JSDoc.js";
6
6
  import { PropertyName } from "./PropertyName.js";
7
7
  import { ValueExpression } from "./ValueExpression.js";
@@ -13,9 +13,8 @@ export function EnumMember(props) {
13
13
  const name = namer.getName(props.name, "enum-member");
14
14
  let sym = undefined;
15
15
  if (props.refkey) {
16
- sym = createTSSymbol({
17
- name,
18
- refkey: props.refkey,
16
+ sym = new TSOutputSymbol(name, {
17
+ refkeys: props.refkey,
19
18
  flags: OutputSymbolFlags.StaticMember,
20
19
  metadata: props.metadata
21
20
  });
@@ -25,7 +25,7 @@ export interface TypeParametersProps {
25
25
  /** Jsx Children */
26
26
  children?: Children;
27
27
  }
28
- export declare const FunctionBody: import("@alloy-js/core").Component<FunctionBodyProps> & Required<Pick<import("@alloy-js/core").Component<FunctionBodyProps>, "tag">>;
28
+ export declare const FunctionBody: import("@alloy-js/core/jsx-runtime").Component<FunctionBodyProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<FunctionBodyProps>, "tag">>;
29
29
  /**
30
30
  * Represent function parameters(FunctionDeclaration, FunctionExpression, ArrowFunction, etc.)
31
31
  *
@@ -34,7 +34,7 @@ export declare const FunctionBody: import("@alloy-js/core").Component<FunctionBo
34
34
  * a: string, b: string = "abc", c?: string,
35
35
  * ```
36
36
  */
37
- export declare const FunctionParameters: import("@alloy-js/core").Component<FunctionParametersProps> & Required<Pick<import("@alloy-js/core").Component<FunctionParametersProps>, "tag">>;
37
+ export declare const FunctionParameters: import("@alloy-js/core/jsx-runtime").Component<FunctionParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<FunctionParametersProps>, "tag">>;
38
38
  /**
39
39
  * Represent parameters for a function type(FunctionType or InterfaceMethod)
40
40
  * This differ from {@link FunctionParameters} in that it doesn't allow default values.
@@ -44,7 +44,7 @@ export declare const FunctionParameters: import("@alloy-js/core").Component<Func
44
44
  * a: string, b?: string
45
45
  * ```
46
46
  */
47
- export declare const FunctionTypeParameters: import("@alloy-js/core").Component<FunctionTypeParametersProps> & Required<Pick<import("@alloy-js/core").Component<FunctionTypeParametersProps>, "tag">>;
47
+ export declare const FunctionTypeParameters: import("@alloy-js/core/jsx-runtime").Component<FunctionTypeParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<FunctionTypeParametersProps>, "tag">>;
48
48
  /**
49
49
  * Represent type parameters
50
50
  *
@@ -53,7 +53,7 @@ export declare const FunctionTypeParameters: import("@alloy-js/core").Component<
53
53
  * <A, B extends string>
54
54
  * ```
55
55
  */
56
- export declare const TypeParameters: import("@alloy-js/core").Component<TypeParametersProps> & Required<Pick<import("@alloy-js/core").Component<TypeParametersProps>, "tag">>;
56
+ export declare const TypeParameters: import("@alloy-js/core/jsx-runtime").Component<TypeParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<TypeParametersProps>, "tag">>;
57
57
  export declare function getReturnType(returnType: Children | undefined, options?: {
58
58
  async?: boolean;
59
59
  }): Children;
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionBase.d.ts","sourceRoot":"","sources":["../../../src/components/FunctionBase.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,KAAK,EAEV,mBAAmB,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAYrE,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;CAC9B;AAED,oCAAoC;AACpC,MAAM,WAAW,uBAAuB;IACtC,iBAAiB;IACjB,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,EAAE,GAAG,MAAM,EAAE,CAAC;IACvD,mBAAmB;IACnB,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;CAC9B;AAED,iEAAiE;AACjE,MAAM,WAAW,2BAA2B;IAC1C,iBAAiB;IACjB,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,EAAE,GAAG,MAAM,EAAE,CAAC;IACvD,mBAAmB;IACnB,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;CAC9B;AAED,gCAAgC;AAChC,MAAM,WAAW,mBAAmB;IAClC,iBAAiB;IACjB,UAAU,CAAC,EAAE,uBAAuB,E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BAAiB;IACjB,UAAU,CAAC,EAAE,uBAAuB,EAAE,GAAG,MAAM,EAAE,CAAC;IAClD,mBAAmB;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,8JAKxB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,0KAmB9B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,kLAmBlC,CAAC;AA0GF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,kKAkC1B,CAAC;AAkBF,wBAAgB,aAAa,CAC3B,UAAU,EAAE,QAAQ,GAAG,SAAS,EAChC,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAqB,YAKhD"}
@@ -1,7 +1,7 @@
1
1
  import { createComponent as _$createComponent, createIntrinsic as _$createIntrinsic, memo as _$memo } from "@alloy-js/core/jsx-runtime";
2
- import { Block, code, For, Indent, onCleanup, Show, taggedComponent } from "@alloy-js/core";
2
+ import { Block, code, createSymbolSlot, For, Indent, onCleanup, Show, taggedComponent } from "@alloy-js/core";
3
3
  import { useTSNamePolicy } from "../name-policy.js";
4
- import { createTSSymbol, TSSymbolFlags } from "../symbols/index.js";
4
+ import { TSOutputSymbol, TSSymbolFlags } from "../symbols/index.js";
5
5
  import { TypeRefContext } from "./TypeRefContext.js";
6
6
  const functionParametersTag = Symbol();
7
7
  const typeParametersTag = Symbol();
@@ -88,6 +88,8 @@ export const FunctionTypeParameters = taggedComponent(functionParametersTag, fun
88
88
  });
89
89
  });
90
90
  function parameter(param) {
91
+ const SymbolSlot = createSymbolSlot();
92
+ SymbolSlot.instantiateInto(param.symbol);
91
93
  return _$createIntrinsic("group", {
92
94
  get children() {
93
95
  return [_$createComponent(Show, {
@@ -107,9 +109,13 @@ function parameter(param) {
107
109
  get children() {
108
110
  return _$createIntrinsic("indent", {
109
111
  get children() {
110
- return [": ", _$createComponent(TypeRefContext, {
112
+ return [":", " ", _$createComponent(SymbolSlot, {
111
113
  get children() {
112
- return param.type;
114
+ return _$createComponent(TypeRefContext, {
115
+ get children() {
116
+ return param.type;
117
+ }
118
+ });
113
119
  }
114
120
  })];
115
121
  }
@@ -126,8 +132,8 @@ function normalizeAndDeclareParameters(parameters, flags = TSSymbolFlags.Paramet
126
132
  }
127
133
  if (typeof parameters[0] === "string") {
128
134
  return parameters.map(paramName => {
129
- const symbol = createTSSymbol({
130
- name: namePolicy.getName(paramName, flags & TSSymbolFlags.TypeSymbol ? "type" : "parameter"),
135
+ const name = namePolicy.getName(paramName, flags & TSSymbolFlags.TypeSymbol ? "type" : "parameter");
136
+ const symbol = new TSOutputSymbol(name, {
131
137
  tsFlags: flags
132
138
  });
133
139
  return {
@@ -138,9 +144,8 @@ function normalizeAndDeclareParameters(parameters, flags = TSSymbolFlags.Paramet
138
144
  } else {
139
145
  return parameters.map(param => {
140
146
  const nullishFlag = param.nullish ?? param.optional ? TSSymbolFlags.Nullish : TSSymbolFlags.None;
141
- const symbol = createTSSymbol({
142
- name: namePolicy.getName(param.name, flags & TSSymbolFlags.TypeSymbol ? "type" : "parameter"),
143
- refkey: param.refkey,
147
+ const symbol = new TSOutputSymbol(namePolicy.getName(param.name, flags & TSSymbolFlags.TypeSymbol ? "type" : "parameter"), {
148
+ refkeys: param.refkey,
144
149
  tsFlags: flags | nullishFlag,
145
150
  metadata: param.metadata
146
151
  });
@@ -170,7 +175,7 @@ export const TypeParameters = taggedComponent(typeParametersTag, function TypePa
170
175
  const typeParameters = normalizeAndDeclareParameters(props.parameters);
171
176
  onCleanup(() => {
172
177
  for (const param of typeParameters) {
173
- param.symbol.binder.deleteSymbol(param.symbol);
178
+ param.symbol.delete();
174
179
  }
175
180
  });
176
181
  return ["<", _$createIntrinsic("group", {
@@ -23,8 +23,8 @@ export interface FunctionDeclarationProps extends BaseDeclarationProps, CallSign
23
23
  */
24
24
  export declare function FunctionDeclaration(props: FunctionDeclarationProps): Children;
25
25
  export declare namespace FunctionDeclaration {
26
- var TypeParameters: import("@alloy-js/core").Component<import("./FunctionBase.jsx").TypeParametersProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").TypeParametersProps>, "tag">>;
27
- var Parameters: import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionParametersProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionParametersProps>, "tag">>;
28
- var Body: import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionBodyProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionBodyProps>, "tag">>;
26
+ var TypeParameters: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").TypeParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").TypeParametersProps>, "tag">>;
27
+ var Parameters: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionParametersProps>, "tag">>;
28
+ var Body: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionBodyProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionBodyProps>, "tag">>;
29
29
  }
30
30
  //# sourceMappingURL=FunctionDeclaration.d.ts.map
@@ -32,8 +32,8 @@ export interface FunctionExpressionProps extends CallSignatureProps {
32
32
  */
33
33
  export declare function FunctionExpression(props: FunctionExpressionProps): Children;
34
34
  export declare namespace FunctionExpression {
35
- var TypeParameters: import("@alloy-js/core").Component<import("./FunctionBase.jsx").TypeParametersProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").TypeParametersProps>, "tag">>;
36
- var Parameters: import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionParametersProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionParametersProps>, "tag">>;
37
- var Body: import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionBodyProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionBodyProps>, "tag">>;
35
+ var TypeParameters: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").TypeParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").TypeParametersProps>, "tag">>;
36
+ var Parameters: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionParametersProps>, "tag">>;
37
+ var Body: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionBodyProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionBodyProps>, "tag">>;
38
38
  }
39
39
  //# sourceMappingURL=FunctionExpression.d.ts.map
@@ -32,7 +32,7 @@ export interface FunctionTypeProps extends CallSignatureProps {
32
32
  * {@link FunctionType.TypeParameters} components.
33
33
  */
34
34
  export declare const FunctionType: ((props: FunctionTypeProps) => Children) & {
35
- TypeParameters: import("@alloy-js/core").Component<import("./FunctionBase.jsx").TypeParametersProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").TypeParametersProps>, "tag">>;
36
- Parameters: import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionTypeParametersProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionTypeParametersProps>, "tag">>;
35
+ TypeParameters: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").TypeParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").TypeParametersProps>, "tag">>;
36
+ Parameters: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionTypeParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionTypeParametersProps>, "tag">>;
37
37
  };
38
38
  //# sourceMappingURL=FunctionType.d.ts.map
@@ -2,7 +2,7 @@ import { ImportedSymbol, ImportRecords } from "../symbols/index.js";
2
2
  export interface ImportStatementsProps {
3
3
  records: ImportRecords;
4
4
  }
5
- export declare function ImportStatements(props: ImportStatementsProps): () => import("@alloy-js/core").Children[];
5
+ export declare function ImportStatements(props: ImportStatementsProps): () => import("@alloy-js/core/jsx-runtime").Children[];
6
6
  export interface ImportStatementProps {
7
7
  path: string;
8
8
  symbols: Set<ImportedSymbol>;
@@ -1 +1 @@
1
- {"version":3,"file":"ImportStatement.d.ts","sourceRoot":"","sources":["../../../src/components/ImportStatement.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,cAAc,EACd,aAAa,EAGd,MAAM,qBAAqB,CAAC;AAI7B,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,aAAa,CAAC;CACxB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,6CAgD5D;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC9B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,eAqD1D"}
1
+ {"version":3,"file":"ImportStatement.d.ts","sourceRoot":"","sources":["../../../src/components/ImportStatement.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,cAAc,EACd,aAAa,EAGd,MAAM,qBAAqB,CAAC;AAI7B,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,aAAa,CAAC;CACxB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,yDA+C5D;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC9B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,eAqD1D"}
@@ -45,7 +45,7 @@ export const InterfaceDeclaration = ensureTypeRefContext(props => {
45
45
  export const InterfaceExpression = ensureTypeRefContext(props => {
46
46
  const parentMemberSym = useMemberDeclaration();
47
47
  if (parentMemberSym) {
48
- parentMemberSym.binder.addStaticMembersToSymbol(parentMemberSym);
48
+ parentMemberSym.flags |= OutputSymbolFlags.StaticMemberContainer;
49
49
  }
50
50
  return _$createIntrinsic("group", {
51
51
  get children() {
@@ -37,7 +37,7 @@ export interface InterfaceMethodProps extends CallSignatureProps {
37
37
  */
38
38
  export declare function InterfaceMethod(props: InterfaceMethodProps): Children;
39
39
  export declare namespace InterfaceMethod {
40
- var TypeParameters: import("@alloy-js/core").Component<import("./FunctionBase.jsx").TypeParametersProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").TypeParametersProps>, "tag">>;
41
- var Parameters: import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionTypeParametersProps> & Required<Pick<import("@alloy-js/core").Component<import("./FunctionBase.jsx").FunctionTypeParametersProps>, "tag">>;
40
+ var TypeParameters: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").TypeParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").TypeParametersProps>, "tag">>;
41
+ var Parameters: import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionTypeParametersProps> & Required<Pick<import("@alloy-js/core/jsx-runtime").Component<import("./FunctionBase.jsx").FunctionTypeParametersProps>, "tag">>;
42
42
  }
43
43
  //# sourceMappingURL=InterfaceMethod.d.ts.map
@@ -30,5 +30,5 @@ export interface MemberDeclarationProps extends Omit<MemberDeclarationPropsWithI
30
30
  */
31
31
  nullish?: boolean;
32
32
  }
33
- export declare function MemberDeclaration(props: Readonly<MemberDeclarationProps>): import("@alloy-js/core").Children;
33
+ export declare function MemberDeclaration(props: Readonly<MemberDeclarationProps>): import("@alloy-js/core/jsx-runtime").Children;
34
34
  //# sourceMappingURL=MemberDeclaration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MemberDeclaration.d.ts","sourceRoot":"","sources":["../../../src/components/MemberDeclaration.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,8BAA8B,EAC9B,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAmB,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAEL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAE7B,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,8BAA8B,EAAE,MAAM,CAAC;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAE9B;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,qCA2BxE"}
1
+ {"version":3,"file":"MemberDeclaration.d.ts","sourceRoot":"","sources":["../../../src/components/MemberDeclaration.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,8BAA8B,EAC9B,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAmB,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,cAAc,EAAiB,MAAM,qBAAqB,CAAC;AAEpE,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,8BAA8B,EAAE,MAAM,CAAC;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAE9B;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,iDA4BxE"}
@@ -1,7 +1,7 @@
1
1
  import { createComponent as _$createComponent } from "@alloy-js/core/jsx-runtime";
2
2
  import { MemberDeclaration as CoreMemberDeclaration } from "@alloy-js/core";
3
3
  import { useTSNamePolicy } from "../name-policy.js";
4
- import { createTSSymbol, TSSymbolFlags } from "../symbols/index.js";
4
+ import { TSOutputSymbol, TSSymbolFlags } from "../symbols/index.js";
5
5
  export function MemberDeclaration(props) {
6
6
  let sym;
7
7
  if (props.symbol) {
@@ -12,9 +12,9 @@ export function MemberDeclaration(props) {
12
12
  if (props.kind === "type") {
13
13
  tsFlags |= TSSymbolFlags.TypeSymbol;
14
14
  }
15
- sym = createTSSymbol({
16
- name: props.exactName ?? namePolicy.getName(props.name, props.nameKind),
17
- refkey: props.refkey,
15
+ const name = props.exactName ?? namePolicy.getName(props.name, props.nameKind);
16
+ sym = new TSOutputSymbol(name, {
17
+ refkeys: props.refkey,
18
18
  flags: props.flags,
19
19
  tsFlags,
20
20
  metadata: props.metadata
@@ -7,12 +7,18 @@ export interface MemberExpressionProps {
7
7
  * the following:
8
8
  *
9
9
  * * **id**: The identifier for the member expression part
10
- * * **refkey**: A refkey for a symbol whose name becomes the identifier
10
+ * * **refkey**: a refkey for a symbol whose name becomes the identifier
11
11
  * * **symbol**: a symbol whose name becomes the identifier part
12
12
  * * **args**: create a method call with the given args
13
+ * * **children**: arbitrary contents for the identifier part.
13
14
  *
14
- * Additionally, a part can be `nullish`, which means subsequent parts
15
- * will use the appropriate conditional access operator e.g. `?.`.
15
+ * Each part can have a nullish prop, which indicates that the part may be null
16
+ * or undefined.
17
+ *
18
+ * Each part can also have a quoteId prop, which indicates that the identifier
19
+ * of the part should be quoted (i.e. `["foo"]` instead of `.foo`). This is only
20
+ * necessary when providing the children prop, otherwise it is determined
21
+ * automatically.
16
22
  *
17
23
  * @example
18
24
  *
@@ -22,6 +28,7 @@ export interface MemberExpressionProps {
22
28
  * <MemberExpression.Part refkey={rk} nullish />
23
29
  * <MemberExpression.Part symbol={sym} />
24
30
  * <MemberExpression.Part args={["hello", "world"]} />
31
+ * <MemberExpression.Part>SomeValue</MemberExpression.Part>
25
32
  * </MemberExpression>
26
33
  * ```
27
34
  *
@@ -29,7 +36,7 @@ export interface MemberExpressionProps {
29
36
  * with a name of "prop2", this will render:
30
37
  *
31
38
  * ```ts
32
- * base.prop1?.prop2("hello", "world")
39
+ * base.prop1?.prop2("hello", "world").SomeValue
33
40
  * ```
34
41
  */
35
42
  export declare function MemberExpression(props: MemberExpressionProps): Children;
@@ -40,7 +47,17 @@ export interface MemberExpressionPartProps {
40
47
  /**
41
48
  * The identifier for this part of the member expression.
42
49
  */
43
- id?: string;
50
+ id?: string | number;
51
+ /**
52
+ * The index for this part of the member expression. This is used when
53
+ * the part is an array access (i.e. `foo[0]`).
54
+ */
55
+ index?: number;
56
+ /**
57
+ * Whether the identifier should be quoted or not. Only needed when
58
+ * providing the `children` prop, otherwise it is determined automatically.
59
+ */
60
+ quoteId?: boolean;
44
61
  /**
45
62
  * A refkey for a symbol whose name becomes the identifier.
46
63
  */
@@ -57,5 +74,10 @@ export interface MemberExpressionPartProps {
57
74
  * This part is nullish. Subsequent parts use conditional access operators.
58
75
  */
59
76
  nullish?: boolean;
77
+ /**
78
+ * The contents of this part. When passed, overrides the other props except
79
+ * nullish.
80
+ */
81
+ children?: Children;
60
82
  }
61
83
  //# sourceMappingURL=MemberExpression.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MemberExpression.d.ts","sourceRoot":"","sources":["../../../src/components/MemberExpression.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAKR,YAAY,EAGZ,MAAM,EAGP,MAAM,gBAAgB,CAAC;AAIxB,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,QAAQ,CAAC;CACpB;AASD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,QAAQ,CA4HvE;yBA5He,gBAAgB;sBAmLS,yBAAyB;;AAhClE,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;IAE5B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
1
+ {"version":3,"file":"MemberExpression.d.ts","sourceRoot":"","sources":["../../../src/components/MemberExpression.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAKR,YAAY,EAGZ,MAAM,EAKP,MAAM,gBAAgB,CAAC;AAKxB,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAkBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,QAAQ,CA6BvE;yBA7Be,gBAAgB;sBA2cS,yBAAyB;;AA5DlE,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAErB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;I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