parse

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Name() string
	IsExported() bool
	File() string
	TypeParameters() []Type
	Methods() []Method
}

type Method

type Method interface {
	Name() string
	IsExported() bool
	Parameters() []Value
	Results() []Value
	Variadic() bool
}

type Package

type Package interface {
	Name() string
	PkgPath() string
	ModPath() string
	Interfaces() ([]Interface, error)
}

func LoadPackages

func LoadPackages(patterns []string, dir string) ([]Package, error)

type Type

type Type interface {
	Name() string
	Constraint() types.Type
}

type Value

type Value interface {
	Name() string
	Type() types.Type
}

Jump to

Keyboard shortcuts

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