Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Fset provides source position information for syntax trees and types. // If Fset is nil, Load will use a new fileset, but preserve Fset's value. Fset *token.FileSet // C2goBase specifies base of standard c2go packages. // Default is github.com/goplus/. C2goBase string // LookupPub lookups the c2go package pubfile (named c2go.a.pub). LookupPub func(pkgPath string) (pubfile string, err error) // LookupClass lookups a class by specified file extension. LookupClass func(ext string) (c *Project, ok bool) // An Importer resolves import paths to Packages. Importer types.Importer }
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
func NewPackage ¶
NewPackage creates a Go/Go+ outline package.
Click to show internal directories.
Click to hide internal directories.