glu

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrForbidAbsolute = errors.New("writing on an absolute path is forbidden")
	ErrCast           = errors.New("not expected type")
)
View Source
var GeneratedFileNames []string

mutex not needed

Functions

func ConvertToGoBaseType added in v1.2.0

func ConvertToGoBaseType(value starlark.Value) any

func ConvertToString added in v1.2.0

func ConvertToString(value starlark.Value) string

Types

type Coder added in v1.2.0

type Coder interface {
	Code() jen.Code
}

type WrappedType added in v1.2.0

type WrappedType struct {
	// contains filtered or unexported fields
}

func MakeWrappedType added in v1.2.0

func MakeWrappedType(name string, methods ...*starlark.Builtin) WrappedType

type Wrapper added in v1.2.0

type Wrapper struct {
	Inner any
	WType *WrappedType
}

func (Wrapper) Attr added in v1.2.0

func (w Wrapper) Attr(name string) (starlark.Value, error)

func (Wrapper) AttrNames added in v1.2.0

func (w Wrapper) AttrNames() []string

func (Wrapper) Code added in v1.2.0

func (w Wrapper) Code() jen.Code

func (Wrapper) Freeze added in v1.2.0

func (w Wrapper) Freeze()

func (Wrapper) Hash added in v1.2.0

func (w Wrapper) Hash() (uint32, error)

func (Wrapper) String added in v1.2.0

func (w Wrapper) String() string

func (Wrapper) Truth added in v1.2.0

func (w Wrapper) Truth() starlark.Bool

func (Wrapper) Type added in v1.2.0

func (w Wrapper) Type() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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