mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
60 lines
2.2 KiB
JSON
60 lines
2.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":32}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":32}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "BlockStatement",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":32}},
|
|
"body": [
|
|
{
|
|
"type": "ThrowStatement",
|
|
"start":2,"end":13,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":13,"index":13}},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13},"identifierName":"error"},
|
|
"name": "error"
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Comment",
|
|
"start":13,"end":23,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":23,"index":23}}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":24,"end":30,"loc":{"start":{"line":2,"column":0,"index":24},"end":{"line":2,"column":6,"index":30}},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"start":24,"end":29,"loc":{"start":{"line":2,"column":0,"index":24},"end":{"line":2,"column":5,"index":29},"identifierName":"error"},
|
|
"name": "error"
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Comment",
|
|
"start":13,"end":23,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":23,"index":23}}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " Comment",
|
|
"start":13,"end":23,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":23,"index":23}}
|
|
}
|
|
]
|
|
}
|