Documentation ¶
Overview ¶
Package parser provides code to parse go files, type-check them, extract the types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder lets you add all the go files in all the packages that you care about, then constructs the type source data.
func (*Builder) AddDir ¶
AddDir adds an entire directory, scanning it for go files. 'dir' should have a single go package in it. GOPATH, GOROOT, and the location of your go binary (`which go`) will all be searched if dir doesn't literally resolve.
Click to show internal directories.
Click to hide internal directories.