Documentation ¶
Index ¶
- func WithFileSet(fset *token.FileSet) func(*Patchwork)
- func WithLookup(lookup *lookup.Lookup) func(*Patchwork)
- type File
- func (pf *File) Append(r *lookup.Result) (ok bool, err error)
- func (pf *File) AppendOrReplace(r *lookup.Result) (ok bool, err error)
- func (pf *File) FprintCode(w io.Writer) error
- func (pf *File) Lookup(name string) *lookup.Result
- func (pf *File) LookupAllMethods(obname string) []*lookup.Result
- func (pf *File) PrintAST() error
- func (pf *File) PrintCode() error
- func (pf *File) Replace(r *lookup.Result) (ok bool, err error)
- func (pf *File) Wrap(pw *Patchwork) *File
- type Patchwork
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
File :
func (*File) AppendOrReplace ¶
AppendOrReplace : upsert
func (*File) LookupAllMethods ¶
LookupAllMethods :
Click to show internal directories.
Click to hide internal directories.