2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Module",
|
|
|
|
"span": {
|
|
|
|
"start": 58,
|
|
|
|
"end": 212,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ExportDefaultDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 58,
|
|
|
|
"end": 87,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decl": {
|
|
|
|
"type": "ClassExpression",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 79,
|
|
|
|
"end": 82,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 73,
|
|
|
|
"end": 87,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [],
|
|
|
|
"superClass": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExportDefaultDeclaration",
|
|
|
|
"span": {
|
2021-06-27 05:02:45 +03:00
|
|
|
"start": 89,
|
2021-01-15 13:30:44 +03:00
|
|
|
"end": 123,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decl": {
|
|
|
|
"type": "FunctionExpression",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 113,
|
|
|
|
"end": 116,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "bar",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"params": [],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 104,
|
|
|
|
"end": 123,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 119,
|
|
|
|
"end": 123,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": []
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 125,
|
|
|
|
"end": 136,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "var",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 129,
|
|
|
|
"end": 135,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 129,
|
|
|
|
"end": 130,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 133,
|
|
|
|
"end": 135,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 10.0,
|
|
|
|
"raw": "10"
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExportDefaultExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 137,
|
|
|
|
"end": 154,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 152,
|
|
|
|
"end": 153,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ImportDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 176,
|
|
|
|
"end": 201,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"specifiers": [
|
|
|
|
{
|
|
|
|
"type": "ImportDefaultSpecifier",
|
|
|
|
"span": {
|
|
|
|
"start": 183,
|
|
|
|
"end": 189,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"local": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 183,
|
|
|
|
"end": 189,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Entity",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 195,
|
|
|
|
"end": 201,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "./m1",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"./m1\""
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"typeOnly": false,
|
|
|
|
"asserts": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 203,
|
|
|
|
"end": 212,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 203,
|
|
|
|
"end": 211,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 203,
|
|
|
|
"end": 209,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Entity",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"arguments": [],
|
|
|
|
"typeArguments": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|