mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
eaeffabf74
swc_ecma_ast: - Add `BindingIdent`. - Reduce size of `Ident`.
172 lines
3.9 KiB
JSON
172 lines
3.9 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "JSXFragment",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningFragment",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 30,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\n ",
|
|
"raw": "\n\n "
|
|
},
|
|
{
|
|
"type": "JSXElement",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 44,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningElement",
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 34,
|
|
"end": 37,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"optional": false
|
|
},
|
|
"span": {
|
|
"start": 33,
|
|
"end": 38,
|
|
"ctxt": 0
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false,
|
|
"typeArguments": null
|
|
},
|
|
"children": [],
|
|
"closing": {
|
|
"type": "JSXClosingElement",
|
|
"span": {
|
|
"start": 38,
|
|
"end": 44,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 40,
|
|
"end": 43,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 44,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\n ",
|
|
"raw": "\n\n "
|
|
},
|
|
{
|
|
"type": "JSXElement",
|
|
"span": {
|
|
"start": 47,
|
|
"end": 58,
|
|
"ctxt": 0
|
|
},
|
|
"opening": {
|
|
"type": "JSXOpeningElement",
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 48,
|
|
"end": 51,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"optional": false
|
|
},
|
|
"span": {
|
|
"start": 47,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"attributes": [],
|
|
"selfClosing": false,
|
|
"typeArguments": null
|
|
},
|
|
"children": [],
|
|
"closing": {
|
|
"type": "JSXClosingElement",
|
|
"span": {
|
|
"start": 52,
|
|
"end": 58,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 57,
|
|
"ctxt": 0
|
|
},
|
|
"value": "div",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "JSXText",
|
|
"span": {
|
|
"start": 58,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"value": "\n\n",
|
|
"raw": "\n\n"
|
|
}
|
|
],
|
|
"closing": {
|
|
"type": "JSXClosingFragment",
|
|
"span": {
|
|
"start": 59,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|