83 lines
3.1 KiB
JSON
83 lines
3.1 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":65,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":65,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":65,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":9,"end":19,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":19},"identifierName":"loadImport"},
|
|
"name": "loadImport"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":20,"end":24,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":24},"identifierName":"file"},
|
|
"name": "file"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":26,"end":65,"loc":{"start":{"line":1,"column":26},"end":{"line":3,"column":1}},
|
|
"body": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start":30,"end":63,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":35}},
|
|
"argument": {
|
|
"type": "CallExpression",
|
|
"start":37,"end":62,"loc":{"start":{"line":2,"column":9},"end":{"line":2,"column":34}},
|
|
"callee": {
|
|
"type": "Import",
|
|
"start":37,"end":43,"loc":{"start":{"line":2,"column":9},"end":{"line":2,"column":15}}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "TemplateLiteral",
|
|
"start":44,"end":61,"loc":{"start":{"line":2,"column":16},"end":{"line":2,"column":33}},
|
|
"expressions": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":52,"end":56,"loc":{"start":{"line":2,"column":24},"end":{"line":2,"column":28},"identifierName":"file"},
|
|
"name": "file"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"start":45,"end":50,"loc":{"start":{"line":2,"column":17},"end":{"line":2,"column":22}},
|
|
"value": {
|
|
"raw": "test/",
|
|
"cooked": "test/"
|
|
},
|
|
"tail": false
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"start":57,"end":60,"loc":{"start":{"line":2,"column":29},"end":{"line":2,"column":32}},
|
|
"value": {
|
|
"raw": ".js",
|
|
"cooked": ".js"
|
|
},
|
|
"tail": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |