go/ast.Comment.Pos (method, view implemented interface methods)
10 uses
go/ast (current package)
ast.go#L70: func (c *Comment) Pos() token.Pos { return c.Slash }
ast.go#L80: func (g *CommentGroup) Pos() token.Pos { return g.List[0].Pos() }
go/doc
reader.go#L515: Pos: list[0].Pos(),
go/printer
nodes.go#L83: p.flush(p.posFor(g.List[0].Pos()), token.ILLEGAL)
printer.go#L120: line := p.lineFor(list[0].Pos())
printer.go#L122: if i > 0 && p.lineFor(list[i].Pos()) != line {
printer.go#L140: p.commentOffset = p.posFor(list[0].Pos()).Offset
printer.go#L640: pos := p.posFor(comment.Pos())
printer.go#L752: p.writeCommentPrefix(p.posFor(c.Pos()), next, last, tok)
printer.go#L772: last.Text[1] == '*' && p.lineFor(last.Pos()) == next.Line &&
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)