mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
95 lines
3.8 KiB
JSON
95 lines
3.8 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":14,"end":48,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":48,"index":48}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":18,"end":48,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":48,"index":48}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"start":22,"end":48,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":48,"index":48}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectMethod",
|
|
"start":24,"end":34,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":34,"index":34}},
|
|
"method": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":28,"end":29,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":29,"index":29},"identifierName":"i"},
|
|
"name": "i"
|
|
},
|
|
"computed": false,
|
|
"kind": "get",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":32,"end":34,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":34,"index":34}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectMethod",
|
|
"start":36,"end":46,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":46,"index":46}},
|
|
"method": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":40,"end":41,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":41,"index":41},"identifierName":"i"},
|
|
"name": "i"
|
|
},
|
|
"computed": false,
|
|
"kind": "get",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":44,"end":46,"loc":{"start":{"line":1,"column":44,"index":44},"end":{"line":1,"column":46,"index":46}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"kind": "var"
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"type": "Directive",
|
|
"start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
|
|
"value": {
|
|
"type": "DirectiveLiteral",
|
|
"start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
|
|
"extra": {
|
|
"rawValue": "use strict",
|
|
"raw": "\"use strict\"",
|
|
"expressionValue": "use strict"
|
|
},
|
|
"value": "use strict"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|