]> Cypherpunks repositories - gostls13.git/commit
go/ast: comment map implementation
authorRobert Griesemer <gri@golang.org>
Wed, 13 Jun 2012 20:32:29 +0000 (13:32 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 13 Jun 2012 20:32:29 +0000 (13:32 -0700)
commitf5f23e075e179ddbb518683e0762f27cd59018dd
tree336750977e2eac9c106ce4162e8394388db50341
parent503aa6505e26f7dadf9e115eca186c9c01ff99d9
go/ast: comment map implementation

A comment map associates comments with AST nodes
and permits correct updating of the AST's comment
list when the AST is manipulated.

R=rsc
CC=golang-dev
https://golang.org/cl/6281044
src/pkg/go/ast/commentmap.go [new file with mode: 0644]
src/pkg/go/ast/commentmap_test.go [new file with mode: 0644]