2022-02-04 11:08:38 +03:00
|
|
|
{
|
|
|
|
"type": "Module",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 60,
|
|
|
|
"end": 285,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ExportDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 60,
|
|
|
|
"end": 99,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declaration": {
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 76,
|
|
|
|
"end": 79,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 67,
|
|
|
|
"end": 99,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 82,
|
|
|
|
"end": 99,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ReturnStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 84,
|
|
|
|
"end": 97,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"argument": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 91,
|
|
|
|
"end": 96,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"foo\""
|
2022-02-04 11:08:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 120,
|
|
|
|
"end": 134,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 120,
|
|
|
|
"end": 133,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Import",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 120,
|
|
|
|
"end": 126,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 127,
|
|
|
|
"end": 132,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "./0",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"./0\""
|
2022-02-04 11:08:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 135,
|
|
|
|
"end": 158,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "var",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 139,
|
|
|
|
"end": 157,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 139,
|
|
|
|
"end": 141,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "p1",
|
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 144,
|
|
|
|
"end": 157,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Import",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 144,
|
|
|
|
"end": 150,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 151,
|
|
|
|
"end": 156,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "./0",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"./0\""
|
2022-02-04 11:08:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 159,
|
|
|
|
"end": 203,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 159,
|
|
|
|
"end": 202,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 159,
|
|
|
|
"end": 166,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 159,
|
|
|
|
"end": 161,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "p1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 162,
|
|
|
|
"end": 166,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "then",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "ArrowFunctionExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 167,
|
|
|
|
"end": 201,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 167,
|
|
|
|
"end": 171,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "zero",
|
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 175,
|
|
|
|
"end": 201,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ReturnStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 181,
|
|
|
|
"end": 199,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"argument": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 188,
|
|
|
|
"end": 198,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 188,
|
|
|
|
"end": 196,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 188,
|
|
|
|
"end": 192,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "zero",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 193,
|
|
|
|
"end": 196,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"arguments": [],
|
|
|
|
"typeArguments": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"async": false,
|
|
|
|
"generator": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExportDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 205,
|
|
|
|
"end": 235,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declaration": {
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 212,
|
|
|
|
"end": 235,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "var",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 216,
|
|
|
|
"end": 234,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 216,
|
|
|
|
"end": 218,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "p2",
|
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 221,
|
|
|
|
"end": 234,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Import",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 221,
|
|
|
|
"end": 227,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 228,
|
|
|
|
"end": 233,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "./0",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"./0\""
|
2022-02-04 11:08:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 246,
|
|
|
|
"end": 249,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 237,
|
|
|
|
"end": 285,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 252,
|
|
|
|
"end": 285,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 258,
|
|
|
|
"end": 283,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 264,
|
|
|
|
"end": 282,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 264,
|
|
|
|
"end": 266,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "p2",
|
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 269,
|
|
|
|
"end": 282,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Import",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 269,
|
|
|
|
"end": 275,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 276,
|
|
|
|
"end": 281,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "./0",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"./0\""
|
2022-02-04 11:08:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": null
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|