packageΒΆ

HUGR package and pointed package interfaces.

Functions

link_packages

Link all packages, returning a new package containing the extensions of all packages, as well as a single module created from linking the modules from all packages.

Classes

ExecutablePackage

PackagePointer with a defined entrypoint node.

ExtensionPointer

Pointer to an extension in a package.

FuncDeclPointer

Pointer to a function declaration in a module.

FuncDefnPointer

Pointer to a function definition in a module.

ModulePointer

Pointer to a module in a package.

NodePointer

Pointer to a node in a module.

Package

A package of HUGR modules and extensions.

PackagePointer

Classes that point to packages and their inner contents.