insmgr

package
v0.0.0-...-505ff0c Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAllIns

func ReadAllIns(reader io.Reader) []instructions.Instruction

func SortAll

func SortAll(r io.Reader, w io.Writer)

func SortIns

func SortIns(ins []instructions.Instruction)

func YieldAll

func YieldAll(mgr InstructionMgr, ins []instructions.Instruction)

Types

type HashCollectorMgr

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

func NewHashCollectorMgr

func NewHashCollectorMgr(inverted bool) *HashCollectorMgr

func (HashCollectorMgr) Result

func (o HashCollectorMgr) Result() map[string]string

func (HashCollectorMgr) SubmitIns

func (o HashCollectorMgr) SubmitIns(instruction instructions.Instruction)

type InstructionMgr

type InstructionMgr interface {
	SubmitIns(instruction instructions.Instruction)
}

func NewOutputInsMgr

func NewOutputInsMgr(out io.Writer) InstructionMgr

type InstructionYield

type InstructionYield interface {
	InstructionYield(instMgr InstructionMgr)
}

func NewYieldSingle

func NewYieldSingle(yields instructions.Instruction) InstructionYield

type OutputInsMgr

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

func (OutputInsMgr) SubmitIns

func (o OutputInsMgr) SubmitIns(instruction instructions.Instruction)

type SortableInstructions

type SortableInstructions struct {
	instructions.Instruction
	// contains filtered or unexported fields
}

type SortableInstructionsHolder

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

func (SortableInstructionsHolder) Len

func (SortableInstructionsHolder) Less

func (s SortableInstructionsHolder) Less(i, j int) bool

func (SortableInstructionsHolder) Swap

func (s SortableInstructionsHolder) Swap(i, j int)

Jump to

Keyboard shortcuts

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