Documentation
¶
Overview ¶
Package parser turns Go code into model.Code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// TargetPackage is the name or path of the package
// that becomes the point of view for type names.
// If empty or the same package, types will not be qualified,
// otherwise they will include the package name.
TargetPackage string
// contains filtered or unexported fields
}
Parser parses source code and generates a model.Code.
Click to show internal directories.
Click to hide internal directories.