go/ast.Comment.Pos (method, view implemented interface methods)
11 uses
go/ast (current package)
ast.go#L69: func (c *Comment) Pos() token.Pos { return c.Slash }
ast.go#L78: func (g *CommentGroup) Pos() token.Pos { return g.List[0].Pos() }
ast.go#L1116: if comment.Pos() > file.Package {
go/doc
reader.go#L529: Pos: list[0].Pos(),
go/printer
nodes.go#L78: p.flush(p.posFor(g.List[0].Pos()), token.ILLEGAL)
printer.go#L112: line := p.lineFor(list[0].Pos())
printer.go#L114: if i > 0 && p.lineFor(list[i].Pos()) != line {
printer.go#L132: p.commentOffset = p.posFor(list[0].Pos()).Offset
printer.go#L631: pos := p.posFor(comment.Pos())
printer.go#L763: p.writeCommentPrefix(p.posFor(c.Pos()), next, last, tok)
printer.go#L790: last.Text[1] == '*' && p.lineFor(last.Pos()) == next.Line &&
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)