1
0
mirror of https://github.com/golang/go synced 2024-10-01 16:38:34 -06:00
go/ssa/interp
Alan Donovan 20029fe5f7 go.tools/ssa: utility functions mapping source intervals to ast.Nodes.
PathEnclosingInterval: 	maps a source position to an ast.Node.
EnclosingFunction:   	finds ssa.Function enclosing an ast.Node.
HasEnclosingFunction:   cheaper impl of EnclosingFunction()!=nil
NodeDescription:        user friendly node type descriptions.

+ tests.

Also: make ssa.Package.TypeInfo field a pointer.

R=gri, r
CC=golang-dev
https://golang.org/cl/9639045
2013-05-28 15:28:46 -04:00
..
testdata go.tools/ssa: add support for bound-method closures. 2013-05-22 17:56:18 -04:00
external_plan9.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
external_unix.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
external_windows.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
external.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
interp_test.go go.tools/ssa: utility functions mapping source intervals to ast.Nodes. 2013-05-28 15:28:46 -04:00
interp.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00
map.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
ops.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00
reflect.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00
value.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00