Versions in this module Expand all Collapse all v0 v0.0.3 Feb 5, 2020 Changes in this version + var Star = map[string]starlark.Value + func AddPackages(packages map[string]map[string]starlark.Value) + func Require(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (v starlark.Value, err error) + func RunScript(file string) (err error) + func ValidateArgs(types []starlark.Value, args starlark.Tuple) (values []interface{}, err error) + type ByteArray struct + func (ba ByteArray) Freeze() + func (ba ByteArray) Hash() (uint32, error) + func (ba ByteArray) Iterate() starlark.Iterator + func (ba ByteArray) Len() int + func (ba ByteArray) String() string + func (ba ByteArray) Truth() starlark.Bool + func (ba ByteArray) Type() string + type Channel struct + func (c Channel) Attr(name string) (v starlark.Value, err error) + func (c Channel) AttrNames() []string + func (c Channel) Freeze() + func (c Channel) Hash() (uint32, error) + func (c Channel) String() string + func (c Channel) Truth() starlark.Bool + func (c Channel) Type() string + type Error struct + func (e Error) Attr(name string) (v starlark.Value, err error) + func (err Error) AttrNames() []string + func (err Error) Freeze() + func (err Error) Hash() (uint32, error) + func (err Error) String() string + func (err Error) Truth() starlark.Bool + func (err Error) Type() string + type Function struct + Args []starlark.Value + Call func([]interface{}) []interface{} + FunctionName string + Returns []starlark.Value + func (f Function) Builtin() *starlark.Builtin + func (f Function) CallInternal(thread *starlark.Thread, args starlark.Tuple, kwargs []starlark.Tuple) (v starlark.Value, err error) + func (f Function) Freeze() + func (f Function) Hash() (uint32, error) + func (f Function) Name() string + func (f Function) String() string + func (f Function) Truth() starlark.Bool + func (f Function) Type() string + type Interface struct + Methods map[string]Method + Name string + Value interface{} + func (i Interface) Attr(name string) (v starlark.Value, err error) + func (i Interface) AttrNames() []string + func (i Interface) Freeze() + func (i Interface) Hash() (uint32, error) + func (i Interface) String() string + func (i Interface) Truth() starlark.Bool + func (i Interface) Type() string + type Method struct + Args []starlark.Value + Call MethodCall + Returns []starlark.Value + type MethodCall func(interface{}, []interface{}) []interface + type Struct struct + Attributes map[string]starlark.Value + Initialize func() interface{} + Methods map[string]Method + Print func(interface{}) string + TypeName string + Value interface{} + func (s Struct) Attr(name string) (v starlark.Value, err error) + func (s Struct) AttrNames() []string + func (s Struct) CallInternal(thread *starlark.Thread, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error) + func (s Struct) Freeze() + func (s Struct) Hash() (uint32, error) + func (s Struct) Name() string + func (s Struct) String() string + func (s Struct) Truth() starlark.Bool + func (s Struct) Type() string + type ValueSetter interface + GetValue func() (v interface{}) + SetValue func(v interface{})