mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
134 lines
5.3 KiB
JSON
134 lines
5.3 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":117,"loc":{"start":{"line":1,"column":0},"end":{"line":9,"column":1}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":117,"loc":{"start":{"line":1,"column":0},"end":{"line":9,"column":1}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":0,"end":117,"loc":{"start":{"line":1,"column":0},"end":{"line":9,"column":1}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":16,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":16},"identifierName":"Reflection"},
|
|
"name": "Reflection",
|
|
"decorators": [],
|
|
"optional": false
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":17,"end":117,"loc":{"start":{"line":1,"column":17},"end":{"line":9,"column":1}},
|
|
"body": [
|
|
{
|
|
"type": "MethodDefinition",
|
|
"start":21,"end":78,"loc":{"start":{"line":2,"column":2},"end":{"line":4,"column":3}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":25,"end":35,"loc":{"start":{"line":2,"column":6},"end":{"line":2,"column":16},"identifierName":"attributes"},
|
|
"name": "attributes",
|
|
"decorators": [],
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"kind": "get",
|
|
"value": {
|
|
"type": "FunctionExpression",
|
|
"start":35,"end":78,"loc":{"start":{"line":2,"column":16},"end":{"line":4,"column":3}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"expression": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":38,"end":78,"loc":{"start":{"line":2,"column":19},"end":{"line":4,"column":3}},
|
|
"body": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start":44,"end":74,"loc":{"start":{"line":3,"column":4},"end":{"line":3,"column":34}},
|
|
"argument": {
|
|
"type": "CallExpression",
|
|
"start":51,"end":74,"loc":{"start":{"line":3,"column":11},"end":{"line":3,"column":34}},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start":51,"end":72,"loc":{"start":{"line":3,"column":11},"end":{"line":3,"column":32}},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start":51,"end":55,"loc":{"start":{"line":3,"column":11},"end":{"line":3,"column":15}}
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "PrivateIdentifier",
|
|
"start":56,"end":72,"loc":{"start":{"line":3,"column":16},"end":{"line":3,"column":32}},
|
|
"name": "parseAttributes"
|
|
},
|
|
"optional": false
|
|
},
|
|
"arguments": [],
|
|
"optional": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"declare": false
|
|
},
|
|
"decorators": [],
|
|
"override": false,
|
|
"optional": false
|
|
},
|
|
{
|
|
"type": "MethodDefinition",
|
|
"start":82,"end":115,"loc":{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "PrivateIdentifier",
|
|
"start":82,"end":98,"loc":{"start":{"line":6,"column":2},"end":{"line":6,"column":18}},
|
|
"name": "parseAttributes"
|
|
},
|
|
"kind": "method",
|
|
"value": {
|
|
"type": "FunctionExpression",
|
|
"start":98,"end":115,"loc":{"start":{"line":6,"column":18},"end":{"line":8,"column":3}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"expression": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":101,"end":115,"loc":{"start":{"line":6,"column":21},"end":{"line":8,"column":3}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":107,"end":111,"loc":{"start":{"line":7,"column":4},"end":{"line":7,"column":8}},
|
|
"expression": {
|
|
"type": "Literal",
|
|
"start":107,"end":110,"loc":{"start":{"line":7,"column":4},"end":{"line":7,"column":7}},
|
|
"value": 111,
|
|
"raw": "111"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"declare": false
|
|
},
|
|
"computed": false,
|
|
"decorators": [],
|
|
"override": false,
|
|
"optional": false
|
|
}
|
|
]
|
|
},
|
|
"abstract": false,
|
|
"declare": false,
|
|
"decorators": [],
|
|
"implements": []
|
|
}
|
|
]
|
|
}
|
|
}
|