Lines Matching full:nil
30 if eltType != nil {
44 if match(nil, typ, reflect.ValueOf(inner.Type)) {
45 inner.Type = nil
54 if match(nil, reflect.ValueOf(ptr.X), reflect.ValueOf(inner.Type)) {
55 inner.Type = nil // drop T
64 return nil
71 if n.Max != nil || s.hasDotImport {
77 if s, _ := n.X.(*ast.Ident); s != nil && s.Obj != nil {
79 if call, _ := n.High.(*ast.CallExpr); call != nil && len(call.Args) == 1 && !call.Ellipsis.IsValid() {
81 if fun, _ := call.Fun.(*ast.Ident); fun != nil && fun.Name == "len" && fun.Obj == nil {
84 if arg, _ := call.Args[0].(*ast.Ident); arg != nil && arg.Obj == s.Obj {
86 n.High = nil
105 n.Value = nil
107 if isBlank(n.Key) && n.Value == nil {
108 n.Key = nil
125 if imp.Name != nil && imp.Name.Name == "." {
149 if g.Doc != nil || g.Specs != nil {