parser

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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetArch

func SetArch(a Arch)

Types

type Arch

type Arch interface {
	Name() string
}

type Parser

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

func NewParser

func NewParser(dir string, patterns ...string) *Parser

func (*Parser) DumpOriginalSSA

func (p *Parser) DumpOriginalSSA(fn *ir.Func) *bytes.Buffer

func (*Parser) DumpOrignalSource

func (p *Parser) DumpOrignalSource(fn *ir.Func) (filename string, lines []string, startline int)

func (*Parser) NextUnparsedFunc

func (p *Parser) NextUnparsedFunc() *ir.Func

func (*Parser) Package

func (p *Parser) Package() *ir.Package

func (*Parser) ParseFunc

func (p *Parser) ParseFunc(fn *ir.Func)

func (*Parser) Scan

func (p *Parser) Scan()

Jump to

Keyboard shortcuts

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