mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
197 lines
7.7 KiB
JSON
197 lines
7.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":114,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":114,"index":114}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":114,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":114,"index":114}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":114,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":114,"index":114}},
|
|
"expression": {
|
|
"type": "ClassExpression",
|
|
"start":9,"end":103,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":103,"index":103}},
|
|
"id": null,
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":23,"end":103,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":103,"index":103}},
|
|
"body": [
|
|
{
|
|
"type": "ClassPrivateMethod",
|
|
"start":33,"end":92,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":92,"index":92}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "PrivateName",
|
|
"start":33,"end":35,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":35,"index":35}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35},"identifierName":"f"},
|
|
"name": "f"
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 4 ",
|
|
"start":36,"end":43,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":43,"index":43}}
|
|
}
|
|
]
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":53,"end":54,"loc":{"start":{"line":1,"column":53,"index":53},"end":{"line":1,"column":54,"index":54},"identifierName":"a"},
|
|
"name": "a",
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 6 ",
|
|
"start":55,"end":62,"loc":{"start":{"line":1,"column":55,"index":55},"end":{"line":1,"column":62,"index":62}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 7 ",
|
|
"start":64,"end":71,"loc":{"start":{"line":1,"column":64,"index":64},"end":{"line":1,"column":71,"index":71}}
|
|
}
|
|
],
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 5 ",
|
|
"start":45,"end":52,"loc":{"start":{"line":1,"column":45,"index":45},"end":{"line":1,"column":52,"index":52}}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":81,"end":92,"loc":{"start":{"line":1,"column":81,"index":81},"end":{"line":1,"column":92,"index":92}},
|
|
"body": [],
|
|
"directives": [],
|
|
"innerComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 9 ",
|
|
"start":83,"end":90,"loc":{"start":{"line":1,"column":83,"index":83},"end":{"line":1,"column":90,"index":90}}
|
|
}
|
|
],
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 8 ",
|
|
"start":73,"end":80,"loc":{"start":{"line":1,"column":73,"index":73},"end":{"line":1,"column":80,"index":80}}
|
|
}
|
|
]
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 10 ",
|
|
"start":93,"end":101,"loc":{"start":{"line":1,"column":93,"index":93},"end":{"line":1,"column":101,"index":101}}
|
|
}
|
|
],
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 3 ",
|
|
"start":25,"end":32,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":32,"index":32}}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 2 ",
|
|
"start":15,"end":22,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":22,"index":22}}
|
|
}
|
|
]
|
|
},
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 0
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 11 ",
|
|
"start":104,"end":112,"loc":{"start":{"line":1,"column":104,"index":104},"end":{"line":1,"column":112,"index":112}}
|
|
}
|
|
],
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 1 ",
|
|
"start":1,"end":8,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":8,"index":8}}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 1 ",
|
|
"start":1,"end":8,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":8,"index":8}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 2 ",
|
|
"start":15,"end":22,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":22,"index":22}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 3 ",
|
|
"start":25,"end":32,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":32,"index":32}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 4 ",
|
|
"start":36,"end":43,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":43,"index":43}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 5 ",
|
|
"start":45,"end":52,"loc":{"start":{"line":1,"column":45,"index":45},"end":{"line":1,"column":52,"index":52}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 6 ",
|
|
"start":55,"end":62,"loc":{"start":{"line":1,"column":55,"index":55},"end":{"line":1,"column":62,"index":62}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 7 ",
|
|
"start":64,"end":71,"loc":{"start":{"line":1,"column":64,"index":64},"end":{"line":1,"column":71,"index":71}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 8 ",
|
|
"start":73,"end":80,"loc":{"start":{"line":1,"column":73,"index":73},"end":{"line":1,"column":80,"index":80}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 9 ",
|
|
"start":83,"end":90,"loc":{"start":{"line":1,"column":83,"index":83},"end":{"line":1,"column":90,"index":90}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 10 ",
|
|
"start":93,"end":101,"loc":{"start":{"line":1,"column":93,"index":93},"end":{"line":1,"column":101,"index":101}}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 11 ",
|
|
"start":104,"end":112,"loc":{"start":{"line":1,"column":104,"index":104},"end":{"line":1,"column":112,"index":112}}
|
|
}
|
|
]
|
|
}
|