| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":65,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":65}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":65,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":65}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "FunctionDeclaration", |
| 12 |
"start":0,"end":65,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":65}}, |
| 13 |
"id": { |
| 14 |
"type": "Identifier", |
| 15 |
"start":9,"end":19,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":19,"index":19},"identifierName":"loadImport"}, |
| 16 |
"name": "loadImport" |
| 17 |
}, |
| 18 |
"generator": false, |
| 19 |
"async": false, |
| 20 |
"params": [ |
| 21 |
{ |
| 22 |
"type": "Identifier", |
| 23 |
"start":20,"end":24,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":24,"index":24},"identifierName":"file"}, |
| 24 |
"name": "file" |
| 25 |
} |
| 26 |
], |
| 27 |
"body": { |
| 28 |
"type": "BlockStatement", |
| 29 |
"start":26,"end":65,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":3,"column":1,"index":65}}, |
| 30 |
"body": [ |
| 31 |
{ |
| 32 |
"type": "ReturnStatement", |
| 33 |
"start":30,"end":63,"loc":{"start":{"line":2,"column":2,"index":30},"end":{"line":2,"column":35,"index":63}}, |
| 34 |
"argument": { |
| 35 |
"type": "CallExpression", |
| 36 |
"start":37,"end":62,"loc":{"start":{"line":2,"column":9,"index":37},"end":{"line":2,"column":34,"index":62}}, |
| 37 |
"callee": { |
| 38 |
"type": "Import", |
| 39 |
"start":37,"end":43,"loc":{"start":{"line":2,"column":9,"index":37},"end":{"line":2,"column":15,"index":43}} |
| 40 |
}, |
| 41 |
"arguments": [ |
| 42 |
{ |
| 43 |
"type": "TemplateLiteral", |
| 44 |
"start":44,"end":61,"loc":{"start":{"line":2,"column":16,"index":44},"end":{"line":2,"column":33,"index":61}}, |
| 45 |
"expressions": [ |
| 46 |
{ |
| 47 |
"type": "Identifier", |
| 48 |
"start":52,"end":56,"loc":{"start":{"line":2,"column":24,"index":52},"end":{"line":2,"column":28,"index":56},"identifierName":"file"}, |
| 49 |
"name": "file" |
| 50 |
} |
| 51 |
], |
| 52 |
"quasis": [ |
| 53 |
{ |
| 54 |
"type": "TemplateElement", |
| 55 |
"start":45,"end":50,"loc":{"start":{"line":2,"column":17,"index":45},"end":{"line":2,"column":22,"index":50}}, |
| 56 |
"value": { |
| 57 |
"raw": "test/", |
| 58 |
"cooked": "test/" |
| 59 |
}, |
| 60 |
"tail": false |
| 61 |
}, |
| 62 |
{ |
| 63 |
"type": "TemplateElement", |
| 64 |
"start":57,"end":60,"loc":{"start":{"line":2,"column":29,"index":57},"end":{"line":2,"column":32,"index":60}}, |
| 65 |
"value": { |
| 66 |
"raw": ".js", |
| 67 |
"cooked": ".js" |
| 68 |
}, |
| 69 |
"tail": true |
| 70 |
} |
| 71 |
] |
| 72 |
} |
| 73 |
] |
| 74 |
} |
| 75 |
} |
| 76 |
], |
| 77 |
"directives": [] |
| 78 |
} |
| 79 |
} |
| 80 |
], |
| 81 |
"directives": [] |
| 82 |
} |
| 83 |
} |