Versions in this module Expand all Collapse all v0 v0.1.0 Sep 5, 2026 Changes in this version + const FinalName + var PositionNames = []string + var Predeclared = starlark.StringDict + var PredefinedNames = []string + func Format(spec string, args []starlark.Value) (string, error) + func FormatArgs(value starlark.Value) []starlark.Value + func IsPredeclared(name string) bool + func IsReserved(name string) bool + func IsUniversal(name string) bool + func Str(value starlark.Value) string + func Strftime(when gotime.Time, spec string) string + func Truth(value starlark.Value) bool + type Decimal struct + Val decimal.Decimal + func NewDecimal(dec decimal.Decimal) Decimal + func ParseDecimal(text string) (Decimal, error) + func (dec Decimal) BigInt() *big.Int + func (dec Decimal) Binary(op syntax.Token, operand starlark.Value, side starlark.Side) (starlark.Value, error) + func (dec Decimal) CompareSameType(op syntax.Token, operand starlark.Value, depth int) (bool, error) + func (dec Decimal) Float() float64 + func (dec Decimal) Freeze() + func (dec Decimal) Hash() (uint32, error) + func (dec Decimal) Neg() starlark.Value + func (dec Decimal) Quantize(places int32) Decimal + func (dec Decimal) String() string + func (dec Decimal) Truth() starlark.Bool + func (dec Decimal) Type() string + func (dec Decimal) Unary(op syntax.Token) (starlark.Value, error) + type Namespace struct + func NewNamespace(name string, values map[string]starlark.Value) *Namespace + func (ns *Namespace) Attr(name string) (starlark.Value, error) + func (ns *Namespace) AttrNames() []string + func (ns *Namespace) Freeze() + func (ns *Namespace) Hash() (uint32, error) + func (ns *Namespace) String() string + func (ns *Namespace) Truth() starlark.Bool + func (ns *Namespace) Type() string + type Program struct + FinalNames []string + Params []string + Source string + UsesFinal bool + UsesPosition bool + Where string + func Compile(where, source string) (*Program, error) + func (program *Program) Call(thread *starlark.Thread, args []starlark.Value) (starlark.Value, error) + type Record struct + func NewRecord(keys []string, values map[string]starlark.Value) *Record + func (record *Record) Attr(name string) (starlark.Value, error) + func (record *Record) AttrNames() []string + func (record *Record) Freeze() + func (record *Record) Get(keyValue starlark.Value) (starlark.Value, bool, error) + func (record *Record) Hash() (uint32, error) + func (record *Record) Keys() []string + func (record *Record) String() string + func (record *Record) Truth() starlark.Bool + func (record *Record) Type() string