internal

package
v0.0.0-...-843c31c Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builtin

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

func MakeBuiltin

func MakeBuiltin(name string, fn BuiltinFn) Builtin

func (Builtin) CallInternal

func (b Builtin) CallInternal(thread *starlark.Thread, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (Builtin) Freeze

func (b Builtin) Freeze()

func (Builtin) Hash

func (b Builtin) Hash() (uint32, error)

func (Builtin) Name

func (b Builtin) Name() string

func (Builtin) String

func (b Builtin) String() string

func (Builtin) Truth

func (b Builtin) Truth() starlark.Bool

func (Builtin) Type

func (b Builtin) Type() string

type Method

type Method struct {
	Builtin
	// contains filtered or unexported fields
}

func MakeMethod

func MakeMethod(recv starlark.Value, name string, fn BuiltinFn) Method

func (Method) CallInternal

func (m Method) CallInternal(thread *starlark.Thread, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (Method) String

func (m Method) String() string

func (Method) Type

func (m Method) Type() string

Jump to

Keyboard shortcuts

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