Documentation
¶
Overview ¶
Package packageextensionhost validates package-extension data and converts it into compiler-owned semantic declarations. Providers never receive the internal declaration representation through this boundary.
Index ¶
- func ExportDeclarationCatalog(provider string, catalog *declaration.Catalog) (packageextension.DeclarationCatalog, error)
- func ExportProjectDeclarationInput(provider string, programs []*ast.Program) (packageextension.ProjectDeclarationInput, error)
- func ImportDeclarationCatalog(source packageextension.DeclarationCatalog) (*declaration.Catalog, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportDeclarationCatalog ¶
func ExportDeclarationCatalog(provider string, catalog *declaration.Catalog) (packageextension.DeclarationCatalog, error)
func ExportProjectDeclarationInput ¶
func ExportProjectDeclarationInput(provider string, programs []*ast.Program) (packageextension.ProjectDeclarationInput, error)
ExportProjectDeclarationInput copies the declaration-only portion of parsed project source into the versioned package-extension boundary. The returned value owns its data and does not retain compiler AST nodes.
func ImportDeclarationCatalog ¶
func ImportDeclarationCatalog(source packageextension.DeclarationCatalog) (*declaration.Catalog, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.