mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
104 lines
2.2 KiB
JSON
104 lines
2.2 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 23,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "/",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 15,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "/",
|
|
"left": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 4,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 3,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6,
|
|
"end": 15,
|
|
"ctxt": 0
|
|
},
|
|
"value": "notregexp",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 23,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 21,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 21,
|
|
"ctxt": 0
|
|
},
|
|
"value": "foo",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|