mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
74 lines
3.0 KiB
JSON
74 lines
3.0 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "DoWhileStatement",
|
|
"start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":3,"end":16,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":16,"index":16}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":5,"end":9,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":9,"index":9}},
|
|
"expression": {
|
|
"type": "UpdateExpression",
|
|
"start":5,"end":8,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":8,"index":8}},
|
|
"operator": "++",
|
|
"prefix": false,
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"x"},
|
|
"name": "x"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":10,"end":14,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":14,"index":14}},
|
|
"expression": {
|
|
"type": "UpdateExpression",
|
|
"start":10,"end":13,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":13,"index":13}},
|
|
"operator": "--",
|
|
"prefix": false,
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"y"},
|
|
"name": "y"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"start":24,"end":30,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":30,"index":30}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"operator": "<",
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start":28,"end":30,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":30,"index":30}},
|
|
"extra": {
|
|
"rawValue": 10,
|
|
"raw": "10"
|
|
},
|
|
"value": 10
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|