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

63 lines
1.2 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 23,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 23,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1,
"end": 22,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1,
"end": 4,
"ctxt": 0
},
"value": "Foo",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "UnaryExpression",
"span": {
"start": 5,
"end": 21,
"ctxt": 0
},
"operator": "!",
"argument": {
"type": "RegExpLiteral",
"span": {
"start": 6,
"end": 21,
"ctxt": 0
},
"pattern": "(\\\\?|&)adurl=",
"flags": ""
}
}
}
],
"typeArguments": null
}
}
],
"interpreter": null
}