irgen

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package irgen implements IR generation from source code. It assumes that program passed analysis stage and does not enforce any validations.

Index

Constants

This section is empty.

Variables

View Source
var ErrNodeUsageNotFound = errors.New("node usage not found")

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, *compiler.Error)

Jump to

Keyboard shortcuts

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