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.
Click to show internal directories.
Click to hide internal directories.