Documentation ¶
Index ¶
- Variables
- func NewEmptyTypesPackage(path string) *types.Package
- func WriteArchive(o *Output) ([]byte, error)
- func WriteInterfaces(dependencies []string, w io.Writer, merge bool)
- type Archive
- type ErrorList
- type EscapeAnalysis
- type EscapingObjectCollector
- type HasBreakVisitor
- type HasCallVisitor
- type HasDeferVisitor
- type Output
- type PkgContext
- type VarDependencyCollector
Constants ¶
This section is empty.
Variables ¶
View Source
var Prelude = ``
View Source
var ReservedKeywords = make(map[string]bool)
Functions ¶
func NewEmptyTypesPackage ¶
func WriteArchive ¶
Types ¶
type EscapeAnalysis ¶
type EscapeAnalysis struct {
// contains filtered or unexported fields
}
type EscapingObjectCollector ¶
type EscapingObjectCollector struct {
// contains filtered or unexported fields
}
type HasBreakVisitor ¶
type HasBreakVisitor struct {
// contains filtered or unexported fields
}
type HasCallVisitor ¶
type HasCallVisitor struct {
// contains filtered or unexported fields
}
type HasDeferVisitor ¶
type HasDeferVisitor struct {
// contains filtered or unexported fields
}
type Output ¶
func TranslatePackage ¶
func (*Output) AddDependenciesOf ¶
func (*Output) AddDependency ¶
type PkgContext ¶
type PkgContext struct {
// contains filtered or unexported fields
}
func (*PkgContext) CatchOutput ¶
func (c *PkgContext) CatchOutput(f func()) []byte
func (*PkgContext) Delayed ¶
func (c *PkgContext) Delayed(f func())
func (*PkgContext) Indent ¶
func (c *PkgContext) Indent(f func())
func (*PkgContext) Printf ¶
func (c *PkgContext) Printf(format string, values ...interface{})
type VarDependencyCollector ¶
type VarDependencyCollector struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.