tools/go
Peter Collingbourne d3e7567302 go/loader: introduce PackageCreated hook
PackageCreated is a hook called when a types.Package
is created but before it has been populated.

The package's import Path() and Scope() are defined,
but not its Name() since no package declaration has
been seen yet.

Clients may use this to insert synthetic items into
the package scope, for example.

Change-Id: I210a0c4c766f03f715f03f26d5cd765f15f56e04
Reviewed-on: https://go-review.googlesource.com/2138
Reviewed-by: Alan Donovan <adonovan@google.com>
2015-01-13 15:48:33 +00:00
..
ast/astutil astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00
buildutil tools: add import comments. 2014-12-09 22:42:16 +00:00
callgraph tools: add import comments. 2014-12-09 22:42:16 +00:00
exact tools: add import comments. 2014-12-09 22:42:16 +00:00
gccgoimporter tools: add import comments. 2014-12-09 22:42:16 +00:00
gcimporter tools: add import comments. 2014-12-09 22:42:16 +00:00
importer tools: add import comments. 2014-12-09 22:42:16 +00:00
loader go/loader: introduce PackageCreated hook 2015-01-13 15:48:33 +00:00
pointer go/types: modify Eval, EvalNode to return a TypeAndValue 2014-12-30 17:21:45 +00:00
ssa astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00
types astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00
vcs go/vcs: fix bug in remote package discovery 2015-01-10 08:10:09 +00:00