mirror of
https://github.com/golang/go
synced 2024-11-18 18:54:42 -07:00
4d628a0312
A Builder is now just a Program and a Context. Details of this CL: - Builder.imp field removed. - Builder.globals split up into Package.values and Prog.Builtins. - Builder.packages moved to Prog.packages. - Builder.PackageFor moved to Program.Package(types.Object) - Program.Lookup() func replaces Builder.globals map. - also: keep Package.info field around until end of BuildPackage. Planned follow-ups to eliminate Builder from API: - split NewBuilder up into NewProgram and Program.CreatePackages(...) - move Builder.BuildAllPackages -> Program.BuildAll(Context) - move Builder.BuildPackage -> Package.Build(Context) R=gri, iant CC=golang-dev https://golang.org/cl/9966044 |
||
---|---|---|
.. | ||
interp | ||
blockopt.go | ||
builder.go | ||
doc.go | ||
dom.go | ||
emit.go | ||
example_test.go | ||
func.go | ||
lift.go | ||
literal.go | ||
lvalue.go | ||
print.go | ||
promote.go | ||
sanity.go | ||
source_ast.go | ||
source_test.go | ||
source.go | ||
ssa.go | ||
ssadump.go | ||
util.go |