go/ast.FuncType.Func (field)
9 uses
go/ast (current package)
ast.go#L439: Func token.Pos // position of "func" keyword (token.NoPos if there is no "func")
ast.go#L493: if x.Func.IsValid() || x.Params == nil { // see issue 3870
ast.go#L494: return x.Func
go/parser
parser.go#L937: return &ast.FuncType{Func: pos, Params: params, Results: results}, scope
parser.go#L954: typ = &ast.FuncType{Func: token.NoPos, Params: params, Results: results}
parser.go#L2471: Func: pos,
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1613: if x.Func != 0 {
encode_ast.gen.go#L1615: e.EncodeInt(int64(x.Func))
encode_ast.gen.go#L1646: x.Func = token.Pos(d.DecodeInt())
![]() |
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. |