Skip to content

GoNamedTypeScope

This scope contains NamedTypeSymbols for types that are declared in containers like packages. This scope is a member scope which whose member symbol is a NamedTypeSymbol.

Extends GoScope

constructor(ownerSymbol: NamedTypeSymbol, parentScope: GoNamedTypeScope | GoSourceFileScope | GoModuleScope | undefined, options: OutputScopeOptions)Constructs a new instance of the GoNamedTypeScope class
declarationSpacesnever[]
enclosingPackageimport(”../index.js”).PackageSymbol | undefined
membersimport(“@alloy-js/core”).OutputMemberSpace
ownerSymbolNamedTypeSymbol
typeParametersimport(“@alloy-js/core”).OutputMemberSpaceFor now, we stuff type parameters into the member scope. This is to ensure name conflicts are handled correctly.