- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for BadExpr (0.12 sec)
-
src/go/types/resolver.go
rtyp = ix.X if unpackParams { for _, arg := range ix.Indices { var par *ast.Ident switch arg := arg.(type) { case *ast.Ident: par = arg case *ast.BadExpr: // ignore - error already reported by parser case nil: check.error(ix.Orig, InvalidSyntaxTree, "parameterized receiver contains nil parameters") default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0) -
src/go/printer/nodes.go
_, ok := expr.(*ast.BinaryExpr) return ok } func (p *printer) expr1(expr ast.Expr, prec1, depth int) { p.setPos(expr.Pos()) switch x := expr.(type) { case *ast.BadExpr: p.print("BadExpr") case *ast.Ident: p.print(x) case *ast.BinaryExpr: if depth < 1 { p.internalError("depth < 1:", depth) depth = 1 } p.binaryExpr(x, prec1, cutoff(x, depth), depth)
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/cmd/compile/internal/types2/expr.go
old, found := check.untyped[x] if !found { return // nothing to do } // update operands of x if necessary switch x := x.(type) { case *syntax.BadExpr, *syntax.FuncLit, *syntax.CompositeLit, *syntax.IndexExpr, *syntax.SliceExpr, *syntax.AssertExpr, *syntax.ListExpr, //*syntax.StarExpr, *syntax.KeyValueExpr, *syntax.ArrayType,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"AssignStmt.Tok", Field, 0}, {"AssignStmt.TokPos", Field, 0}, {"Bad", Const, 0}, {"BadDecl", Type, 0}, {"BadDecl.From", Field, 0}, {"BadDecl.To", Field, 0}, {"BadExpr", Type, 0}, {"BadExpr.From", Field, 0}, {"BadExpr.To", Field, 0}, {"BadStmt", Type, 0}, {"BadStmt.From", Field, 0}, {"BadStmt.To", Field, 0}, {"BasicLit", Type, 0}, {"BasicLit.Kind", Field, 0},
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 BadDecl struct pkg go/ast, type BadDecl struct, From token.Pos pkg go/ast, type BadDecl struct, To token.Pos pkg go/ast, type BadExpr struct pkg go/ast, type BadExpr struct, From token.Pos pkg go/ast, type BadExpr struct, To token.Pos pkg go/ast, type BadStmt struct pkg go/ast, type BadStmt struct, From token.Pos pkg go/ast, type BadStmt struct, To token.Pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)