• Home
  • Raw
  • Download

Lines Matching refs:GoImportPath

98 type GoImportPath string  type
100 func (p GoImportPath) String() string { return strconv.Quote(string(p)) }
117 func (c *common) GoImportPath() GoImportPath { func
275 importPath GoImportPath // Import path of this file's package.
293 func (d *FileDescriptor) goPackageOption() (impPath GoImportPath, pkg GoPackageName, ok bool) {
301 return GoImportPath(opt[:sc]), cleanPackageName(opt[sc+1:]), true
306 return GoImportPath(opt), cleanPackageName(opt[slash+1:]), true
396 GoImportPath() GoImportPath methodSpec
415 outputImportPath GoImportPath // Package we're generating code for.
420 packageNames map[GoImportPath]GoPackageName // Imported package names in the current file.
421 usedPackages map[GoImportPath]bool // Packages used in current file.
423 addedImports map[GoImportPath]bool // Additional imports to emit.
525 importPath := obj.GoImportPath()
533 func (g *Generator) GoPackageName(importPath GoImportPath) GoPackageName {
548 func (g *Generator) AddImport(importPath GoImportPath) GoPackageName {
669 defaultPackageNames := make(map[GoImportPath]GoPackageName)
741 fd.importPath = GoImportPath(substitution)
747 fd.importPath = GoImportPath(g.PackageImportPath)
757 fd.importPath = GoImportPath(path.Dir(f.GetName()))
1015 case GoImportPath:
1126 g.usedPackages = make(map[GoImportPath]bool)
1127 g.packageNames = make(map[GoImportPath]GoPackageName)
1129 g.addedImports = make(map[GoImportPath]bool)
1287 imports := make(map[GoImportPath]GoPackageName)
1321 g.P(g.Pkg["proto"]+" ", GoImportPath(g.ImportPrefix)+"github.com/golang/protobuf/proto")
1323 g.P(packageName, " ", GoImportPath(g.ImportPrefix)+importPath)
1662 importPath := g.ObjectNamed(t).GoImportPath()