program

package
v0.12.0-a.9 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildProfile

type BuildProfile string
const (
	BuildProfileFull  BuildProfile = "full"
	BuildProfileLocal BuildProfile = "local"
)

func ParseBuildProfile

func ParseBuildProfile(value string) (BuildProfile, error)

type CheckedBody

type CheckedBody struct {
	Imports    *Imports
	DAG        *runtime.DAG
	LocalTypes map[string]typecheck.Type
}

type Composite

type Composite struct {
	Category             string
	Export               string
	Body                 syntax.FactoryBody
	Imports              []resolve.Resolution
	Libraries            map[string]*runtime.Library
	LibraryConfigSchemas map[string]runtime.LibraryConfigSchema
	AssetSetID           string
}

type Imports

type Imports struct {
	Top                  []resolve.Resolution
	Libraries            map[string]*runtime.Library
	LibraryConfigSchemas map[string]runtime.LibraryConfigSchema
	GoModules            map[string]string
	UBLibraries          []Library
	Assets               *asset.Collection
	RootAssetSetID       string
	Compatibility        *golibrary.CompatibilityContext
	LibraryMetadata      []golibrary.PackageMetadata
}

type Library

type Library struct {
	Name         string
	CanonicalKey string
	Composites   []Composite
	Specs        map[string]LibrarySpec
	SourceFiles  map[string]syntax.SourceFileSpec
}

type LibrarySpec

type LibrarySpec struct {
	Constraints map[string][]lang.ConstraintSpec
	Defaults    map[string][]lang.DefaultSpec
	Schema      *runtime.LibrarySchema
}

func (LibrarySpec) Empty

func (s LibrarySpec) Empty() bool

Jump to

Keyboard shortcuts

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