2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Script",
|
|
|
|
"span": {
|
|
|
|
"start": 0,
|
|
|
|
"end": 23,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "IfStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 0,
|
|
|
|
"end": 23,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 4,
|
|
|
|
"end": 5,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 1.0,
|
|
|
|
"raw": "1"
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"consequent": {
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 7,
|
|
|
|
"end": 23,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 7,
|
|
|
|
"end": 22,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 7,
|
|
|
|
"end": 20,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "RegExpLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 7,
|
|
|
|
"end": 16,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"pattern": "regexp",
|
|
|
|
"flags": "a"
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 17,
|
|
|
|
"end": 20,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
|
|
|
"optional": false
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"arguments": [],
|
|
|
|
"typeArguments": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"alternate": null
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|