mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
790a262c07
swc_babel_ast: - Rename as `swc_estree_ast`. swc_babel_compat: - Rename as `swc_estree_compat`. swc_babel_visit: - Rename as `swc_estree_visit`.
144 lines
4.6 KiB
JSON
144 lines
4.6 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 29,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 0
|
|
}
|
|
},
|
|
"errors": [],
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 29,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 0
|
|
}
|
|
},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start": 0,
|
|
"end": 28,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 6,
|
|
"end": 10,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 10
|
|
},
|
|
"identifierName": "None"
|
|
},
|
|
"name": "None"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 11,
|
|
"end": 28,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 17,
|
|
"end": 26,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 13
|
|
}
|
|
},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 17,
|
|
"end": 21,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 8
|
|
},
|
|
"identifierName": "stub"
|
|
},
|
|
"name": "stub"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 24,
|
|
"end": 26,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": []
|
|
}
|