forked from babel/babel
/
output.json
107 lines (107 loc) 路 3.76 KB
/
output.json
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
{
"type": "File",
"start":0,"end":49,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}},
"errors": [
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (4:4)",
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (4:9)"
],
"program": {
"type": "Program",
"start":0,"end":49,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":11,"end":49,"loc":{"start":{"line":2,"column":0},"end":{"line":5,"column":1}},
"expression": {
"type": "ArrowFunctionExpression",
"start":11,"end":49,"loc":{"start":{"line":2,"column":0},"end":{"line":5,"column":1}},
"id": null,
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":17,"end":49,"loc":{"start":{"line":2,"column":6},"end":{"line":5,"column":1}},
"body": [],
"directives": [
{
"type": "Directive",
"start":21,"end":34,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":15}},
"value": {
"type": "DirectiveLiteral",
"start":21,"end":33,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":14}},
"extra": {
"rawValue": "use strict",
"raw": "\"use strict\"",
"expressionValue": "use strict"
},
"value": "use strict"
}
},
{
"type": "Directive",
"start":37,"end":42,"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":7}},
"value": {
"type": "DirectiveLiteral",
"start":37,"end":41,"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":6}},
"extra": {
"rawValue": "\\8",
"raw": "\"\\8\"",
"expressionValue": "8"
},
"value": "\\8"
}
},
{
"type": "Directive",
"start":42,"end":47,"loc":{"start":{"line":4,"column":7},"end":{"line":4,"column":12}},
"value": {
"type": "DirectiveLiteral",
"start":42,"end":46,"loc":{"start":{"line":4,"column":7},"end":{"line":4,"column":11}},
"extra": {
"rawValue": "\\9",
"raw": "\"\\9\"",
"expressionValue": "9"
},
"value": "\\9"
}
}
]
}
}
}
],
"directives": [
{
"type": "Directive",
"start":0,"end":5,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}},
"value": {
"type": "DirectiveLiteral",
"start":0,"end":4,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}},
"extra": {
"rawValue": "\\8",
"raw": "\"\\8\"",
"expressionValue": "8"
},
"value": "\\8"
}
},
{
"type": "Directive",
"start":5,"end":10,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":10}},
"value": {
"type": "DirectiveLiteral",
"start":5,"end":9,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":9}},
"extra": {
"rawValue": "\\9",
"raw": "\"\\9\"",
"expressionValue": "9"
},
"value": "\\9"
}
}
]
}
}