1
0
mirror of https://github.com/golang/go synced 2024-10-01 09:38:36 -06:00
The Go programming language
Go to file
Alan Donovan 0820934407 go.tools/go/types: add TypeString, ObjectString utilities
These are variants of Type.String(), Object.String() that
accept a 'from *Package' argument.  If provided, package
qualification is omitted when printing named types belonging
to that package.

This is useful for UIs where a package is implied by context
e.g. ssadump disassembly, oracle output.

+ Test.

R=gri, gri, gordon.klaus
CC=golang-dev
https://golang.org/cl/22190048
2013-11-15 09:20:46 -05:00
astutil go.tools/astutil: add AddNamedImport 2013-11-12 18:02:47 -05:00
blog go.tools/blog: strip prefix when serving static content 2013-11-08 13:28:32 +11:00
call go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
cmd go.tools/go/types: move gcimporter to its own package 2013-11-14 14:11:43 -08:00
dashboard go.tools/dashboard/builder: ignore GOPATH setting during build (on windows) 2013-11-01 11:28:31 +11:00
go go.tools/go/types: add TypeString, ObjectString utilities 2013-11-15 09:20:46 -05:00
godoc godoc: be quiet by default about bad examples 2013-11-14 09:01:08 -08:00
importer go.tools/go/types: move gcimporter to its own package 2013-11-14 14:11:43 -08:00
oracle go.tools/go/types: move gcimporter to its own package 2013-11-14 14:11:43 -08:00
playground go.tools/present: add support for non Go code execution 2013-10-14 14:14:08 -07:00
pointer go.tools/go/types: move gcimporter to its own package 2013-11-14 14:11:43 -08:00
present go.tools/present: add extension name to Code 2013-11-06 13:02:20 -08:00
ssa go.tools/ssa: fix bug in SSA lifting (!) 2013-11-14 17:33:07 -05:00
.hgignore go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
codereview.cfg go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README go.tools/README: minor correction. 2013-10-29 13:20:58 -04:00

This subrepository holds the source for various packages and tools that support
the Go programming language.

Some of the tools, godoc and vet for example, are included in binary Go distributions.
Others, including the Go oracle and the test coverage tool, can be fetched with "go get".

Packages include a type-checker for Go and an implementation of the
Static Single Assignment form (SSA) representation for Go programs.

To submit changes to this repository, see http://golang.org/doc/contribute.html.