type go/ast.CommentMap
10 uses
go/ast (current package)
commentmap.go#L35: type CommentMap map[Node][]*CommentGroup
commentmap.go#L37: func (cmap CommentMap) addComment(n Node, c *CommentGroup) {
commentmap.go#L143: func NewCommentMap(fset *token.FileSet, node Node, comments []*CommentGroup) CommentMap {
commentmap.go#L148: cmap := make(CommentMap)
commentmap.go#L246: func (cmap CommentMap) Update(old, new Node) Node {
commentmap.go#L258: func (cmap CommentMap) Filter(node Node) CommentMap {
commentmap.go#L259: umap := make(CommentMap)
commentmap.go#L272: func (cmap CommentMap) Comments() []*CommentGroup {
commentmap.go#L317: func (cmap CommentMap) String() string {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |