irgen

package
v0.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct{}

func New

func New() Generator

func (Generator) Generate

func (g Generator) Generate(
	build src.Build,
	mainPkgName string,
) (*ir.Program, error)

func (Generator) GenerateForComponent added in v0.33.0

func (g Generator) GenerateForComponent(
	build src.Build,
	pkgName string,
	componentName string,
) (*ir.Program, error)

GenerateForComponent builds IR for a given exported component as the root. it maps all component inports to the program start payload and all outports to the program stop payload, enabling call/return semantics.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL