/
output.json
91 lines (91 loc) 路 3.69 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
{
"type": "File",
"start":0,"end":22,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}},
"errors": [
{
"$$ babel internal serialized type": "Error",
"message": "Invalid parenthesized assignment pattern (1:7)",
"name": "SyntaxError",
"code": "BABEL_PARSER_SYNTAX_ERROR",
"reasonCode": "InvalidParenthesizedAssignment"
}
],
"program": {
"type": "Program",
"start":0,"end":22,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":22,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}},
"expression": {
"type": "AssignmentExpression",
"start":0,"end":22,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}},
"operator": "=",
"left": {
"type": "ArrayPattern",
"start":0,"end":18,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}},
"elements": [
{
"type": "ObjectPattern",
"start":1,"end":17,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":17}},
"properties": [
{
"type": "Property",
"start":2,"end":16,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":16}},
"method": false,
"key": {
"type": "Identifier",
"start":2,"end":3,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":3},"identifierName":"b"},
"name": "b"
},
"computed": false,
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start":5,"end":16,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":16}},
"elements": [
{
"type": "ArrayPattern",
"start":7,"end":14,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":14}},
"extra": {
"parenthesized": true,
"parenStart": 6
},
"elements": [
{
"type": "AssignmentPattern",
"start":8,"end":13,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":13}},
"left": {
"type": "Identifier",
"start":8,"end":9,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9},"identifierName":"a"},
"name": "a"
},
"right": {
"type": "Literal",
"start":12,"end":13,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}},
"value": 1,
"raw": "1"
}
}
]
}
]
},
"kind": "init"
}
]
}
]
},
"right": {
"type": "Identifier",
"start":21,"end":22,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22},"identifierName":"t"},
"name": "t"
}
}
}
]
}
}