Home | History | Annotate | Download | only in importer

Lines Matching defs:For

19 // A Lookup function returns a reader to access package data for
23 // For returns an Importer for importing from installed packages
24 // for the compilers "gc" and "gccgo", or for importing directly
31 // If lookup is nil, the default package lookup mechanism for the
42 func For(compiler string, lookup Lookup) types.Importer {
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.
76 return For(runtime.Compiler, nil)