Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/89/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":73,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":34,"index":73}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":73,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":34,"index":73}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":21,"index":21}},
13 "id": {
14 "type": "Identifier",
15 "start":9,"end":16,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":16,"index":16},"identifierName":"encrypt"},
16 "name": "encrypt"
17 },
18 "generator": false,
19 "async": false,
20 "params": [],
21 "body": {
22 "type": "BlockStatement",
23 "start":19,"end":21,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":21,"index":21}},
24 "body": [],
25 "directives": []
26 }
27 },
28 {
29 "type": "ClassDeclaration",
30 "start":22,"end":38,"loc":{"start":{"line":2,"column":0,"index":22},"end":{"line":2,"column":16,"index":38}},
31 "id": {
32 "type": "Identifier",
33 "start":28,"end":35,"loc":{"start":{"line":2,"column":6,"index":28},"end":{"line":2,"column":13,"index":35},"identifierName":"decrypt"},
34 "name": "decrypt"
35 },
36 "superClass": null,
37 "body": {
38 "type": "ClassBody",
39 "start":36,"end":38,"loc":{"start":{"line":2,"column":14,"index":36},"end":{"line":2,"column":16,"index":38}},
40 "body": []
41 }
42 },
43 {
44 "type": "ExportNamedDeclaration",
45 "start":39,"end":73,"loc":{"start":{"line":3,"column":0,"index":39},"end":{"line":3,"column":34,"index":73}},
46 "specifiers": [
47 {
48 "type": "ExportSpecifier",
49 "start":48,"end":55,"loc":{"start":{"line":3,"column":9,"index":48},"end":{"line":3,"column":16,"index":55}},
50 "local": {
51 "type": "Identifier",
52 "start":48,"end":55,"loc":{"start":{"line":3,"column":9,"index":48},"end":{"line":3,"column":16,"index":55},"identifierName":"encrypt"},
53 "name": "encrypt"
54 },
55 "exported": {
56 "type": "Identifier",
57 "start":48,"end":55,"loc":{"start":{"line":3,"column":9,"index":48},"end":{"line":3,"column":16,"index":55},"identifierName":"encrypt"},
58 "name": "encrypt"
59 }
60 },
61 {
62 "type": "ExportSpecifier",
63 "start":57,"end":71,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":32,"index":71}},
64 "local": {
65 "type": "Identifier",
66 "start":57,"end":64,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":25,"index":64},"identifierName":"decrypt"},
67 "name": "decrypt"
68 },
69 "exported": {
70 "type": "Identifier",
71 "start":68,"end":71,"loc":{"start":{"line":3,"column":29,"index":68},"end":{"line":3,"column":32,"index":71},"identifierName":"dec"},
72 "name": "dec"
73 }
74 }
75 ],
76 "source": null,
77 "declaration": null
78 }
79 ],
80 "directives": []
81 }
82 }