queuecoll

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

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

func NewQueue

func NewQueue(ctx *core.Context, elements core.Iterable) *Queue

func (*Queue) Dequeue

func (s *Queue) Dequeue(ctx *core.Context) (core.Value, core.Bool)

func (*Queue) Enqueue

func (s *Queue) Enqueue(ctx *core.Context, elem core.Value)

func (*Queue) Equal

func (q *Queue) Equal(ctx *core.Context, other core.Value, alreadyCompared map[uintptr]uintptr, depth int) bool

func (*Queue) GetGoMethod

func (q *Queue) GetGoMethod(name string) (*core.GoFunction, bool)

func (*Queue) IsMutable

func (q *Queue) IsMutable() bool

func (*Queue) Iterator

func (s *Queue) Iterator(ctx *core.Context, config core.IteratorConfiguration) core.Iterator

func (*Queue) Peek

func (q *Queue) Peek(ctx *core.Context) (core.Value, core.Bool)

func (*Queue) PrettyPrint

func (q *Queue) PrettyPrint(w *bufio.Writer, config *core.PrettyPrintConfig, depth int, parentIndentCount int)

func (*Queue) Prop

func (q *Queue) Prop(ctx *core.Context, name string) core.Value

func (*Queue) PropertyNames

func (*Queue) PropertyNames(ctx *core.Context) []string

func (*Queue) SetProp

func (*Queue) SetProp(ctx *core.Context, name string, value core.Value) error

func (*Queue) ToSymbolicValue

func (q *Queue) ToSymbolicValue(ctx *core.Context, encountered map[uintptr]symbolic.Value) (symbolic.Value, error)

Jump to

Keyboard shortcuts

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