1 -------- @describe pkgdecl --------
2 definition of package "describe"
9 const c untyped int = 0
14 const pi untyped float = 3.141
15 const pie cake = 3.141
17 -------- @describe badimport1 --------
18 import of package "nosuchpkg"
20 -------- @describe badimport2 --------
21 reference to package "nosuchpkg"
23 -------- @describe unsafe --------
24 import of package "unsafe"
27 type Pointer unsafe.Pointer
30 -------- @describe type-ref-builtin --------
31 reference to built-in type float64
33 -------- @describe const-ref-iota --------
34 reference to const iota untyped int of value 0
36 -------- @describe const-def-pi --------
37 definition of const pi untyped float of value 3.141
39 -------- @describe const-def-pie --------
40 definition of const pie cake of value 3.141
42 type cake defined here
44 -------- @describe const-ref-pi --------
45 reference to const pi untyped float of value 3.141
48 -------- @describe func-def-main --------
49 definition of func main()
51 -------- @describe func-ref-main --------
52 reference to func main()
55 -------- @describe func-ref-*C.f --------
56 reference to method func (*C).f()
59 -------- @describe func-ref-D.f --------
60 reference to method func (D).f()
63 -------- @describe func-ref-I.f --------
64 reference to interface method func (I).f()
67 -------- @describe type-D --------
68 reference to type D (size 32, align 8)
69 defined as struct{Field int; AnotherField string; ThirdField C}
77 -------- @describe type-I --------
78 reference to type I (size 16, align 8)
79 defined as interface{f()}
83 -------- @describe func-ref-d.f --------
84 reference to method func (D).f()
87 -------- @describe func-ref-i.f --------
88 reference to interface method func (I).f()
91 -------- @describe slice-of-D --------
92 definition of var slice []D
96 -------- @describe ptr-with-nonptr-methods --------
97 definition of var dptr *D
107 -------- @describe ref-lexical-d --------
119 -------- @describe ref-anon --------
120 reference to var anon func()
123 -------- @describe ref-global --------
124 reference to var global *string
127 -------- @describe var-def-x-1 --------
128 definition of var x *int
130 -------- @describe var-ref-x-1 --------
131 reference to var x *int
134 -------- @describe var-def-x-2 --------
135 reference to var x *int
138 -------- @describe var-ref-x-2 --------
139 reference to var x *int
142 -------- @describe var-ref-i-C --------
150 -------- @describe var-ref-i-D --------
158 -------- @describe var-ref-i --------
166 -------- @describe const-local-pi --------
167 definition of const localpi untyped float of value 3.141
169 -------- @describe const-local-pie --------
170 definition of const localpie cake of value 3.141
172 type cake defined here
174 -------- @describe const-ref-localpi --------
175 reference to const localpi untyped float of value 3.141
178 -------- @describe type-def-T --------
179 definition of type T (size 8, align 8)
182 -------- @describe type-ref-T --------
183 reference to type T (size 8, align 8)
187 -------- @describe const-expr --------
188 binary * operation of value 6
190 -------- @describe const-expr2 --------
191 binary - operation of value -2
193 -------- @describe map-lookup,ok --------
194 index expression of type (*int, bool)
196 -------- @describe mapval --------
197 reference to var mapval *int
200 -------- @describe m --------
201 reference to var m map[string]*int
204 -------- @describe defer-stmt --------
207 -------- @describe go-stmt --------
210 -------- @describe builtin-ref-panic --------
211 function call (or conversion) of type ()
213 -------- @describe var-decl-stmt --------
214 definition of var a2 int
216 -------- @describe var-decl-stmt2 --------
217 definition of var _ int
219 -------- @describe var-def-blank --------
220 definition of var _ int
222 -------- @describe lib-outer --------
223 reference to type lib.Outer (size 56, align 8)
224 defined as struct{A int; b int; lib.inner}
229 inner.recursive.E bool
231 -------- @describe var-map-of-C-D --------
232 definition of var mmm map[C]D
237 -------- @describe field-access --------
238 reference to field ThirdField C
245 -------- @describe call-unknown --------
246 function call of type invalid type
248 -------- @describe def-iface-I --------
249 definition of type I (size 16, align 8)
253 -------- @describe def-imethod-I.f --------
254 definition of interface method func (I).f()