Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Emitter ¶
type Emitter struct { Prog *loader.Program Resolver *nameresolve.Resolver PkgInfo *loader.PackageInfo Opener multifile.Opener // options Format func(r io.Reader, w io.Writer) error }
Emitter :
func (*Emitter) EmitCreated ¶
func (e *Emitter) EmitCreated(info *loader.PackageInfo) error
EmitCreated :
type File ¶
type File struct { Prog *loader.Program PkgInfo *loader.PackageInfo Resolver *nameresolve.File Out *indent.Output // contains filtered or unexported fields }
File :
func (*File) CreateCaptureImportDetector ¶
func (f *File) CreateCaptureImportDetector() *typesutil.PackageDetector
CreateCaptureImportDetector :
type Planner ¶
type Planner struct { Pkg *types.Package Config *loader.Config Files map[string]*PlanningFile Opener multifile.Opener // options Format func(r io.Reader, w io.Writer) error TypeCheck bool }
Planner :
type PlanningFile ¶
type PlanningFile struct { Filename string Root *Planner Setups []func(*File) error Actions []func(*File) error // contains filtered or unexported fields }
PlanningFile :
func (*PlanningFile) ImportWithName ¶
func (f *PlanningFile) ImportWithName(path string, name string)
ImportWithName :
Click to show internal directories.
Click to hide internal directories.