magic

package
v0.0.0-...-e670d42 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MagicType

type MagicType struct {
	CouldBeString bool
	CouldBeInt    bool
	CouldBeFloat  bool
}

func (*MagicType) AsGoValue

func (mt *MagicType) AsGoValue() interface{}

func (*MagicType) AsStarlarkValue

func (mt *MagicType) AsStarlarkValue() starlark.Value

func (*MagicType) Attr

func (mt *MagicType) Attr(name string) (starlark.Value, error)

func (*MagicType) AttrNames

func (mt *MagicType) AttrNames() []string

func (*MagicType) Binary

func (mt *MagicType) Binary(op syntax.Token, y starlark.Value, side starlark.Side) (starlark.Value, error)

func (*MagicType) CallInternal

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

func (*MagicType) Freeze

func (mt *MagicType) Freeze()

func (*MagicType) Hash

func (mt *MagicType) Hash() (uint32, error)

func (*MagicType) Iterate

func (mt *MagicType) Iterate() starlark.Iterator

func (*MagicType) Len

func (mt *MagicType) Len() int

func (*MagicType) Name

func (mt *MagicType) Name() string

func (*MagicType) String

func (mt *MagicType) String() string

func (*MagicType) Truth

func (mt *MagicType) Truth() starlark.Bool

func (*MagicType) Type

func (mt *MagicType) Type() string

Jump to

Keyboard shortcuts

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