Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for recordAnonymousField (0.2 sec)

  1. src/go/doc/reader.go

    		methods:  make(methodSet),
    	}
    	r.types[name] = typ
    	return typ
    }
    
    // recordAnonymousField registers fieldType as the type of an
    // anonymous field in the parent type. If the field is imported
    // (qualified name) or the parent is nil, the field is ignored.
    // The function returns the field name.
    func (r *reader) recordAnonymousField(parent *namedType, fieldType ast.Expr) (fname string) {
    	fname, imp := baseTypeName(fieldType)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top