Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-assertions/import-assert-call-expression/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":12,"index":23}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":12,"index":23}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ImportDeclaration",
12 "start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
13 "specifiers": [],
14 "source": {
15 "type": "StringLiteral",
16 "start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
17 "extra": {
18 "rawValue": "x",
19 "raw": "\"x\""
20 },
21 "value": "x"
22 },
23 "assertions": []
24 },
25 {
26 "type": "ExpressionStatement",
27 "start":11,"end":23,"loc":{"start":{"line":2,"column":0,"index":11},"end":{"line":2,"column":12,"index":23}},
28 "expression": {
29 "type": "CallExpression",
30 "start":11,"end":22,"loc":{"start":{"line":2,"column":0,"index":11},"end":{"line":2,"column":11,"index":22}},
31 "callee": {
32 "type": "Identifier",
33 "start":11,"end":17,"loc":{"start":{"line":2,"column":0,"index":11},"end":{"line":2,"column":6,"index":17},"identifierName":"assert"},
34 "name": "assert"
35 },
36 "arguments": [
37 {
38 "type": "ObjectExpression",
39 "start":19,"end":21,"loc":{"start":{"line":2,"column":8,"index":19},"end":{"line":2,"column":10,"index":21}},
40 "properties": []
41 }
42 ]
43 }
44 }
45 ],
46 "directives": []
47 }
48 }