Debian Codegraph @

packages/babel-generator/test/fixtures/flow/this-param/input.js

raw symbols SCIP
1 function one (this : number) {}
2 function two (this : number, a) {}
3 function three (this : number, ...a) {}
4 function four (this : number, a, b, ...c) {}
5 function five<T> (this : T) {}
6
7 type six = (this : number) => void
8 type seven = (this : number, a : number) => void
9 type eight = (this : number, ...a : any) => void
10 type nine = <T>(this : T) => void
11
12 type ten = {
13 m1(this : string) : void,
14 m2(this : string, a : number) : void,
15 m3(this : string, ...a : any) : void,
16 m4<T>(this : T) : void
17 }
18
19 declare function eleven (this : number) : void
20 declare function twelve (this : string, a : number) : void
21 declare function thirteen (this : string, ...a : any) : void
22 declare function fourteen<T>(this : T) : void
23
24 declare class Fifteen {
25 m1(this : string) : void,
26 m2(this : string, a : number) : void,
27 m3(this : string, ...a : any) : void,
28 m4<T>(this : T) : void
29 }
30
31 class Sixteen {
32 m1 (this : number) {}
33 m2 (this : number, a) {}
34 m3 (this : number, ...a) {}
35 m4 (this : number, a, b, ...c) {}
36 m5<T> (this : T) {}
37 }
38
39 let seventeen = {
40 m1 (this : number) {},
41 m2 (this : number, a) {},
42 m3 (this : number, ...a) {},
43 m4 (this : number, a, b, ...c) {},
44 m5<T> (this : T) {}
45 }