migoinfer

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inferer

type Inferer struct {
	Env       migoinfer.Environment // Program environment.
	Info      *ssa.Info             // SSA IR.
	MiGo      *migo.Program         // MiGo program.
	EntryFunc string

	Raw bool

	*migoinfer.Logger
	// contains filtered or unexported fields
}

Inferer is the main MiGo inference entry point.

func New

func New(info *ssa.Info, w io.Writer) *Inferer

New returns a new Inferer, and uses w for logging messages.

func (*Inferer) AddLogFiles

func (i *Inferer) AddLogFiles(file ...string)

AddLogFiles extends current Logger and writes additional log to files.

func (*Inferer) Analyse

func (i *Inferer) Analyse()

func (*Inferer) SetEntryFunc

func (i *Inferer) SetEntryFunc(path string)

func (*Inferer) SetOutput

func (i *Inferer) SetOutput(w io.Writer)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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