- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for instantiatedIdent (0.21 sec)
-
src/go/types/check.go
func (check *Checker) recordInstance(expr ast.Expr, targs []Type, typ Type) { ident := instantiatedIdent(expr) assert(ident != nil) assert(typ != nil) if m := check.Instances; m != nil { m[ident] = Instance{newTypeList(targs), typ} } } func instantiatedIdent(expr ast.Expr) *ast.Ident { var selOrIdent ast.Expr switch e := expr.(type) { case *ast.IndexExpr:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
func (check *Checker) recordInstance(expr syntax.Expr, targs []Type, typ Type) { ident := instantiatedIdent(expr) assert(ident != nil) assert(typ != nil) if m := check.Instances; m != nil { m[ident] = Instance{newTypeList(targs), typ} } } func instantiatedIdent(expr syntax.Expr) *syntax.Name { var selOrIdent syntax.Expr switch e := expr.(type) { case *syntax.IndexExpr:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0)