Home | History | Annotate | Download | only in importer

Lines Matching defs:importer

5 // Package importer provides access to export data importers.
6 package importer
23 // For returns an Importer for importing from installed packages
32 // given compiler is used, and the resulting importer attempts
36 // If lookup is non-nil, then the returned importer calls lookup
38 // the importer can only be invoked with canonical import paths
41 // importer.
42 func For(compiler string, lookup Lookup) types.Importer {
57 importer: inst.GetImporter(nil, nil),
63 panic("source importer for custom import path lookup not supported (issue #13847).")
73 // Default returns an Importer for the compiler that built the running binary.
75 func Default() types.Importer {
79 // gc importer
97 // gccgo importer
101 importer gccgoimporter.Importer
113 return m.importer(m.packages, path, srcDir, m.lookup)