internal

package
v0.0.0-...-5f4d853 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(iterable starlark.Iterable, target starlark.Value) bool

Contains checks if a starlark.Iterable contains an element

func UnpackKwargs

func UnpackKwargs(fnname string, kwargs []starlark.Tuple, pairs ...interface{}) error

UnpackKwargs copied from go.starlark.net@v0.0.0-20220328144851-d1966c6b9fcd/starlark/unpack.go:93:6

func UnpackOneArg

func UnpackOneArg(v starlark.Value, ptr interface{}) error

UnpackOneArg copied from ~/.go/pkg/mod/go.starlark.net@v0.0.0-20220328144851-d1966c6b9fcd/starlark/unpack.go:217:15

func UnpackPositionalVarargs

func UnpackPositionalVarargs(fnname string, args starlark.Tuple, argTypeBin interface{}) (posargs []starlark.Value, err error)

UnpackPositionalVarargs unpacks all positional varargs and returns them, pass an `argTypeBin` if you want to have runtime type-checking, pass `starlark.None` if you don't want to force all varargs to a specific type

func UnpackPositionalVarargsString

func UnpackPositionalVarargsString(fnname string, args starlark.Tuple) (posargs []string, err error)

UnpackPositionalVarargsString unpacks all positional varargs and returns them, pass an `argTypeBin` if you want to have runtime type-checking, pass `starlark.None` if you don't want to force all varargs to a specific type

Types

This section is empty.

Jump to

Keyboard shortcuts

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