createMemberScope
import { createMemberScope } from "@alloy-js/typescript";
function createMemberScope(name: string, ownerSymbol: TSOutputSymbol, options?: OutputScopeOptions): TSMemberScope;Parameters
Section titled “Parameters”| name | string | |
| ownerSymbol | TSOutputSymbol | |
| options | optional OutputScopeOptions |
Options
Section titled “Options”| binder | optional Binder | The binder instance this scope belongs to. If not provided, it will attempt to find the current binder from context. |
| metadata | optional Record<string, unknown> | Arbitrary metadata that is associated with this scope. |
| ownerSymbol | optional OutputSymbol | The owner symbol of this scope. When provided, this scope becomes a member scope, which exposes the symbols on its owner symbol instead of having its own declaration spaces. |