Debian Codegraph @

packages/babel-parser/test/fixtures/estree/dynamic-import/import-assertions/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":47,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":47}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":47,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":47}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":47,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":47}},
13 "expression": {
14 "type": "ImportExpression",
15 "start":0,"end":46,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":46}},
16 "source": {
17 "type": "Literal",
18 "start":7,"end":15,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":15}},
19 "value": "module",
20 "raw": "\"module\""
21 },
22 "attributes": {
23 "type": "ObjectExpression",
24 "start":17,"end":45,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":45}},
25 "properties": [
26 {
27 "type": "Property",
28 "start":19,"end":43,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":43}},
29 "method": false,
30 "key": {
31 "type": "Identifier",
32 "start":19,"end":25,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":25},"identifierName":"assert"},
33 "name": "assert"
34 },
35 "computed": false,
36 "shorthand": false,
37 "value": {
38 "type": "ObjectExpression",
39 "start":27,"end":43,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":43}},
40 "properties": [
41 {
42 "type": "Property",
43 "start":29,"end":41,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":41}},
44 "method": false,
45 "key": {
46 "type": "Identifier",
47 "start":29,"end":33,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":33},"identifierName":"type"},
48 "name": "type"
49 },
50 "computed": false,
51 "shorthand": false,
52 "value": {
53 "type": "Literal",
54 "start":35,"end":41,"loc":{"start":{"line":1,"column":35},"end":{"line":1,"column":41}},
55 "value": "json",
56 "raw": "\"json\""
57 },
58 "kind": "init"
59 }
60 ]
61 },
62 "kind": "init"
63 }
64 ]
65 }
66 }
67 }
68 ]
69 }
70 }