Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for filterFieldList (0.17 sec)

  1. src/go/doc/exports.go

    		ityp.Incomplete = true
    	}
    	ityp.Methods.List = list[0:j]
    }
    
    // filterFieldList removes unexported fields (field names) from the field list
    // in place and reports whether fields were removed. Anonymous fields are
    // recorded with the parent type. filterType is called with the types of
    // all remaining fields.
    func (r *reader) filterFieldList(parent *namedType, fields *ast.FieldList, ityp *ast.InterfaceType) (removedFields bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  2. src/go/ast/filter.go

    		return filterType(t.Elt, f, export)
    	case *StructType:
    		if filterFieldList(t.Fields, f, export) {
    			t.Incomplete = true
    		}
    		return len(t.Fields.List) > 0
    	case *FuncType:
    		b1 := filterParamList(t.Params, f, export)
    		b2 := filterParamList(t.Results, f, export)
    		return b1 || b2
    	case *InterfaceType:
    		if filterFieldList(t.Methods, f, export) {
    			t.Incomplete = true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top