Debian Codegraph @

packages/babel-parser/test/fixtures/es2020/dynamic-import/direct-calls-only/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":49}},
4 "errors": [
5 "SyntaxError: The only valid meta property for import is import.meta. (2:16)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":49}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "FunctionDeclaration",
15 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":49}},
16 "id": {
17 "type": "Identifier",
18 "start":9,"end":19,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":19,"index":19},"identifierName":"failsParse"},
19 "name": "failsParse"
20 },
21 "generator": false,
22 "async": false,
23 "params": [],
24 "body": {
25 "type": "BlockStatement",
26 "start":22,"end":49,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":3,"column":1,"index":49}},
27 "body": [
28 {
29 "type": "ReturnStatement",
30 "start":26,"end":47,"loc":{"start":{"line":2,"column":2,"index":26},"end":{"line":2,"column":23,"index":47}},
31 "argument": {
32 "type": "CallExpression",
33 "start":33,"end":46,"loc":{"start":{"line":2,"column":9,"index":33},"end":{"line":2,"column":22,"index":46}},
34 "callee": {
35 "type": "MetaProperty",
36 "start":33,"end":44,"loc":{"start":{"line":2,"column":9,"index":33},"end":{"line":2,"column":20,"index":44}},
37 "meta": {
38 "type": "Identifier",
39 "start":33,"end":39,"loc":{"start":{"line":2,"column":9,"index":33},"end":{"line":2,"column":15,"index":39},"identifierName":"import"},
40 "name": "import"
41 },
42 "property": {
43 "type": "Identifier",
44 "start":40,"end":44,"loc":{"start":{"line":2,"column":16,"index":40},"end":{"line":2,"column":20,"index":44},"identifierName":"then"},
45 "name": "then"
46 }
47 },
48 "arguments": []
49 }
50 }
51 ],
52 "directives": []
53 }
54 }
55 ],
56 "directives": []
57 }
58 }