forked from babel/babel
/
output.json
125 lines (125 loc) 路 4.46 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"type": "File",
"start":0,"end":84,"loc":{"start":{"line":1,"column":0},"end":{"line":10,"column":1}},
"errors": [
"SyntaxError: Legacy octal literals are not allowed in strict mode. (3:2)",
"SyntaxError: Legacy octal literals are not allowed in strict mode. (8:2)",
"SyntaxError: Legacy octal literals are not allowed in strict mode. (9:2)"
],
"program": {
"type": "Program",
"start":0,"end":84,"loc":{"start":{"line":1,"column":0},"end":{"line":10,"column":1}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "FunctionDeclaration",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":1}},
"id": {
"type": "Identifier",
"start":9,"end":10,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10},"identifierName":"c"},
"name": "c"
},
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":13,"end":38,"loc":{"start":{"line":1,"column":13},"end":{"line":4,"column":1}},
"body": [
{
"type": "ExpressionStatement",
"start":33,"end":36,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":5}},
"expression": {
"type": "NumericLiteral",
"start":33,"end":35,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":4}},
"extra": {
"rawValue": 5,
"raw": "05"
},
"value": 5
}
}
],
"directives": [
{
"type": "Directive",
"start":17,"end":30,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":15}},
"value": {
"type": "DirectiveLiteral",
"start":17,"end":29,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":14}},
"extra": {
"rawValue": "use strict",
"raw": "\"use strict\"",
"expressionValue": "use strict"
},
"value": "use strict"
}
}
]
}
},
{
"type": "FunctionDeclaration",
"start":40,"end":84,"loc":{"start":{"line":6,"column":0},"end":{"line":10,"column":1}},
"id": {
"type": "Identifier",
"start":49,"end":50,"loc":{"start":{"line":6,"column":9},"end":{"line":6,"column":10},"identifierName":"d"},
"name": "d"
},
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":53,"end":84,"loc":{"start":{"line":6,"column":13},"end":{"line":10,"column":1}},
"body": [
{
"type": "ExpressionStatement",
"start":73,"end":76,"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":5}},
"expression": {
"type": "NumericLiteral",
"start":73,"end":75,"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":4}},
"extra": {
"rawValue": 4,
"raw": "04"
},
"value": 4
}
},
{
"type": "ExpressionStatement",
"start":79,"end":82,"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":5}},
"expression": {
"type": "NumericLiteral",
"start":79,"end":81,"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":4}},
"extra": {
"rawValue": 5,
"raw": "05"
},
"value": 5
}
}
],
"directives": [
{
"type": "Directive",
"start":57,"end":70,"loc":{"start":{"line":7,"column":2},"end":{"line":7,"column":15}},
"value": {
"type": "DirectiveLiteral",
"start":57,"end":69,"loc":{"start":{"line":7,"column":2},"end":{"line":7,"column":14}},
"extra": {
"rawValue": "use strict",
"raw": "\"use strict\"",
"expressionValue": "use strict"
},
"value": "use strict"
}
}
]
}
}
],
"directives": []
}
}