Lines Matching defs:GeneratedFile
914 type GeneratedFile struct { struct
915 gen *Plugin
916 skip bool
917 filename string
918 goImportPath GoImportPath
919 buf bytes.Buffer
920 packageNames map[GoImportPath]GoPackageName
921 usedPackageNames map[GoPackageName]bool
922 manualImports map[GoImportPath]bool
923 annotations map[string][]Location
951 func (g *GeneratedFile) P(v ...interface{}) {
968 func (g *GeneratedFile) QualifiedGoIdent(ident GoIdent) string {
989 func (g *GeneratedFile) Import(importPath GoImportPath) {
994 func (g *GeneratedFile) Write(p []byte) (n int, err error) {
999 func (g *GeneratedFile) Skip() {
1005 func (g *GeneratedFile) Unskip() {
1015 func (g *GeneratedFile) Annotate(symbol string, loc Location) {
1020 func (g *GeneratedFile) Content() ([]byte, error) {
1111 func (g *GeneratedFile) metaFile(content []byte) (string, error) {