swc/crates/swc_ecma_parser/tests/tsc/plainJSGrammarErrors2.json

81 lines
1.5 KiB
JSON

{
"type": "Module",
"span": {
"start": 134,
"end": 231,
"ctxt": 0
},
"body": [
{
"type": "ExportDefaultExpression",
"span": {
"start": 134,
"end": 151,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 149,
"end": 150,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"type": "ExportNamedDeclaration",
"span": {
"start": 196,
"end": 231,
"ctxt": 0
},
"specifiers": [
{
"type": "ExportSpecifier",
"span": {
"start": 205,
"end": 217,
"ctxt": 0
},
"orig": {
"type": "Identifier",
"span": {
"start": 205,
"end": 212,
"ctxt": 0
},
"value": "default",
"optional": false
},
"exported": {
"type": "Identifier",
"span": {
"start": 216,
"end": 217,
"ctxt": 0
},
"value": "A",
"optional": false
},
"isTypeOnly": false
}
],
"source": {
"type": "StringLiteral",
"span": {
"start": 225,
"end": 230,
"ctxt": 0
},
"value": "./a",
"raw": "\"./a\""
},
"typeOnly": false,
"asserts": null
}
],
"interpreter": null
}