io

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const IOType object.Type = "io"

Variables

This section is empty.

Functions

This section is empty.

Types

type IO

type IO struct{}

func NewIO

func NewIO() *IO

func (*IO) Attrs

func (i *IO) Attrs() []object.AttrSpec

func (*IO) Cost

func (i *IO) Cost() int

func (*IO) Equals

func (i *IO) Equals(other object.Object) bool

func (*IO) GetAttr

func (i *IO) GetAttr(name string) (object.Object, bool)

func (*IO) Inspect

func (i *IO) Inspect() string

func (*IO) Interface

func (i *IO) Interface() interface{}

func (*IO) IsTruthy

func (i *IO) IsTruthy() bool

func (*IO) RunOperation

func (i *IO) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*IO) SetAttr

func (i *IO) SetAttr(name string, value object.Object) error

func (*IO) String

func (i *IO) String() string

func (*IO) Type

func (i *IO) Type() object.Type

Jump to

Keyboard shortcuts

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