Home | History | Annotate | Download | only in reflect

Lines Matching full:reflect

11 	"reflect"
16 // It must work in terms of reflect.Values so that it is possible
19 swap := func(in []reflect.Value) []reflect.Value {
20 return []reflect.Value{in[1], in[0]}
25 // When the function is invoked, reflect turns the arguments
30 // Obtain the function value itself (likely nil) as a reflect.Value
32 fn := reflect.ValueOf(fptr).Elem()
35 v := reflect.MakeFunc(fn.Type(), swap)
62 st := reflect.TypeOf(s)
74 writerType := reflect.TypeOf((*io.Writer)(nil)).Elem()
76 fileType := reflect.TypeOf((*os.File)(nil))