Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/decorators-legacy/computed-member-expression/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":41}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":41}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":41}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":9,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":9,"index":9},"identifierName":"Foo"},
16 "name": "Foo"
17 },
18 "superClass": null,
19 "body": {
20 "type": "ClassBody",
21 "start":10,"end":41,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":6,"column":1,"index":41}},
22 "body": [
23 {
24 "type": "ClassMethod",
25 "start":14,"end":39,"loc":{"start":{"line":2,"column":2,"index":14},"end":{"line":5,"column":3,"index":39}},
26 "decorators": [
27 {
28 "type": "Decorator",
29 "start":14,"end":24,"loc":{"start":{"line":2,"column":2,"index":14},"end":{"line":2,"column":12,"index":24}},
30 "expression": {
31 "type": "MemberExpression",
32 "start":15,"end":24,"loc":{"start":{"line":2,"column":3,"index":15},"end":{"line":2,"column":12,"index":24}},
33 "object": {
34 "type": "Identifier",
35 "start":15,"end":18,"loc":{"start":{"line":2,"column":3,"index":15},"end":{"line":2,"column":6,"index":18},"identifierName":"bar"},
36 "name": "bar"
37 },
38 "computed": true,
39 "property": {
40 "type": "Identifier",
41 "start":19,"end":23,"loc":{"start":{"line":2,"column":7,"index":19},"end":{"line":2,"column":11,"index":23},"identifierName":"bizz"},
42 "name": "bizz"
43 }
44 }
45 }
46 ],
47 "static": false,
48 "key": {
49 "type": "Identifier",
50 "start":27,"end":30,"loc":{"start":{"line":3,"column":2,"index":27},"end":{"line":3,"column":5,"index":30},"identifierName":"abc"},
51 "name": "abc"
52 },
53 "computed": false,
54 "kind": "method",
55 "id": null,
56 "generator": false,
57 "async": false,
58 "params": [],
59 "body": {
60 "type": "BlockStatement",
61 "start":33,"end":39,"loc":{"start":{"line":3,"column":8,"index":33},"end":{"line":5,"column":3,"index":39}},
62 "body": [],
63 "directives": []
64 }
65 }
66 ]
67 }
68 }
69 ],
70 "directives": []
71 }
72 }