Debian Codegraph @

packages/babel-generator/test/fixtures/comments/newlines/input.js

raw symbols SCIP
1 a;
2
3 // my comment
4 b;
5
6 c;
7 // my comment
8
9 d;
10
11
12 /**
13 * Hello
14 * @param {*} params
15 */
16 function fn(params) {
17
18 }
19
20 /**
21 * Hello
22 * @param {*} params
23 */
24
25 function fn2(params) {
26
27 }
28
29 x; // my comment
30 x;
31
32 x; // my comment
33
34 x;
35
36 x; /* */
37 x;
38
39 x; /* */
40
41 x;
42
43 x; /* my comment1 */
44 x; /* my comment2 */
45
46 x; // my comment3
47 x; // my comment4
48
49 x; // my comment5
50
51 // my comment6
52 // my comment7
53
54 /* my comment8 */
55
56 /* my comment9 */
57
58
59 /** */
60 var a=1;
61
62 function name(params) {
63 //a
64 //b
65
66 //c
67
68 /** */ ///aaa
69
70 /** */ /** */
71 }
72
73 function name2(params) {
74 /**123 */
75 }
76
77 function name3(params) {
78 "strict";/**123 *//**/a();b();
79 }
80
81 function name4(params) {
82 "strict";
83
84 /**123 */
85 /**/
86 a();
87 b();
88 }
89
90 a();/** *//**/b();c();
91 /** */a();b();c();
92 class X {
93 /*:: a: number*/
94 /*:: b: ?string*/
95 }
96 label2: for (const a of [1, 2, 3]) {
97 break; /*Block comment written
98 in multiple lines */label2;
99 }