frontend

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrParsing = errors.New("parse failure")

Functions

func SetArch

func SetArch(a Arch)

Types

type Arch

type Arch interface {
	Name() string
}

type FrontEnd

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

func NewFrontEnd

func NewFrontEnd(dir string, patterns ...string) *FrontEnd

func (*FrontEnd) DumpOriginalSSA

func (fe *FrontEnd) DumpOriginalSSA(fn *ir2.Func) *bytes.Buffer

func (*FrontEnd) DumpOrignalSource

func (fe *FrontEnd) DumpOrignalSource(fn *ir2.Func) (filename string, lines []string, startline int)

func (*FrontEnd) NextUnparsedFunc

func (fe *FrontEnd) NextUnparsedFunc() *ir2.Func

func (*FrontEnd) ParseFunc

func (fe *FrontEnd) ParseFunc(fn *ir2.Func)

func (*FrontEnd) Program

func (fe *FrontEnd) Program() *ir2.Program

func (*FrontEnd) Scan

func (fe *FrontEnd) Scan()

type TypeMapper

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

Jump to

Keyboard shortcuts

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