mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
76 lines
2.9 KiB
JSON
76 lines
2.9 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":39}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":39}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":39}},
|
|
"test": {
|
|
"type": "BooleanLiteral",
|
|
"start":4,"end":9,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":9,"index":9}},
|
|
"value": false
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start":11,"end":39,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":4,"column":1,"index":39}},
|
|
"body": [
|
|
{
|
|
"type": "LabeledStatement",
|
|
"start":17,"end":23,"loc":{"start":{"line":2,"column":4,"index":17},"end":{"line":2,"column":10,"index":23}},
|
|
"body": {
|
|
"type": "ExpressionStatement",
|
|
"start":20,"end":23,"loc":{"start":{"line":2,"column":7,"index":20},"end":{"line":2,"column":10,"index":23}},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"start":20,"end":23,"loc":{"start":{"line":2,"column":7,"index":20},"end":{"line":2,"column":10,"index":23},"identifierName":"let"},
|
|
"name": "let"
|
|
}
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"start":17,"end":18,"loc":{"start":{"line":2,"column":4,"index":17},"end":{"line":2,"column":5,"index":18},"identifierName":"L"},
|
|
"name": "L"
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " ASI",
|
|
"start":24,"end":30,"loc":{"start":{"line":2,"column":11,"index":24},"end":{"line":2,"column":17,"index":30}}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "BlockStatement",
|
|
"start":35,"end":37,"loc":{"start":{"line":3,"column":4,"index":35},"end":{"line":3,"column":6,"index":37}},
|
|
"body": [],
|
|
"directives": [],
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " ASI",
|
|
"start":24,"end":30,"loc":{"start":{"line":2,"column":11,"index":24},"end":{"line":2,"column":17,"index":30}}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " ASI",
|
|
"start":24,"end":30,"loc":{"start":{"line":2,"column":11,"index":24},"end":{"line":2,"column":17,"index":30}}
|
|
}
|
|
]
|
|
}
|