dwarf

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RuntimeExclude = FilterMode{/* contains filtered or unexported fields */}
	SelfInclude    = FilterMode{/* contains filtered or unexported fields */}
)

Functions

This section is empty.

Types

type ArgsMeta

type ArgsMeta struct {
	Order int
	Name  string
	Typ   reflect.Type
}

func (*ArgsMeta) String

func (m *ArgsMeta) String() string

type DwarfMaker

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

func NewDwarfMaker

func NewDwarfMaker() *DwarfMaker

func NewDwarfMakerWithMode

func NewDwarfMakerWithMode(mode FilterMode) *DwarfMaker

func (*DwarfMaker) AddExclude

func (h *DwarfMaker) AddExclude(pkg string) bool

func (*DwarfMaker) AddIncludeRegex

func (h *DwarfMaker) AddIncludeRegex(pkg string) bool

func (*DwarfMaker) Init

func (h *DwarfMaker) Init(exe *string)

func (*DwarfMaker) LookFun

func (h *DwarfMaker) LookFun(inf interface{}) (*MethodMeta, error)

func (*DwarfMaker) SetFilterMode

func (h *DwarfMaker) SetFilterMode(mode FilterMode)

func (*DwarfMaker) UsedMode

func (h *DwarfMaker) UsedMode() FilterMode

type FilterMode

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

func (*FilterMode) Mode

func (f *FilterMode) Mode() Mode

type MethodMeta

type MethodMeta struct {
	MethodName string
	Args       []ArgsMeta
	Ret        []ArgsMeta
}

func (*MethodMeta) String

func (m *MethodMeta) String() string

type Mode

type Mode int
const (
	RuntimePackageMode Mode = 1
	IncludeMode        Mode = 2
)

type Params

type Params []string

Jump to

Keyboard shortcuts

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