Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FieldList (0.21 sec)

  1. src/cmd/compile/internal/syntax/parser.go

    	if tag != nil {
    		for i := len(styp.FieldList) - len(styp.TagList); i > 0; i-- {
    			styp.TagList = append(styp.TagList, nil)
    		}
    		styp.TagList = append(styp.TagList, tag)
    	}
    
    	f := new(Field)
    	f.pos = pos
    	f.Name = name
    	f.Type = typ
    	styp.FieldList = append(styp.FieldList, f)
    
    	if debug && tag != nil && len(styp.FieldList) != len(styp.TagList) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top