mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
73 lines
2.9 KiB
JSON
73 lines
2.9 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":24}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":24}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "BlockStatement",
|
|
"start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":24}},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":2,"end":19,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":19,"index":19}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":6,"end":12,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":12,"index":12}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"init": {
|
|
"type": "NumericLiteral",
|
|
"start":10,"end":12,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":12,"index":12}},
|
|
"extra": {
|
|
"rawValue": 14,
|
|
"raw": "14"
|
|
},
|
|
"value": 14
|
|
}
|
|
},
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":14,"end":19,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":19,"index":19}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15},"identifierName":"y"},
|
|
"name": "y"
|
|
},
|
|
"init": {
|
|
"type": "NumericLiteral",
|
|
"start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19}},
|
|
"extra": {
|
|
"rawValue": 3,
|
|
"raw": "3"
|
|
},
|
|
"value": 3
|
|
}
|
|
}
|
|
],
|
|
"kind": "var"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":20,"end":22,"loc":{"start":{"line":2,"column":0,"index":20},"end":{"line":2,"column":2,"index":22}},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"start":20,"end":21,"loc":{"start":{"line":2,"column":0,"index":20},"end":{"line":2,"column":1,"index":21},"identifierName":"z"},
|
|
"name": "z"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|