composers

package
v0.0.0-...-e95280a Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Create() Builder
	WithLinker(linker linkers.Linker) Builder
	WithStackFrame(stackFrame stackframes.StackFrame) Builder
	Now() (Composer, error)
}

Builder represents a composer builder

func NewBuilder

func NewBuilder() Builder

NewBuilder creates a new composer builder

type Composer

type Composer interface {
	Receive(command commands.Command) error
	Now() (linkers.Application, error)
}

Composer represents a composer

type InstructionAdapter

type InstructionAdapter interface {
	Test(ins command_tests.Instruction) ([]parsers.TestInstruction, error)
	Label(ins command_labels.Instruction) ([]parsers.LabelInstruction, error)
	Application(ins command_mains.Instruction) ([]parsers.Instruction, error)
}

InstructionAdapter represents an instruction adapter

type InstructionAdapterBuilder

type InstructionAdapterBuilder interface {
	Create() InstructionAdapterBuilder
	WithLocalStackFrame(localStackFrame stackframes.StackFrame) InstructionAdapterBuilder
	WithStackFrame(stackFrame stackframes.StackFrame) InstructionAdapterBuilder
	Now() (InstructionAdapter, error)
}

InstructionAdapterBuilder represents an instruction adapter builder

func NewInstructionAdapterBuilder

func NewInstructionAdapterBuilder() InstructionAdapterBuilder

NewInstructionAdapterBuilder creates a new instruction adapter builder

Jump to

Keyboard shortcuts

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