methodset

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Method

type Method struct {
	Name        string
	ArgNames    []string
	ArgTypes    []Type
	ResultTypes []Type
	IsVariadic  bool
}

Method ...

type MethodSet

type MethodSet struct {
	PackagePattern  string
	TypeName        string
	Methods         []Method
	PackageName     string
	PackagePath     string
	ImportPath      string
	TypeIsInterface bool
}

MethodSet ...

func (*MethodSet) ParseType

func (ms *MethodSet) ParseType(context *ParseContext, packagePattern string, typeName string) error

ParseType ...

type PackageBasicInfo

type PackageBasicInfo struct {
	Name       string
	Path       string
	ImportPath string
}

PackageBasicInfo ...

type ParseContext

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

ParseContext ...

func (*ParseContext) FileSet

func (pc *ParseContext) FileSet() *token.FileSet

FileSet ...

func (*ParseContext) Init

func (pc *ParseContext) Init() *ParseContext

Init ...

type Type

type Type struct {
	Format            string
	PackageBasicInfos []PackageBasicInfo
}

Type ...

Jump to

Keyboard shortcuts

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