mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
46 lines
1.7 KiB
JSON
46 lines
1.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":14,"index":28}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":14,"index":28}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "WhileStatement",
|
|
"start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":14,"index":28}},
|
|
"test": {
|
|
"type": "NumericLiteral",
|
|
"start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8}},
|
|
"extra": {
|
|
"rawValue": 0,
|
|
"raw": "0"
|
|
},
|
|
"value": 0
|
|
},
|
|
"body": {
|
|
"type": "ExpressionStatement",
|
|
"start":10,"end":28,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":2,"column":14,"index":28}},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"start":10,"end":28,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":2,"column":14,"index":28}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":10,"end":13,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":13,"index":13},"identifierName":"let"},
|
|
"name": "let"
|
|
},
|
|
"operator": "instanceof",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":25,"end":28,"loc":{"start":{"line":2,"column":11,"index":25},"end":{"line":2,"column":14,"index":28},"identifierName":"Foo"},
|
|
"name": "Foo"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|