Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fieldList (0.08 sec)

  1. src/cmd/cgo/ast.go

    	case *ast.Field:
    		if len(n.Names) == 0 && context == ctxField {
    			f.walk(&n.Type, ctxEmbedType, visit)
    		} else {
    			f.walk(&n.Type, ctxType, visit)
    		}
    	case *ast.FieldList:
    		for _, field := range n.List {
    			f.walk(field, context, visit)
    		}
    	case *ast.BadExpr:
    	case *ast.Ident:
    	case *ast.Ellipsis:
    		f.walk(&n.Elt, ctxType, visit)
    	case *ast.BasicLit:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    				}
    				return true // recurse into struct or interface type
    			case *ast.StructType:
    				return true // recurse into fields
    			case *ast.InterfaceType:
    				return true // recurse into methods
    			case *ast.FieldList:
    				return true // recurse into fields
    			case *ast.ValueSpec:
    				if isDeprecated(n.Doc) {
    					for _, id := range n.Names {
    						mark(id)
    					}
    				}
    				return false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    		r = c.Type(unqual(dtype.ReturnType), pos)
    		gr = []*ast.Field{{Type: r.Go}}
    	}
    	return &FuncType{
    		Params: p,
    		Result: r,
    		Go: &ast.FuncType{
    			Params:  &ast.FieldList{List: gp},
    			Results: &ast.FieldList{List: gr},
    		},
    	}
    }
    
    // Identifier
    func (c *typeConv) Ident(s string) *ast.Ident {
    	return ast.NewIdent(s)
    }
    
    // Opaque type of n bytes.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top