- Sort Score
- Result 10 results
- Languages All
Results 41 - 47 of 47 for funcList (0.24 sec)
-
src/cmd/compile/internal/syntax/printer.go
case *Name: p.print(_Name, n.Value) // _Name requires actual value following immediately case *BasicLit: p.print(_Name, n.Value) // _Name requires actual value following immediately case *FuncLit: p.print(n.Type, blank) if n.Body != nil { if p.form == ShortForm { p.print(_Lbrace) if len(n.Body.List) > 0 { p.print(_Name, "…") } p.print(_Rbrace) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/cmd/doc/pkg.go
case *ast.FieldList: if n == nil || len(n.List) == 0 { return "" } if len(n.List) == 1 { return pkg.oneLineField(n.List[0], depth) } return dotDotDot case *ast.FuncLit: return pkg.oneLineNodeDepth(n.Type, depth) + " { ... }" case *ast.CompositeLit: typ := pkg.oneLineNodeDepth(n.Type, depth) if len(n.Elts) == 0 { return fmt.Sprintf("%s{}", typ) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/go/printer/nodes.go
p.print(blank) } p.expr1(x.X, prec, depth) } case *ast.BasicLit: if p.Config.Mode&normalizeNumbers != 0 { x = normalizedNumber(x) } p.print(x) case *ast.FuncLit: p.setPos(x.Type.Pos()) p.print(token.FUNC) // See the comment in funcDecl about how the header size is computed. startCol := p.out.Column - len("func") p.signature(x.Type)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
src/go/parser/parser.go
} typ := p.parseFuncType() if p.tok != token.LBRACE { // function type only return typ } p.exprLev++ body := p.parseBody() p.exprLev-- return &ast.FuncLit{Type: typ, Body: body} } // parseOperand may return an expression or a raw type (incl. array // types of the form [...]T). Callers must verify the result. func (p *parser) parseOperand() ast.Expr {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"FuncDecl.Body", Field, 0}, {"FuncDecl.Doc", Field, 0}, {"FuncDecl.Name", Field, 0}, {"FuncDecl.Recv", Field, 0}, {"FuncDecl.Type", Field, 0}, {"FuncLit", Type, 0}, {"FuncLit.Body", Field, 0}, {"FuncLit.Type", Field, 0}, {"FuncType", Type, 0}, {"FuncType.Func", Field, 0}, {"FuncType.Params", Field, 0}, {"FuncType.Results", Field, 0}, {"FuncType.TypeParams", Field, 18},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg go/ast, type FuncDecl struct, Name *Ident pkg go/ast, type FuncDecl struct, Recv *FieldList 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)