Debian Codegraph @

go/ssa/interp/testdata/src/reflect/reflect.go

raw symbols SCIP
1 package reflect
2
3 type Type interface {
4 String() string
5 Kind() Kind
6 Elem() Type
7 }
8
9 type Value struct {
10 }
11
12 func (Value) String() string
13
14 func (Value) Elem() Value
15 func (Value) Kind() Kind
16 func (Value) Int() int64
17 func (Value) IsValid() bool
18 func (Value) IsNil() bool
19 func (Value) Len() int
20 func (Value) Pointer() uintptr
21 func (Value) Index(i int) Value
22 func (Value) Type() Type
23 func (Value) Field(int) Value
24 func (Value) MapIndex(Value) Value
25 func (Value) MapKeys() []Value
26 func (Value) NumField() int
27 func (Value) Interface() interface{}
28
29 func SliceOf(Type) Type
30
31 func TypeOf(interface{}) Type
32
33 func ValueOf(interface{}) Value
34
35 type Kind uint
36
37 // Constants need to be kept in sync with the actual definitions for comparisons in tests.
38 const (
39 Invalid Kind = iota
40 Bool
41 Int
42 Int8
43 Int16
44 Int32
45 Int64
46 Uint
47 Uint8
48 Uint16
49 Uint32
50 Uint64
51 Uintptr
52 Float32
53 Float64
54 Complex64
55 Complex128
56 Array
57 Chan
58 Func
59 Interface
60 Map
61 Pointer
62 Slice
63 String
64 Struct
65 UnsafePointer
66 )
67
68 const Ptr = Pointer