mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
516 lines
21 KiB
JSON
516 lines
21 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":381,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":50,"column":1,"index":381}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":381,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":50,"column":1,"index":381}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":34}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":8,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":8,"index":8},"identifierName":"A1"},
|
|
"name": "A1"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":9,"end":34,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":5,"column":1,"index":34}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":13,"end":23,"loc":{"start":{"line":2,"column":2,"index":13},"end":{"line":3,"column":3,"index":23}},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":22,"end":23,"loc":{"start":{"line":3,"column":2,"index":22},"end":{"line":3,"column":3,"index":23},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":26,"end":32,"loc":{"start":{"line":4,"column":2,"index":26},"end":{"line":4,"column":8,"index":32}},
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":26,"end":32,"loc":{"start":{"line":4,"column":2,"index":26},"end":{"line":4,"column":8,"index":32},"identifierName":"static"},
|
|
"name": "static"
|
|
},
|
|
"static": false,
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":36,"end":50,"loc":{"start":{"line":7,"column":0,"index":36},"end":{"line":7,"column":14,"index":50}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":42,"end":44,"loc":{"start":{"line":7,"column":6,"index":42},"end":{"line":7,"column":8,"index":44},"identifierName":"A2"},
|
|
"name": "A2"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":45,"end":50,"loc":{"start":{"line":7,"column":9,"index":45},"end":{"line":7,"column":14,"index":50}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":47,"end":48,"loc":{"start":{"line":7,"column":11,"index":47},"end":{"line":7,"column":12,"index":48}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":47,"end":48,"loc":{"start":{"line":7,"column":11,"index":47},"end":{"line":7,"column":12,"index":48},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":51,"end":67,"loc":{"start":{"line":8,"column":0,"index":51},"end":{"line":8,"column":16,"index":67}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":57,"end":59,"loc":{"start":{"line":8,"column":6,"index":57},"end":{"line":8,"column":8,"index":59},"identifierName":"A3"},
|
|
"name": "A3"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":60,"end":67,"loc":{"start":{"line":8,"column":9,"index":60},"end":{"line":8,"column":16,"index":67}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":62,"end":65,"loc":{"start":{"line":8,"column":11,"index":62},"end":{"line":8,"column":14,"index":65}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":62,"end":65,"loc":{"start":{"line":8,"column":11,"index":62},"end":{"line":8,"column":14,"index":65},"identifierName":"get"},
|
|
"name": "get"
|
|
},
|
|
"computed": false,
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":68,"end":84,"loc":{"start":{"line":9,"column":0,"index":68},"end":{"line":9,"column":16,"index":84}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":74,"end":76,"loc":{"start":{"line":9,"column":6,"index":74},"end":{"line":9,"column":8,"index":76},"identifierName":"A4"},
|
|
"name": "A4"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":77,"end":84,"loc":{"start":{"line":9,"column":9,"index":77},"end":{"line":9,"column":16,"index":84}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":79,"end":82,"loc":{"start":{"line":9,"column":11,"index":79},"end":{"line":9,"column":14,"index":82}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":79,"end":82,"loc":{"start":{"line":9,"column":11,"index":79},"end":{"line":9,"column":14,"index":82},"identifierName":"set"},
|
|
"name": "set"
|
|
},
|
|
"computed": false,
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":85,"end":104,"loc":{"start":{"line":10,"column":0,"index":85},"end":{"line":10,"column":19,"index":104}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":91,"end":93,"loc":{"start":{"line":10,"column":6,"index":91},"end":{"line":10,"column":8,"index":93},"identifierName":"A5"},
|
|
"name": "A5"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":94,"end":104,"loc":{"start":{"line":10,"column":9,"index":94},"end":{"line":10,"column":19,"index":104}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":96,"end":102,"loc":{"start":{"line":10,"column":11,"index":96},"end":{"line":10,"column":17,"index":102}},
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":96,"end":102,"loc":{"start":{"line":10,"column":11,"index":96},"end":{"line":10,"column":17,"index":102},"identifierName":"static"},
|
|
"name": "static"
|
|
},
|
|
"static": false,
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":105,"end":123,"loc":{"start":{"line":11,"column":0,"index":105},"end":{"line":11,"column":18,"index":123}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":111,"end":113,"loc":{"start":{"line":11,"column":6,"index":111},"end":{"line":11,"column":8,"index":113},"identifierName":"A6"},
|
|
"name": "A6"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":114,"end":123,"loc":{"start":{"line":11,"column":9,"index":114},"end":{"line":11,"column":18,"index":123}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":116,"end":121,"loc":{"start":{"line":11,"column":11,"index":116},"end":{"line":11,"column":16,"index":121}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":116,"end":121,"loc":{"start":{"line":11,"column":11,"index":116},"end":{"line":11,"column":16,"index":121},"identifierName":"async"},
|
|
"name": "async"
|
|
},
|
|
"computed": false,
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":125,"end":152,"loc":{"start":{"line":13,"column":0,"index":125},"end":{"line":16,"column":1,"index":152}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":131,"end":133,"loc":{"start":{"line":13,"column":6,"index":131},"end":{"line":13,"column":8,"index":133},"identifierName":"A7"},
|
|
"name": "A7"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":134,"end":152,"loc":{"start":{"line":13,"column":9,"index":134},"end":{"line":16,"column":1,"index":152}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":138,"end":141,"loc":{"start":{"line":14,"column":2,"index":138},"end":{"line":14,"column":5,"index":141}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":138,"end":141,"loc":{"start":{"line":14,"column":2,"index":138},"end":{"line":14,"column":5,"index":141},"identifierName":"get"},
|
|
"name": "get"
|
|
},
|
|
"computed": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":144,"end":150,"loc":{"start":{"line":15,"column":2,"index":144},"end":{"line":15,"column":8,"index":150}},
|
|
"static": false,
|
|
"kind": "method",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":145,"end":146,"loc":{"start":{"line":15,"column":3,"index":145},"end":{"line":15,"column":4,"index":146},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"id": null,
|
|
"generator": true,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":148,"end":150,"loc":{"start":{"line":15,"column":6,"index":148},"end":{"line":15,"column":8,"index":150}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":154,"end":184,"loc":{"start":{"line":18,"column":0,"index":154},"end":{"line":21,"column":1,"index":184}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":160,"end":162,"loc":{"start":{"line":18,"column":6,"index":160},"end":{"line":18,"column":8,"index":162},"identifierName":"A8"},
|
|
"name": "A8"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":163,"end":184,"loc":{"start":{"line":18,"column":9,"index":163},"end":{"line":21,"column":1,"index":184}},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":167,"end":182,"loc":{"start":{"line":19,"column":2,"index":167},"end":{"line":20,"column":8,"index":182}},
|
|
"static": true,
|
|
"kind": "method",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":177,"end":178,"loc":{"start":{"line":20,"column":3,"index":177},"end":{"line":20,"column":4,"index":178},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"id": null,
|
|
"generator": true,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":180,"end":182,"loc":{"start":{"line":20,"column":6,"index":180},"end":{"line":20,"column":8,"index":182}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":186,"end":214,"loc":{"start":{"line":23,"column":0,"index":186},"end":{"line":26,"column":1,"index":214}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":192,"end":194,"loc":{"start":{"line":23,"column":6,"index":192},"end":{"line":23,"column":8,"index":194},"identifierName":"A9"},
|
|
"name": "A9"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":195,"end":214,"loc":{"start":{"line":23,"column":9,"index":195},"end":{"line":26,"column":1,"index":214}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":199,"end":204,"loc":{"start":{"line":24,"column":2,"index":199},"end":{"line":24,"column":7,"index":204}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":199,"end":204,"loc":{"start":{"line":24,"column":2,"index":199},"end":{"line":24,"column":7,"index":204},"identifierName":"async"},
|
|
"name": "async"
|
|
},
|
|
"computed": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":207,"end":212,"loc":{"start":{"line":25,"column":2,"index":207},"end":{"line":25,"column":7,"index":212}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":207,"end":208,"loc":{"start":{"line":25,"column":2,"index":207},"end":{"line":25,"column":3,"index":208},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":210,"end":212,"loc":{"start":{"line":25,"column":5,"index":210},"end":{"line":25,"column":7,"index":212}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":216,"end":250,"loc":{"start":{"line":28,"column":0,"index":216},"end":{"line":32,"column":1,"index":250}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":222,"end":225,"loc":{"start":{"line":28,"column":6,"index":222},"end":{"line":28,"column":9,"index":225},"identifierName":"A10"},
|
|
"name": "A10"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":226,"end":250,"loc":{"start":{"line":28,"column":10,"index":226},"end":{"line":32,"column":1,"index":250}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":230,"end":244,"loc":{"start":{"line":29,"column":2,"index":230},"end":{"line":30,"column":7,"index":244}},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":239,"end":244,"loc":{"start":{"line":30,"column":2,"index":239},"end":{"line":30,"column":7,"index":244},"identifierName":"async"},
|
|
"name": "async"
|
|
},
|
|
"computed": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":247,"end":248,"loc":{"start":{"line":31,"column":2,"index":247},"end":{"line":31,"column":3,"index":248}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":247,"end":248,"loc":{"start":{"line":31,"column":2,"index":247},"end":{"line":31,"column":3,"index":248},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":252,"end":273,"loc":{"start":{"line":34,"column":0,"index":252},"end":{"line":34,"column":21,"index":273}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":258,"end":261,"loc":{"start":{"line":34,"column":6,"index":258},"end":{"line":34,"column":9,"index":261},"identifierName":"A11"},
|
|
"name": "A11"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":262,"end":273,"loc":{"start":{"line":34,"column":10,"index":262},"end":{"line":34,"column":21,"index":273}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":264,"end":271,"loc":{"start":{"line":34,"column":12,"index":264},"end":{"line":34,"column":19,"index":271}},
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":264,"end":270,"loc":{"start":{"line":34,"column":12,"index":264},"end":{"line":34,"column":18,"index":270},"identifierName":"static"},
|
|
"name": "static"
|
|
},
|
|
"static": false,
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":275,"end":302,"loc":{"start":{"line":36,"column":0,"index":275},"end":{"line":38,"column":1,"index":302}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":281,"end":284,"loc":{"start":{"line":36,"column":6,"index":281},"end":{"line":36,"column":9,"index":284},"identifierName":"A12"},
|
|
"name": "A12"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":285,"end":302,"loc":{"start":{"line":36,"column":10,"index":285},"end":{"line":38,"column":1,"index":302}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":289,"end":300,"loc":{"start":{"line":37,"column":2,"index":289},"end":{"line":37,"column":13,"index":300}},
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":289,"end":295,"loc":{"start":{"line":37,"column":2,"index":289},"end":{"line":37,"column":8,"index":295},"identifierName":"static"},
|
|
"name": "static"
|
|
},
|
|
"static": false,
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"start":298,"end":299,"loc":{"start":{"line":37,"column":11,"index":298},"end":{"line":37,"column":12,"index":299}},
|
|
"extra": {
|
|
"rawValue": 0,
|
|
"raw": "0"
|
|
},
|
|
"value": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":304,"end":335,"loc":{"start":{"line":40,"column":0,"index":304},"end":{"line":43,"column":1,"index":335}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":310,"end":313,"loc":{"start":{"line":40,"column":6,"index":310},"end":{"line":40,"column":9,"index":313},"identifierName":"A13"},
|
|
"name": "A13"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":314,"end":335,"loc":{"start":{"line":40,"column":10,"index":314},"end":{"line":43,"column":1,"index":335}},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":318,"end":333,"loc":{"start":{"line":41,"column":2,"index":318},"end":{"line":42,"column":11,"index":333}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"start":325,"end":328,"loc":{"start":{"line":42,"column":3,"index":325},"end":{"line":42,"column":6,"index":328}},
|
|
"extra": {
|
|
"rawValue": "a",
|
|
"raw": "'a'"
|
|
},
|
|
"value": "a"
|
|
},
|
|
"computed": true,
|
|
"kind": "get",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":331,"end":333,"loc":{"start":{"line":42,"column":9,"index":331},"end":{"line":42,"column":11,"index":333}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":337,"end":381,"loc":{"start":{"line":45,"column":0,"index":337},"end":{"line":50,"column":1,"index":381}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":343,"end":346,"loc":{"start":{"line":45,"column":6,"index":343},"end":{"line":45,"column":9,"index":346},"identifierName":"A14"},
|
|
"name": "A14"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":347,"end":381,"loc":{"start":{"line":45,"column":10,"index":347},"end":{"line":50,"column":1,"index":381}},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":351,"end":379,"loc":{"start":{"line":46,"column":2,"index":351},"end":{"line":49,"column":6,"index":379}},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":366,"end":372,"loc":{"start":{"line":48,"column":2,"index":366},"end":{"line":48,"column":8,"index":372},"identifierName":"static"},
|
|
"name": "static"
|
|
},
|
|
"computed": false,
|
|
"kind": "get",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":377,"end":379,"loc":{"start":{"line":49,"column":4,"index":377},"end":{"line":49,"column":6,"index":379}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|