Commit 32e43a0 1 parent 73b9d32 commit 32e43a0 Copy full SHA for 32e43a0
File tree 4 files changed +237
-0
lines changed
test/fixtures/syntactic-placeholder/basic
4 files changed +237
-0
lines changed Original file line number Diff line number Diff line change
1
+ - > [ ..._1 ]
Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " File" ,
3
+ "start" : 0 ,
4
+ "end" : 10 ,
5
+ "loc" : {
6
+ "start" : {
7
+ "line" : 1 ,
8
+ "column" : 0
9
+ },
10
+ "end" : {
11
+ "line" : 1 ,
12
+ "column" : 10
13
+ }
14
+ },
15
+ "program" : {
16
+ "type" : " Program" ,
17
+ "start" : 0 ,
18
+ "end" : 10 ,
19
+ "loc" : {
20
+ "start" : {
21
+ "line" : 1 ,
22
+ "column" : 0
23
+ },
24
+ "end" : {
25
+ "line" : 1 ,
26
+ "column" : 10
27
+ }
28
+ },
29
+ "sourceType" : " script" ,
30
+ "body" : [
31
+ {
32
+ "type" : " ExpressionStatement" ,
33
+ "start" : 0 ,
34
+ "end" : 10 ,
35
+ "loc" : {
36
+ "start" : {
37
+ "line" : 1 ,
38
+ "column" : 0
39
+ },
40
+ "end" : {
41
+ "line" : 1 ,
42
+ "column" : 10
43
+ }
44
+ },
45
+ "expression" : {
46
+ "type" : " ArrowFunctionExpression" ,
47
+ "start" : 0 ,
48
+ "end" : 10 ,
49
+ "loc" : {
50
+ "start" : {
51
+ "line" : 1 ,
52
+ "column" : 0
53
+ },
54
+ "end" : {
55
+ "line" : 1 ,
56
+ "column" : 10
57
+ }
58
+ },
59
+ "id" : null ,
60
+ "generator" : false ,
61
+ "expression" : true ,
62
+ "async" : false ,
63
+ "params" : [],
64
+ "skinny" : true ,
65
+ "body" : {
66
+ "type" : " ArrayExpression" ,
67
+ "start" : 3 ,
68
+ "end" : 10 ,
69
+ "loc" : {
70
+ "start" : {
71
+ "line" : 1 ,
72
+ "column" : 3
73
+ },
74
+ "end" : {
75
+ "line" : 1 ,
76
+ "column" : 10
77
+ }
78
+ },
79
+ "elements" : [
80
+ {
81
+ "type" : " SpreadElement" ,
82
+ "start" : 4 ,
83
+ "end" : 9 ,
84
+ "loc" : {
85
+ "start" : {
86
+ "line" : 1 ,
87
+ "column" : 4
88
+ },
89
+ "end" : {
90
+ "line" : 1 ,
91
+ "column" : 9
92
+ }
93
+ },
94
+ "argument" : {
95
+ "type" : " PlaceholderExpression" ,
96
+ "start" : 7 ,
97
+ "end" : 9 ,
98
+ "loc" : {
99
+ "start" : {
100
+ "line" : 1 ,
101
+ "column" : 7
102
+ },
103
+ "end" : {
104
+ "line" : 1 ,
105
+ "column" : 9
106
+ }
107
+ },
108
+ "index" : 1
109
+ }
110
+ }
111
+ ]
112
+ }
113
+ }
114
+ }
115
+ ],
116
+ "directives" : []
117
+ }
118
+ }
Original file line number Diff line number Diff line change
1
+ - > [ ..._ ]
Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " File" ,
3
+ "start" : 0 ,
4
+ "end" : 9 ,
5
+ "loc" : {
6
+ "start" : {
7
+ "line" : 1 ,
8
+ "column" : 0
9
+ },
10
+ "end" : {
11
+ "line" : 1 ,
12
+ "column" : 9
13
+ }
14
+ },
15
+ "program" : {
16
+ "type" : " Program" ,
17
+ "start" : 0 ,
18
+ "end" : 9 ,
19
+ "loc" : {
20
+ "start" : {
21
+ "line" : 1 ,
22
+ "column" : 0
23
+ },
24
+ "end" : {
25
+ "line" : 1 ,
26
+ "column" : 9
27
+ }
28
+ },
29
+ "sourceType" : " script" ,
30
+ "body" : [
31
+ {
32
+ "type" : " ExpressionStatement" ,
33
+ "start" : 0 ,
34
+ "end" : 9 ,
35
+ "loc" : {
36
+ "start" : {
37
+ "line" : 1 ,
38
+ "column" : 0
39
+ },
40
+ "end" : {
41
+ "line" : 1 ,
42
+ "column" : 9
43
+ }
44
+ },
45
+ "expression" : {
46
+ "type" : " ArrowFunctionExpression" ,
47
+ "start" : 0 ,
48
+ "end" : 9 ,
49
+ "loc" : {
50
+ "start" : {
51
+ "line" : 1 ,
52
+ "column" : 0
53
+ },
54
+ "end" : {
55
+ "line" : 1 ,
56
+ "column" : 9
57
+ }
58
+ },
59
+ "id" : null ,
60
+ "generator" : false ,
61
+ "expression" : true ,
62
+ "async" : false ,
63
+ "params" : [],
64
+ "skinny" : true ,
65
+ "body" : {
66
+ "type" : " ArrayExpression" ,
67
+ "start" : 3 ,
68
+ "end" : 9 ,
69
+ "loc" : {
70
+ "start" : {
71
+ "line" : 1 ,
72
+ "column" : 3
73
+ },
74
+ "end" : {
75
+ "line" : 1 ,
76
+ "column" : 9
77
+ }
78
+ },
79
+ "elements" : [
80
+ {
81
+ "type" : " SpreadElement" ,
82
+ "start" : 4 ,
83
+ "end" : 8 ,
84
+ "loc" : {
85
+ "start" : {
86
+ "line" : 1 ,
87
+ "column" : 4
88
+ },
89
+ "end" : {
90
+ "line" : 1 ,
91
+ "column" : 8
92
+ }
93
+ },
94
+ "argument" : {
95
+ "type" : " PlaceholderExpression" ,
96
+ "start" : 7 ,
97
+ "end" : 8 ,
98
+ "loc" : {
99
+ "start" : {
100
+ "line" : 1 ,
101
+ "column" : 7
102
+ },
103
+ "end" : {
104
+ "line" : 1 ,
105
+ "column" : 8
106
+ }
107
+ }
108
+ }
109
+ }
110
+ ]
111
+ }
112
+ }
113
+ }
114
+ ],
115
+ "directives" : []
116
+ }
117
+ }
You can’t perform that action at this time.
0 commit comments