mirror of
https://github.com/golang/go
synced 2024-11-18 15:04:44 -07:00
9ae7e1769c
We define a derived mode of compilation-mode, so that various names say "guru" instead of "compilation", and use the hooks it provides to apply our postprocessing incrementally instead of all at the end. It's much faster, and works nicely with the new streaming referrers query. Compilation mode requires a shell command, not an execve array, so go-guru--compile-command joins the arguments with spaces. go-guru--exec has been specialized for JSON mode, and renamed to go-guru--json. go-guru--set-scope-if-empty is now done by each mode, to avoid the NEED-SCOPE parameter to go-guru--exec. Change-Id: I692b8b28449b7cc17fd6251a152588f9d8b89ebc Reviewed-on: https://go-review.googlesource.com/21772 Reviewed-by: Dominik Honnef <dominik@honnef.co> Reviewed-by: Alan Donovan <adonovan@google.com> |
||
---|---|---|
.. | ||
serial | ||
testdata/src | ||
callees.go | ||
callers.go | ||
callstack.go | ||
definition.go | ||
describe.go | ||
emacs-test.bash | ||
freevars.go | ||
go-guru.el | ||
guru_test.go | ||
guru.go | ||
guru.vim | ||
implements.go | ||
main.go | ||
peers.go | ||
pointsto.go | ||
pos.go | ||
referrers.go | ||
what.go | ||
whicherrs.go |