baker

package
v0.0.0-...-bf3ae02 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

The baked in types are stored for quick lookup and to ensure only one instance of each type is created.

Some of these types don't normally exist in Go, but are used to represent the construct in a way that can be abstracted. Other types represent the built-in types such as error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Baker

type Baker interface {
	TypeByName(name string) constructs.TypeDecl

	BakeBuiltin() constructs.Package
	BakeAny() constructs.InterfaceDesc
	BakeList() constructs.InterfaceDecl
	BakeChan() constructs.InterfaceDecl
	BakeMap() constructs.InterfaceDecl
	BakePointer() constructs.InterfaceDecl
	BakeComplex64() constructs.InterfaceDecl
	BakeComplex128() constructs.InterfaceDecl
	BakeError() constructs.InterfaceDecl
	BakeComparable() constructs.InterfaceDecl
}

func New

func New(proj constructs.Project) Baker

Jump to

Keyboard shortcuts

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