ircomp

package
v0.0.0-...-e0b5347 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompilationPanic

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

func (*CompilationPanic) Error

func (p *CompilationPanic) Error() string

type ConstantCompiler

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

func NewConstantCompiler

func NewConstantCompiler(constants []ir.Constant, cc *code.Builder) *ConstantCompiler

func (*ConstantCompiler) CompileQueue

func (kc *ConstantCompiler) CompileQueue() (unit *code.Unit, err error)

func (*ConstantCompiler) GetConstant

func (kc *ConstantCompiler) GetConstant(ki uint) ir.Constant

func (*ConstantCompiler) ProcessBool

func (kc *ConstantCompiler) ProcessBool(k ir.Bool)

ProcessBool compiles a Bool.

func (*ConstantCompiler) ProcessCode

func (kc *ConstantCompiler) ProcessCode(c ir.Code)

ProcessCode compiles a Code.

func (*ConstantCompiler) ProcessFloat

func (kc *ConstantCompiler) ProcessFloat(k ir.Float)

ProcessFloat compiles a Float.

func (*ConstantCompiler) ProcessInt

func (kc *ConstantCompiler) ProcessInt(k ir.Int)

ProcessInt compiles a Int.

func (*ConstantCompiler) ProcessNil

func (kc *ConstantCompiler) ProcessNil(k ir.NilType)

ProcessNil compiles a Nil.

func (*ConstantCompiler) ProcessString

func (kc *ConstantCompiler) ProcessString(k ir.String)

ProcessString compiles a String.

func (*ConstantCompiler) QueueConstant

func (kc *ConstantCompiler) QueueConstant(ki uint) int

Jump to

Keyboard shortcuts

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