iterspec

package
v0.0.0-...-190864c Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type IterSpec

type IterSpec interface {
	Next()
	Cont() bool
	GetCurr() expreduceapi.Ex
	// contains filtered or unexported methods
}

func SpecFromList

func SpecFromList(
	es expreduceapi.EvalStateInterface,
	listEx expreduceapi.Ex,
) (IterSpec, bool)

type MultiIterSpec

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

func MultiSpecFromLists

func MultiSpecFromLists(
	es expreduceapi.EvalStateInterface,
	lists []expreduceapi.Ex,
) (mis MultiIterSpec, isOk bool)

func (*MultiIterSpec) Cont

func (mis *MultiIterSpec) Cont() bool

func (*MultiIterSpec) CurrentPDManager

func (mis *MultiIterSpec) CurrentPDManager() *matcher.PDManager

func (*MultiIterSpec) DefineCurrent

func (mis *MultiIterSpec) DefineCurrent(es expreduceapi.EvalStateInterface)

func (*MultiIterSpec) Next

func (mis *MultiIterSpec) Next()

func (*MultiIterSpec) RestoreVarSnapshot

func (mis *MultiIterSpec) RestoreVarSnapshot(
	es expreduceapi.EvalStateInterface,
)

func (*MultiIterSpec) TakeVarSnapshot

func (mis *MultiIterSpec) TakeVarSnapshot(es expreduceapi.EvalStateInterface)

Jump to

Keyboard shortcuts

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