mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
62 lines
2.5 KiB
JSON
62 lines
2.5 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":12,"index":21}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":12,"index":21}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
|
|
"operator": "||=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"b"},
|
|
"name": "b"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":9,"end":21,"loc":{"start":{"line":2,"column":0,"index":9},"end":{"line":2,"column":12,"index":21}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":9,"end":20,"loc":{"start":{"line":2,"column":0,"index":9},"end":{"line":2,"column":11,"index":20}},
|
|
"operator": "||=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start":9,"end":14,"loc":{"start":{"line":2,"column":0,"index":9},"end":{"line":2,"column":5,"index":14}},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start":9,"end":12,"loc":{"start":{"line":2,"column":0,"index":9},"end":{"line":2,"column":3,"index":12},"identifierName":"obj"},
|
|
"name": "obj"
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":13,"end":14,"loc":{"start":{"line":2,"column":4,"index":13},"end":{"line":2,"column":5,"index":14},"identifierName":"a"},
|
|
"name": "a"
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":19,"end":20,"loc":{"start":{"line":2,"column":10,"index":19},"end":{"line":2,"column":11,"index":20},"identifierName":"b"},
|
|
"name": "b"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|