Also, add loader.Config.DisplayPath hook, which allows the filename returned by build.Context.Import() to be transformed prior to attaching to the AST. This allows a virtual file system to be used without leaking into the user interface. Eliminate parsePackageFiles hook; I don't think we need it any more. The test that was using it has been rewritten to use the build.Context hooks. LGTM=gri R=gri, crawshaw CC=daniel.morsing, golang-codereviews, rsc https://golang.org/cl/75520046 |
||
|---|---|---|
| .. | ||
| callgraph | ||
| exact | ||
| gccgoimporter | ||
| gcimporter | ||
| importer | ||
| loader | ||
| pointer | ||
| ssa | ||
| types | ||
| vcs | ||