Documentation
¶
Index ¶
- func BuildDir(ctx *igop.Context, dir string) (data []byte, err error)
- func BuildFSDir(ctx *igop.Context, fs parser.FileSystem, dir string) (data []byte, err error)
- func BuildFile(ctx *igop.Context, filename string, src interface{}) (data []byte, err error)
- func ClassKind(fname string) (isProj, ok bool)
- func RegisterClassFileType(ext string, class string, works []*Class, pkgPaths ...string)
- func RegisterPackagePatch(ctx *igop.Context, path string, src interface{}) error
- type Class
- type Context
- type Package
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFSDir ¶
func RegisterClassFileType ¶
Types ¶
type Context ¶
type Context struct { Context *igop.Context FileSet *token.FileSet Importer *igop.Importer Loader igop.Loader // contains filtered or unexported fields }
func NewContext ¶
func (*Context) ParseFSDir ¶
type Package ¶
func (*Package) ForEachFile ¶ added in v0.38.0
Click to show internal directories.
Click to hide internal directories.