Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/module-attributes/import-with-statement/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":10,"index":21}},
4 "errors": [
5 "SyntaxError: 'with' in strict mode. (2:0)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":10,"index":21}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ImportDeclaration",
15 "start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
16 "specifiers": [],
17 "source": {
18 "type": "Literal",
19 "start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
20 "value": "x",
21 "raw": "\"x\""
22 },
23 "attributes": []
24 },
25 {
26 "type": "WithStatement",
27 "start":11,"end":21,"loc":{"start":{"line":2,"column":0,"index":11},"end":{"line":2,"column":10,"index":21}},
28 "object": {
29 "type": "ObjectExpression",
30 "start":17,"end":19,"loc":{"start":{"line":2,"column":6,"index":17},"end":{"line":2,"column":8,"index":19}},
31 "properties": []
32 },
33 "body": {
34 "type": "EmptyStatement",
35 "start":20,"end":21,"loc":{"start":{"line":2,"column":9,"index":20},"end":{"line":2,"column":10,"index":21}}
36 }
37 }
38 ]
39 }
40 }