- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for FuncType (0.14 sec)
-
src/cmd/cgo/ast_go1.go
func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) { error_(token.NoPos, "unexpected type %T in walk", x) panic("unexpected type") } func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList { return nil } func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList { return nil
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Nov 30 21:45:10 UTC 2022 - 578 bytes - Viewed (0) -
src/cmd/cgo/ast_go118.go
panic("unexpected type") case *ast.IndexListExpr: f.walk(&n.X, ctxExpr, visit) f.walk(n.Indices, ctxExpr, visit) } } func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList { return n.TypeParams } func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList { return n.TypeParams
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Nov 30 21:45:10 UTC 2022 - 730 bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p1/p1.go
} type B struct { common } type common struct { i int } type TPtrUnexported struct { *common } type TPtrExported struct { *Embedded } type FuncType func(x, y int, s string) (b *B, err error) type Embedded struct{} func PlainFunc(x, y int, s string) (b *B, err error) func (*Embedded) OnEmbedded() {} func (*T) JustOnT() {}
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 3.3K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
break } // Add the result type, if any. if name.FuncType.Result != nil { rtype := p.rewriteUnsafe(name.FuncType.Result.Go) if rtype != name.FuncType.Result.Go { needsUnsafe = true } sb.WriteString(gofmt(rtype)) result = true } // Add the second result type, if any. if twoResults { if name.FuncType.Result == nil { // An explicit void result looks odd but it
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p1/golden.txt
pkg p1, type Embedded struct pkg p1, type Error interface { Error, Temporary } pkg p1, type Error interface, Error() string pkg p1, type Error interface, Temporary() bool pkg p1, type FuncType func(int, int, string) (*B, error) pkg p1, type I interface, Get(string) int64 pkg p1, type I interface, Get //deprecated pkg p1, type I interface, GetNamed(string) int64 pkg p1, type I interface, Name() string
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 3.6K bytes - Viewed (0) -
api/go1.18.txt
pkg debug/elf, const R_PPC64_RELATIVE R_PPC64 pkg debug/plan9obj, var ErrNoSymbols error pkg go/ast, method (*IndexListExpr) End() token.Pos pkg go/ast, method (*IndexListExpr) Pos() token.Pos pkg go/ast, type FuncType struct, TypeParams *FieldList pkg go/ast, type IndexListExpr struct pkg go/ast, type IndexListExpr struct, Indices []Expr pkg go/ast, type IndexListExpr struct, Lbrack token.Pos
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
src/cmd/cgo/ast.go
f.walk(&n.Value, ctxExpr, visit) case *ast.ArrayType: f.walk(&n.Len, ctxExpr, visit) f.walk(&n.Elt, ctxType, visit) case *ast.StructType: f.walk(n.Fields, ctxField, visit) case *ast.FuncType: if tparams := funcTypeTypeParams(n); tparams != nil { f.walk(tparams, ctxParam, visit) } f.walk(n.Params, ctxParam, visit) if n.Results != nil { f.walk(n.Results, ctxParam, visit) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 14 15:47:06 UTC 2024 - 14.3K bytes - Viewed (0) -
api/go1.txt
pkg go/ast, type FuncDecl struct, Type *FuncType pkg go/ast, type FuncLit struct pkg go/ast, type FuncLit struct, Body *BlockStmt pkg go/ast, type FuncLit struct, Type *FuncType pkg go/ast, type FuncType struct pkg go/ast, type FuncType struct, Func token.Pos pkg go/ast, type FuncType struct, Params *FieldList pkg go/ast, type FuncType struct, Results *FieldList pkg go/ast, type GenDecl struct
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)