| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":73,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":63,"index":73}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: `import()` requires exactly one or two arguments. (1:0)", |
| 6 |
"SyntaxError: `import()` requires exactly one or two arguments. (2:0)" |
| 7 |
], |
| 8 |
"program": { |
| 9 |
"type": "Program", |
| 10 |
"start":0,"end":73,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":63,"index":73}}, |
| 11 |
"sourceType": "module", |
| 12 |
"interpreter": null, |
| 13 |
"body": [ |
| 14 |
{ |
| 15 |
"type": "ExpressionStatement", |
| 16 |
"start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}}, |
| 17 |
"expression": { |
| 18 |
"type": "CallExpression", |
| 19 |
"start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}}, |
| 20 |
"callee": { |
| 21 |
"type": "Import", |
| 22 |
"start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}} |
| 23 |
}, |
| 24 |
"arguments": [] |
| 25 |
} |
| 26 |
}, |
| 27 |
{ |
| 28 |
"type": "ExpressionStatement", |
| 29 |
"start":10,"end":73,"loc":{"start":{"line":2,"column":0,"index":10},"end":{"line":2,"column":63,"index":73}}, |
| 30 |
"expression": { |
| 31 |
"type": "CallExpression", |
| 32 |
"start":10,"end":72,"loc":{"start":{"line":2,"column":0,"index":10},"end":{"line":2,"column":62,"index":72}}, |
| 33 |
"callee": { |
| 34 |
"type": "Import", |
| 35 |
"start":10,"end":16,"loc":{"start":{"line":2,"column":0,"index":10},"end":{"line":2,"column":6,"index":16}} |
| 36 |
}, |
| 37 |
"arguments": [ |
| 38 |
{ |
| 39 |
"type": "StringLiteral", |
| 40 |
"start":17,"end":29,"loc":{"start":{"line":2,"column":7,"index":17},"end":{"line":2,"column":19,"index":29}}, |
| 41 |
"extra": { |
| 42 |
"rawValue": "./foo.json", |
| 43 |
"raw": "\"./foo.json\"" |
| 44 |
}, |
| 45 |
"value": "./foo.json" |
| 46 |
}, |
| 47 |
{ |
| 48 |
"type": "ObjectExpression", |
| 49 |
"start":31,"end":56,"loc":{"start":{"line":2,"column":21,"index":31},"end":{"line":2,"column":46,"index":56}}, |
| 50 |
"properties": [ |
| 51 |
{ |
| 52 |
"type": "ObjectProperty", |
| 53 |
"start":33,"end":54,"loc":{"start":{"line":2,"column":23,"index":33},"end":{"line":2,"column":44,"index":54}}, |
| 54 |
"method": false, |
| 55 |
"key": { |
| 56 |
"type": "Identifier", |
| 57 |
"start":33,"end":37,"loc":{"start":{"line":2,"column":23,"index":33},"end":{"line":2,"column":27,"index":37},"identifierName":"with"}, |
| 58 |
"name": "with" |
| 59 |
}, |
| 60 |
"computed": false, |
| 61 |
"shorthand": false, |
| 62 |
"value": { |
| 63 |
"type": "ObjectExpression", |
| 64 |
"start":39,"end":54,"loc":{"start":{"line":2,"column":29,"index":39},"end":{"line":2,"column":44,"index":54}}, |
| 65 |
"properties": [ |
| 66 |
{ |
| 67 |
"type": "ObjectProperty", |
| 68 |
"start":41,"end":53,"loc":{"start":{"line":2,"column":31,"index":41},"end":{"line":2,"column":43,"index":53}}, |
| 69 |
"method": false, |
| 70 |
"key": { |
| 71 |
"type": "Identifier", |
| 72 |
"start":41,"end":45,"loc":{"start":{"line":2,"column":31,"index":41},"end":{"line":2,"column":35,"index":45},"identifierName":"type"}, |
| 73 |
"name": "type" |
| 74 |
}, |
| 75 |
"computed": false, |
| 76 |
"shorthand": false, |
| 77 |
"value": { |
| 78 |
"type": "StringLiteral", |
| 79 |
"start":47,"end":53,"loc":{"start":{"line":2,"column":37,"index":47},"end":{"line":2,"column":43,"index":53}}, |
| 80 |
"extra": { |
| 81 |
"rawValue": "json", |
| 82 |
"raw": "\"json\"" |
| 83 |
}, |
| 84 |
"value": "json" |
| 85 |
} |
| 86 |
} |
| 87 |
] |
| 88 |
} |
| 89 |
} |
| 90 |
] |
| 91 |
}, |
| 92 |
{ |
| 93 |
"type": "StringLiteral", |
| 94 |
"start":58,"end":71,"loc":{"start":{"line":2,"column":48,"index":58},"end":{"line":2,"column":61,"index":71}}, |
| 95 |
"extra": { |
| 96 |
"rawValue": "unsupported", |
| 97 |
"raw": "\"unsupported\"" |
| 98 |
}, |
| 99 |
"value": "unsupported" |
| 100 |
} |
| 101 |
] |
| 102 |
} |
| 103 |
} |
| 104 |
], |
| 105 |
"directives": [] |
| 106 |
} |
| 107 |
} |