tools/go
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
..
exact go.tools/go/exact: some factoring, more tests 2013-11-12 12:45:43 -08:00
gcimporter go.tools/go/types: minor cleanups 2013-11-14 21:38:04 -08:00
types go.tools/go/types: add TypeString, ObjectString utilities 2013-11-15 09:20:46 -05:00
vcs go.tools/vcs: allow compilation with go 1.0 2013-10-04 11:46:57 +10:00