Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":66,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":27,"index":66}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":66,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":27,"index":66}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
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":20,"end":22,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":22,"index":22}},
24 "body": [],
25 "directives": []
26 }
27 },
28 {
29 "type": "ClassDeclaration",
30 "start":23,"end":38,"loc":{"start":{"line":2,"column":0,"index":23},"end":{"line":2,"column":15,"index":38}},
31 "id": {
32 "type": "Identifier",
33 "start":29,"end":36,"loc":{"start":{"line":2,"column":6,"index":29},"end":{"line":2,"column":13,"index":36},"identifierName":"decrypt"},
34 "name": "decrypt"
35 },
36 "superClass": null,
37 "body": {
38 "type": "ClassBody",
39 "start":36,"end":38,"loc":{"start":{"line":2,"column":13,"index":36},"end":{"line":2,"column":15,"index":38}},
40 "body": []
41 }
42 },
43 {
44 "type": "ExportNamedDeclaration",
45 "start":39,"end":66,"loc":{"start":{"line":3,"column":0,"index":39},"end":{"line":3,"column":27,"index":66}},
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":64,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":25,"index":64}},
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":57,"end":64,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":25,"index":64},"identifierName":"decrypt"},
72 "name": "decrypt"
73 }
74 }
75 ],
76 "source": null,
77 "declaration": null
78 }
79 ],
80 "directives": []
81 }
82 }