1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:58:34 -06:00
go/oracle
Daniel Morsing 25f58f97ce x/tools/oracle: add whicherrs query mode
The whicherrs query mode takes the position of an error and returns the set of constants, globals and types visible from within the scope of the error being queried.
It is meant to be used as a shortcut to find out which errors should be handled for a given functions call.

LGTM=adonovan
R=golang-codereviews, dominik.honnef, adonovan
CC=golang-codereviews
https://golang.org/cl/167420043
2014-12-05 15:51:34 +00:00
..
serial x/tools/oracle: add whicherrs query mode 2014-12-05 15:51:34 +00:00
testdata/src x/tools/oracle: add whicherrs query mode 2014-12-05 15:51:34 +00:00
callees.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
callers.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
callgraph.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
callstack.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
definition.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
describe.go tools: minor comment fixes. 2014-11-13 12:34:25 -05:00
freevars.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
implements.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
oracle_test.go x/tools/oracle: add whicherrs query mode 2014-12-05 15:51:34 +00:00
oracle.go x/tools/oracle: add whicherrs query mode 2014-12-05 15:51:34 +00:00
peers.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
pointsto.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
pos.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
referrers.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
TODO cmd/oracle: minor fixes. 2014-11-17 13:50:23 -05:00
what.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
whicherrs.go x/tools/oracle: add whicherrs query mode 2014-12-05 15:51:34 +00:00