internal

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decl added in v1.0.6

type Decl struct {
	File         *File
	ReceiverDecl *Decl

	Name string
}

func (Decl) QualifiedName added in v1.0.6

func (d Decl) QualifiedName() string

func (Decl) UID added in v1.0.6

func (decl Decl) UID() string

type File

type File struct {
	Package *Package

	FileName string
	AbsPath  string

	Imports map[string]*Import
	Decls   map[string]*Decl

	IsStub        bool
	InImportCycle bool
}

func (File) HasDecl added in v1.0.6

func (f File) HasDecl(decl *Decl) bool

func (File) ReferencedFiles added in v1.0.6

func (f File) ReferencedFiles() []*File

func (File) UID added in v1.0.6

func (f File) UID() string

type Import added in v1.0.6

type Import struct {
	Package *Package

	Name string
	Path string

	ReferencedTypes map[string]*Decl

	InImportCycle          bool
	ReferencedFilesInCycle map[string]*File
}

func (Import) UID added in v1.0.6

func (i Import) UID() string

type Package added in v1.0.6

type Package struct {
	DirName string

	ModulePath string
	ModuleRoot string
	Name       string

	Files map[string]*File

	IsStub        bool
	InImportCycle bool
}

func (Package) ImportPath added in v1.0.6

func (pkg Package) ImportPath() string

func (Package) ModuleRelativePath added in v1.0.6

func (pkg Package) ModuleRelativePath() string

func (Package) UID added in v1.0.6

func (pkg Package) UID() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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