go/ast.FuncType.Pos (method)
5 uses
go/ast (current package)
ast.go#L473: func (x *FuncLit) Pos() token.Pos { return x.Type.Pos() }
ast.go#L492: func (x *FuncType) Pos() token.Pos {
ast.go#L988: func (d *FuncDecl) Pos() token.Pos { return d.Type.Pos() }
go/printer
nodes.go#L800: p.print(x.Type.Pos(), token.FUNC)
nodes.go#L804: p.funcBody(p.distanceFrom(x.Type.Pos(), startCol), blank, x.Body)
 |
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. |