- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for filterCompositeLit (0.14 sec)
-
src/go/doc/exports.go
j := 0 for _, exp := range list { switch x := exp.(type) { case *ast.CompositeLit: filterCompositeLit(x, filter, export) case *ast.KeyValueExpr: if x, ok := x.Key.(*ast.Ident); ok && !filter(x.Name) { continue } if x, ok := x.Value.(*ast.CompositeLit); ok { filterCompositeLit(x, filter, export) } } list[j] = exp j++ } return list[0:j] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 18:18:07 UTC 2022 - 8.5K bytes - Viewed (0) -
src/go/ast/filter.go
j := 0 for _, exp := range list { switch x := exp.(type) { case *CompositeLit: filterCompositeLit(x, filter, export) case *KeyValueExpr: if x, ok := x.Key.(*Ident); ok && !filter(x.Name) { continue } if x, ok := x.Value.(*CompositeLit); ok { filterCompositeLit(x, filter, export) } } list[j] = exp j++ } return list[0:j] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0)