options

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package options specifies options for packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageOption

type PackageOption interface {
	Package() string
}

PackageOption is an option specific to a package.

type PackageOptionFactory

type PackageOptionFactory func(platform.Platform) PackageOption

PackageOptionFactory creates options given a backend.

type PackageVarSetValue

type PackageVarSetValue struct {
	// Pck is the package owning the variable.
	Pkg string
	// Index of the variable in the package definition.
	Var string
	// Value of the static variable for the compiler.
	Value values.Value
}

PackageVarSetValue sets the value of a package level static variable.

func (PackageVarSetValue) Package

func (p PackageVarSetValue) Package() string

Package for which the option has been built.

Jump to

Keyboard shortcuts

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