1
0
mirror of https://github.com/golang/go synced 2024-09-30 10:38:33 -06:00
go/ssa
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
..
interp go.tools/ssa: utility functions mapping source intervals to ast.Nodes. 2013-05-28 15:28:46 -04:00
blockopt.go go.tools: add missing files ssa/*.go 2013-05-17 13:25:48 -07:00
builder.go go.tools/ssa: utility functions mapping source intervals to ast.Nodes. 2013-05-28 15:28:46 -04:00
doc.go code.google.com/p/go.tools/ssa: include ssa.Package and init() function in example output. 2013-05-17 17:33:09 -04:00
dom.go go.tools: add missing files ssa/*.go 2013-05-17 13:25:48 -07:00
emit.go go.tools/ssa: add support for bound-method closures. 2013-05-22 17:56:18 -04:00
example_test.go go.tools/ssa: add support for bound-method closures. 2013-05-22 17:56:18 -04:00
func.go go.tools/ssa: add support for bound-method closures. 2013-05-22 17:56:18 -04:00
importer.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00
lift.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00
literal.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00
lvalue.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00
print.go go.tools/ssa: add support for bound-method closures. 2013-05-22 17:56:18 -04:00
promote.go go.tools/ssa: fix debug printing 2013-05-25 09:51:29 -07:00
sanity.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00
source_ast.go go.tools/ssa: utility functions mapping source intervals to ast.Nodes. 2013-05-28 15:28:46 -04:00
source_test.go go.tools/ssa: utility functions mapping source intervals to ast.Nodes. 2013-05-28 15:28:46 -04:00
source.go go.tools/ssa: utility functions mapping source intervals to ast.Nodes. 2013-05-28 15:28:46 -04:00
ssa.go go.tools/ssa: utility functions mapping source intervals to ast.Nodes. 2013-05-28 15:28:46 -04:00
ssadump.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00
typeinfo.go go.tools/ssa: print identifer location if not found in TypeInfo 2013-05-25 10:04:20 -07:00
util.go go.tools/ssa: utility functions mapping source intervals to ast.Nodes. 2013-05-28 15:28:46 -04:00