mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
91 lines
3.8 KiB
JSON
91 lines
3.8 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":44,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":44}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":44,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":44}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":0,"end":44,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":44}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":6,"end":44,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":4,"column":1,"index":44}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"start":10,"end":44,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":4,"column":1,"index":44}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start":14,"end":24,"loc":{"start":{"line":2,"column":2,"index":14},"end":{"line":2,"column":12,"index":24}},
|
|
"method": false,
|
|
"key": {
|
|
"type": "Placeholder",
|
|
"start":14,"end":21,"loc":{"start":{"line":2,"column":2,"index":14},"end":{"line":2,"column":9,"index":21}},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start":16,"end":19,"loc":{"start":{"line":2,"column":4,"index":16},"end":{"line":2,"column":7,"index":19},"identifierName":"key"},
|
|
"name": "key"
|
|
},
|
|
"expectedNode": "Identifier"
|
|
},
|
|
"computed": false,
|
|
"shorthand": false,
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"start":23,"end":24,"loc":{"start":{"line":2,"column":11,"index":23},"end":{"line":2,"column":12,"index":24}},
|
|
"extra": {
|
|
"rawValue": 1,
|
|
"raw": "1"
|
|
},
|
|
"value": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start":28,"end":41,"loc":{"start":{"line":3,"column":2,"index":28},"end":{"line":3,"column":15,"index":41}},
|
|
"method": false,
|
|
"computed": true,
|
|
"key": {
|
|
"type": "Placeholder",
|
|
"start":29,"end":37,"loc":{"start":{"line":3,"column":3,"index":29},"end":{"line":3,"column":11,"index":37}},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start":31,"end":35,"loc":{"start":{"line":3,"column":5,"index":31},"end":{"line":3,"column":9,"index":35},"identifierName":"key2"},
|
|
"name": "key2"
|
|
},
|
|
"expectedNode": "Expression"
|
|
},
|
|
"shorthand": false,
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"start":40,"end":41,"loc":{"start":{"line":3,"column":14,"index":40},"end":{"line":3,"column":15,"index":41}},
|
|
"extra": {
|
|
"rawValue": 2,
|
|
"raw": "2"
|
|
},
|
|
"value": 2
|
|
}
|
|
}
|
|
],
|
|
"extra": {
|
|
"trailingComma": 41
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|