/
semantic_tokens.go
4316 lines (3491 loc) · 98.1 KB
/
semantic_tokens.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// SYNTAX TEST "source.go" "Semantic Tokens Test"
package main
import (
"cmp"
"context"
"encoding/json"
"fmt"
"go/ast"
"go/build"
"go/token"
"io"
"log"
"mime/multipart"
"net/http"
"reflect"
"strconv"
"sync"
"sync/atomic"
"time"
"unsafe"
)
// functions
func Foo(foo string) FooX
func Fo0o(foo string) *[]FooX
func (m *FooX) Foo(foo string) FooX
func (m *FooX) Bar(bar any) func()
func Foo0(foo string) func(http.Handler) http.Handler
func Foo1[t FooX](foo t) {}
func Foo2(string) <-chan context.Context
func Foo02(a <-chan context.Context) <-chan context.Context { return a }
func Foo3(any) FooX
func Foo5(foo map[FooX]interface{}, bar any) {}
func Bar0(func(context.Context))
func Bar01(http.ResponseWriter, *http.Request) {}
func Bar02(w http.ResponseWriter, r *http.Request) {}
func Bar(context.Context, func(), context.Context) {
}
func Zoo(foo ...func(Context) context.Context)
func Chain(middlewares ...func(http.Handler) http.Handler)
func Z00(m ...func(http.Handler))
func Z000(m func(http.Handler))
func chain(middlewares []func(http.Handler) http.Handler, endpoint http.Handler)
func Bar2(context.Context, func(string, context.Context), io.Writer) (foo context.Context, bar string)
func Bar3(foox context.Context, barx func(foo context.Context, bar bool), foobarx io.Writer) (foo context.Context, bar string)
func Bar4(context.Context, func(foo context.Context, bar string)) (foo context.Context, bar string)
func Bar5() *Foo11 {
return &Foo11{name: "Foo", age: 99}
}
func Bar55() *Foo11 {
return &Foo11{
name: "Foo",
age: 100,
}
}
func Bar6(w http.ResponseWriter, r *http.Request) context.Context {
w.Write([]byte("Foo"))
var a context.Context
return a
}
func Bar7[T *FooX | string | *context.Context | int](foo T, bar T) {
}
func Bar8[T FooX](foo []*T, bar []T) {
}
func Bar9[
T FooX, F *context.Context, X Foo15](foo, bar, foobar T) {
}
func Bar10[T FooX](foo []*T, bar T) {
}
func Bar11[
a,
b,
c int, d, e, f FooX](foo a, bar f) {
}
func Bar12[a, b, c, t, z int, aa, bb, cc string](foo t, bar z) {
}
func Bar13(context.Context) {
}
func Bar14(string) {
}
func (*Foo11) Done() map[string]interface{} {
return nil
}
func Bar15(
a,
b,
c int) {
}
func Bar16(
context.Context,
string,
context.Context) {
}
func Bar17(*context.Context, *context.Context, *context.Context) {
}
func Bar18(context.Context, FooX, context.Context) {
}
func Bar19(
a, b,
f context.Context, c, d context.Context) (context.Context, context.Context) {
return a, b
}
func Bar20(
a map[string]interface{},
b, f context.Context, c, d context.Context) (foo map[string]interface{}, bar context.Context) {
return a, b
}
func Bar21(a string, b context.Context) {}
func Bar22(ch <-chan context.Context) {
}
func Bar23(foo map[string]interface{}) {
}
func Bar24(
a context.Context, b <-chan string,
c context.Context) {
}
func Bar25(
a chan<- context.Context, b <-chan struct{}, c context.Context) {
}
func Bar26(
a, b, c <-chan context.Context) {
}
func Bar27(chan string, chan string, chan context.Context) {
}
func Bar28(
a,
b,
c context.Context) {
}
func Bar29() {}
func Bar30(context.Context, map[Foo17]interface{},
context.Context, func(), io.ReadCloser, io.ReadCloser,
string, func(context.Context), *io.Writer, *io.Reader,
error, map[Foo17]interface{}) {
}
func (m *FooX) Bar31(foo string) {
}
func Bar32(
context.Context, context.Context,
context.Context, io.ReadCloser,
error, map[Foo17]interface{}) {
}
func Bar33(
context.Context, func(), context.Context, io.ReadCloser, error, map[Foo17]interface{}) {
}
func Bar33_2(context.Context, func(), context.Context, io.ReadCloser, error, map[Foo17]interface{}) {
}
func Bar34(
a, b, c context.Context) (foo context.Context, bar error) {
return a, nil
}
func Bar35(
foo context.Context, bar context.Context) {
}
func Bar36(context.Context, context.Context) {
}
func Bar37(bar string) {}
func (s *Foo15) Bar38(a chan<- int) {
}
func Bar39(context.Context, context.Context, string)
func (c *cancelCtx) Value(key any) any {
if key == &cancelCtxKey {
return c
}
return value(c.Context, key)
}
func Bar40(
a map[string]interface{}, b <-chan *context.Context, c context.Context) context.Context {
return c
}
func Bar41(
a *context.Context,
b string,
c context.Context) (context.Context, string, context.Context) {
return *a, b, c
}
func value(c Context, key any) any {
for {
switch ctx := c.(type) {
case *cancelCtx:
fmt.Println(ctx)
default:
return c.Value(key)
}
}
}
func WithValue(parent Context, key, val any) Context {
if parent == nil {
panic("cannot create context from nil parent")
}
if key == nil {
panic("nil key")
}
return parent
}
func parentCancelCtx(parent Context) (*cancelCtx, bool) {
done := parent.Done()
if done == closedchan || done == nil {
return nil, false
}
p, ok := parent.Value(&cancelCtxKey).(*cancelCtx)
if !ok {
return nil, false
}
pdone, _ := p.done.Load().(chan struct{})
if pdone != done {
return nil, false
}
return p, true
}
// var and const
const (
CMDSet Command = "FOO"
CMD = "FOO"
)
var (
CMDSet1 Command = "FOO"
CMD1 = "FOO"
)
const (
Fooo = "FOO"
Barr = 911
)
var (
background = new(Foo18)
todo = new(Foo18)
)
const CMDSet3 Command = "FOO"
const ntCatchAll nodeTyp = 3
var closedchan = make(chan struct{})
var foo, bar Foo17
var foo2 *sync.Mutex
var foo3 = "bar"
var foo4, bar4 FooX
var bar2 Command
var bar3 []*Command
var cancelCtxKey int
var FO FooX
var BO = 15
// types, structs and interfaces
type Command string
type Context context.Context
type ZooX <-chan context.Context
type Middlewares []func(http.Handler) http.Handler
type Middleware []func(http.Handler) <-chan http.Handler
type Foo4 *sync.Mutex
type Foo6 interface{ FooX }
type Foo06 interface{ *[]FooX }
type Foo07 struct {
FooX
}
type Foo7 interface {
[]FooX
Context
}
type Foo8 interface{ FooX | *context.Context }
type Foo9 interface {
FooX | Foo11
}
type Foo10 interface {
FooX | <-chan *context.Context
}
type Foo12 interface {
chan FooX | chan Foo11
}
type Foo13 interface {
Bar(string, func(context.Context))
}
type Foo14 interface {
Bar(w http.ResponseWriter, r *http.Request) (foo context.Context, bar string)
Bar2(http.ResponseWriter, *http.Request) (context.Context, string)
Bar3(string, func(bar context.Context)) (foo context.Context, bar string)
Bar4(foo *context.Context, bar func(context.Context)) (foox context.Context, barx string)
Bar5(context.Context, func(foo chan<- context.Context, bar string), *io.Reader) (foo context.Context, bar string)
Bar6(context.Context, func(*context.Context, string)) (*context.Context, string)
Bar7(foo *context.Context) (context.Context, context.Context)
Bar8(foo string) context.Context
Bar9(foo func()) <-chan context.Context
Bar10() (context.Context, error)
Bar11(foox any) (foo context.Context, bar context.Context)
Bar12(foo map[FooX]interface{}) (context.Context, context.Context)
Bar13() *map[FooX]interface{}
Bar14() []FooX
}
type Foo18 interface {
Foo(a string) func(a Foo11)
Bar(a bool) (err error)
FooBar(a context.Context) error
}
type Foo11 struct {
name string
age int
}
type Foo19 *context.Context
type Foo20 struct {
Foo15
Foo17
Foo Foo16
FFoo, Bar string
}
type Foo21 struct{ foo, bar Foo16 }
type Foo22 context.Context
type Foo23 map[string]interface{}
type Foo24 struct{ foo, bar FooX }
type Foo15 struct {
foo, bar string
}
type Foo16 struct{}
type Foo17 struct {
name string
age int
}
type nodeTyp uint8
type Foo25 struct {
Foo15
*Foo17
Foo func() (context.Context, func(), io.ReadCloser, error, map[Foo17]interface{})
Bar func() (foo context.Context, bar io.ReadCloser, err error)
Fooo Foo17
Barr string
Foo2 map[Foo17]interface{}
Bar2 func(foo FooX) (foox, barx, foobar io.Writer)
FooBar *Foo17
Foo3 func() (foo context.Context, bar io.ReadCloser, foobar *map[Foo17]interface{})
Bar3 func() map[Foo17]interface{}
Foo4 chan<- Foo17
Bar4 <-chan Foo17
Foo5 chan *Foo17
Bar5 chan Foo17
Foo6 []func(http.Handler) http.Handler
Bar6 func() context.Context
Foo7 []func(http.Handler) <-chan http.Handler
Bar7 []nodeTyp
Foo8 [ntCatchAll + 1]nodeTyp
Bar8 []*nodeTyp
}
type Foo26 struct{ Foo15 }
type Foo27 struct{ foo <-chan Foo15 }
type Account struct {
context.Context
*Foo17
Email context.Context `json:"Email"`
Password string `json:"Password"`
First_name string `json:"First_name"`
Last_name string `json:"Last_name"`
Birth_date *int `json:"Birth_date"`
Gender *string `json:"Gender"`
}
type Foo28 string
type Foo29 interface {
Foo28 | sync.Mutex | int
}
type Foo30 interface {
string | int64 | int32 | []byte
}
type Foo31 interface {
*string | int64 | int32 | []*byte
}
type Foo32 struct {
cancelCtx // foo
timerCtx /* bar */
}
type Foo33 interface {
cancelCtx // foo
timerCtx /* bar */
}
type FooY int
type FooX struct{}
type timerCtx struct {
cancelCtx
timer *time.Timer // Under cancelCtx.mu.
deadline time.Time
}
// A cancelCtx can be canceled. When canceled, it also cancels any children
// that implement canceler.
type cancelCtx struct {
Context
mu sync.Mutex // protects following fields
done atomic.Value // of chan struct{}, created lazily, closed by first cancel call
children map[FooX]struct{} // set to nil by the first cancel call
err error // set to non-nil by the first cancel call
}
// function body
func main() {
var foox map[FooX]string
var fooy map[FooX]interface{}
bar := 15
fmt.Printf("foo %d", bar)
foo := "bar"
fmt.Println(foo, foox, fooy)
time.Now().Weekday()
whatAmI := func(i interface{}) {
switch t := i.(type) {
case *cancelCtx:
fmt.Println("I'm a cancelCtx")
case int, string:
fmt.Println("I'm an int")
case FooX:
fmt.Println("I'm a FooX")
case bool:
fmt.Println("I'm a bool")
case Foo17, Foo16:
fmt.Println("I'm a Foo17, Foo16")
default:
fmt.Printf("Don't know type %T\n", t)
}
}
fmt.Println("Hello World!")
data := []string{"foo", "bar"}
f := &Foo17{
name: "foo",
age: 28}
f2 := Foo17{name: "foo", age: 28}
whatAmI(true)
whatAmI(3222)
whatAmI(foo)
whatAmI(bar)
whatAmI("hello world!")
whatAmI(f2)
foo2 := func(a string) {
fmt.Println(a)
}
foo2(foo)
fmt.Println(f)
fmt.Println(f2)
for _, i := range data {
log.Printf("your data is %s", i)
}
for i := 0; i <= 10; i++ {
}
var i context.Context
defer func(i context.Context) {
if recover() == nil {
fmt.Println("expected panic()")
}
}(i)
mw := func(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
next.ServeHTTP(w, r)
})
}
var m http.Handler
mw(m)
type foo34 context.Context //v0.1.1
//v0.2.1
if foo == "foo" {
fmt.Println("foo")
} else if foo == "bar" {
fmt.Println("bar")
} else {
fmt.Println("foobar")
}
//v0.2.2
foo022 := func() {
for {
switch {
}
select {}
}
}
foo022()
//v0.2.4
type Spec interface {
[]string | string
}
type TestModel[TGen Spec] struct {
a int
b TGen
}
type TestModel2[foo Spec, bar FooX] struct {
a int
b foo
c *bar
}
type Foo30 []func(http.Handler) <-chan http.Handler
type Pointer[foo any] struct {
_ [0]*foo
}
type Pointers struct {
foo int
}
var _ = &Pointer[Pointers]{}
type response context.Context
type Pointerx struct {
foo int
bar *Pointer[*response]
foobar Pointer[response]
foo1 Pointer[int]
bar1 map[response]interface{}
}
}
// v0.2.5
type TestStorageTypes struct{}
func (t TestStorageTypes) TestingStorageTypes() error {
t.normalName()
t.bool()
t.byte()
t.error()
t.complex64()
t.complex128()
t.float32()
t.float64()
t.int()
t.int8()
t.int16()
t.int32()
t.int64()
t.uint()
t.uint8()
t.uint16()
t.uint32()
t.uint64()
t.rune()
t.string()
t.uintptr()
return nil
}
func (t TestStorageTypes) normalName() {}
func (t TestStorageTypes) bool() {}
func (t TestStorageTypes) byte() {}
func (t TestStorageTypes) error() {}
func (t TestStorageTypes) complex64() {}
func (t TestStorageTypes) complex128() {}
func (t TestStorageTypes) float32() {}
func (t TestStorageTypes) float64() {}
func (t TestStorageTypes) int() {}
func (t TestStorageTypes) int8() {}
func (t TestStorageTypes) int16() {}
func (t TestStorageTypes) int32() {}
func (t TestStorageTypes) int64() {}
func (t TestStorageTypes) uint() {}
func (t TestStorageTypes) uint8() {}
func (t TestStorageTypes) uint16() {}
func (t TestStorageTypes) uint32() {}
func (t TestStorageTypes) uint64() {}
func (t TestStorageTypes) rune() {}
func (t TestStorageTypes) string() {}
func (t TestStorageTypes) uintptr() {}
func (t TestStorageTypes) any() {}
// v0.2.6
func Bar42(w http.ResponseWriter, r *http.Request) context.Context {
w.Write([]byte("Foo"))
var a context.Context
return a
}
func Bar43(w http.ResponseWriter, HTTPStatusCode int) error {
w.WriteHeader(HTTPStatusCode)
return json.NewEncoder(w).Encode(
map[string]interface{}{
"status": HTTPStatusCode,
"error": http.StatusText(HTTPStatusCode),
})
}
func DecrementInLoop() {
j := 10
for i := 0; i < 10; i++ {
}
for i := 0; i < 10; i-- {
}
j++
j--
}
// v0.2.7
func TypesSupportFunction() {
var t1 bool
var t2 byte
var t3 error
var t4 complex64
var t5 complex128
var t6 float32
var t7 float64
var t8 int
var t9 int8
var t10 int16
var t11 int32
var t12 int64
var t13 uint
var t14 uint8
var t15 uint16
var t16 uint32
var t17 uint64
var t18 rune
var t19 string
var t20 uintptr
a1 := bool(t1)
a2 := byte(t2)
a3 := error(t3)
a4 := complex64(t4)
a5 := complex128(t5)
a6 := float32(t6)
a7 := float64(t7)
a8 := int(t8)
a9 := int8(t9)
a10 := int16(t10)
a11 := int32(t11)
a12 := int64(t12)
a13 := uint(t13)
a14 := uint8(t14)
a15 := uint16(t15)
a16 := uint32(t16)
a17 := uint64(t17)
a18 := rune(t18)
a19 := string(t19)
a20 := uintptr(t20)
fmt.Sprintln(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20)
}
// v0.2.8
func Bar44(context.Context, context.Context)
func Bar45(foo, bar,
foobar context.Context)
func Bar46(foo, bar,
foobar chan<- context.Context)
func Bar47(
context.Context, context.Context,
context.Context)
func Bar48(chan context.Context, context.Context,
string, context.Context)
func Bar49(<-chan context.Context, context.Context,
string, chan<- context.Context)
func Bar50(context.Context, <-chan context.Context,
string, chan<- context.Context)
func Bar51(context.Context, <-chan func() context.Context,
string, chan<- context.Context)
func Bar52(func() <-chan context.Context, context.Context,
string, chan<- context.Context)
func Bar53(chan<- func() context.Context, func() context.Context,
string, chan<- context.Context)
func Bar54(context.Context, func(), map[Foo17]interface{},
context.Context, func(), io.ReadCloser, io.ReadCloser, context.Context,
string, func(context.Context), *io.Writer, *io.Reader,
context.Context, context.Context, context.Context,
string, chan func(context.Context), bool, io.Reader,
string, <-chan func(context.Context), bool, chan<- io.Reader,
error, map[Foo17]interface{}, context.Context) {
}
func Bar56(context.Context, func(), map[Foo17]interface{}, context.Context, func(), io.ReadCloser, io.ReadCloser, context.Context, string, func(context.Context), *io.Writer, *io.Reader, context.Context, context.Context, context.Context, string, chan func(context.Context), bool, io.Reader, string, <-chan func(context.Context), bool, chan<- io.Reader, error, map[Foo17]interface{}, context.Context) {
}
func Bar57(context.Context, func(), <-chan context.Context)
func Bar58(<-chan context.Context, chan func(), <-chan context.Context)
func Bar59(<-chan context.Context, func(), chan<- func(context.Context), <-chan context.Context)
func Bar60(context.CancelCauseFunc, string)
func Bar61(foo context.Context, bar context.Context) {}
func Bar62(foo, bar, foobar context.Context)
func Bar63(
foo, bar, foobar context.Context) {
}
func Bar64(
context.CancelCauseFunc, context.CancelFunc, context.Context) {
}
func Bar65(
context.CancelCauseFunc,
context.CancelFunc,
context.Context) {
}
func Bar66(context.Context, bool, byte, error, error, complex64, complex128, float32, float64, int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64, rune, string, uintptr, context.Context, context.Context, bool, byte, complex64, complex128, float32, float64, int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64, rune, string, uintptr) {
}
func Bar67() (context.Context, bool, byte, error, complex64, complex128, float32, float64, int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64, rune, string, uintptr, context.Context) {
var t0 context.Context
var t1 bool
var t2 byte
var t3 error
var t4 complex64
var t5 complex128
var t6 float32
var t7 float64
var t8 int
var t9 int8
var t10 int16
var t11 int32
var t12 int64
var t13 uint
var t14 uint8
var t15 uint16
var t16 uint32
var t17 uint64
var t18 rune
var t19 string
var t20 uintptr
var t21 context.Context
return t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21
}
func Bar68(t0 context.Context, t1 bool, t2 byte, t3 error, t4 complex64, t5 complex128, t6 float32, t7 float64, t8 int, t9 int8, t10 int16, t11 int32, t12 int64, t13 uint, t14 uint8, t15 uint16, t16 uint32, t17 uint64, t18 rune, t19 string, t20 uintptr, t21 context.Context) (bool, byte, error, complex64, complex128, float32, float64, int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64, rune, string, uintptr) {
a1 := bool(t1)
a2 := byte(t2)
a3 := error(t3)
a4 := complex64(t4)
a5 := complex128(t5)
a6 := float32(t6)
a7 := float64(t7)
a8 := int(t8)
a9 := int8(t9)
a10 := int16(t10)
a11 := int32(t11)
a12 := int64(t12)
a13 := uint(t13)
a14 := uint8(t14)
a15 := uint16(t15)
a16 := uint32(t16)
a17 := uint64(t17)
a18 := rune(t18)
a19 := string(t19)
a20 := uintptr(t20)
return a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20
}
func Bar69() (bool, byte, error, complex64, complex128, float32, float64, int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64, rune, string, uintptr) {
var t1 bool
var t2 byte
var t3 error
var t4 complex64
var t5 complex128
var t6 float32
var t7 float64
var t8 int
var t9 int8
var t10 int16
var t11 int32
var t12 int64
var t13 uint
var t14 uint8
var t15 uint16
var t16 uint32
var t17 uint64
var t18 rune
var t19 string
var t20 uintptr
return t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20
}
// v0.2.9
type cell struct{}
type board struct {
matrixCells [][]cell
matrixCellsPointer *[][]cell
rowCells []cell
rowCellsPointer *[]cell
matrixInts [][]int
matrixIntsPointer *[][]int
m0 map[cell]interface{}
m1 []<-chan cell
m2 *[]chan<- cell
m3 [][]map[cell]interface{}
m4 *[][]map[cell]interface{}
m5 [][]<-chan func()
m6 *[][]chan<- func()
m7 [][]context.Context
m8 *[][]context.Context
m9 [][][][][][][][][]context.Context
m10 *[][][][][][][][][]context.Context
m11 [][][][][][][][][]cell
m12 *[][][][][][][][][]cell
m13 [][][][][][][][][]cell
m14 *[][][][][][][][][]cell
m15 [][][][][][][][][]<-chan cell
m16 *[][][][][][][][][]chan<- cell
m17 [][][][][][][][][]<-chan map[cell]interface{}
m18 *[][][][][][][][][]chan<- map[cell]interface{}
m19 [][][][][][][][][]func(http.Handler) <-chan http.Handler
m20 *[][][][][][][][][]func(foo cell) (foox, barx, foobar io.Writer)
m21 [][][][][][][][][]func() <-chan cell
m22 *[][][][][][][][][]func() chan<- cell
m23, m24, m25 [][][][][][][][][]cell
m26, m27, m28 *[][][][][][][][][]cell
}
type board2 struct{ foo [][]cell }
type board3 struct{ foo *[][]cell }
// v0.2.10
type Foo35 struct {
foo struct {
foo context.Context
bar struct {
foo context.Context
bar struct {
foo context.Context
}
foobar context.Context
}
}
bar context.Context
}
type Foo36 struct {
foo, bar context.Context
foo0 func()
bar0 struct {
foo context.Context
bar struct {
foo func()
foo0 func(context.Context)
foo1 struct{}
foo2 chan context.Context
foo3 func()