- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isMapIndex (0.08 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/assign.go
{Pos: stmt.Pos(), End: stmt.End(), NewText: []byte{}}, }}, }, }) } } }) return nil, nil } // isMapIndex returns true if e is a map index expression. func isMapIndex(info *types.Info, e ast.Expr) bool { if idx, ok := astutil.Unparen(e).(*ast.IndexExpr); ok { if typ := info.Types[idx.X].Type; typ != nil { _, ok := typ.Underlying().(*types.Map)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.4K bytes - Viewed (0)