Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/decorators-legacy/computed-member-expr-on-prop/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":32}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":32}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":32}},
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":32,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":3,"column":1,"index":32}},
22 "body": [
23 {
24 "type": "ClassProperty",
25 "start":14,"end":30,"loc":{"start":{"line":2,"column":2,"index":14},"end":{"line":2,"column":18,"index":30}},
26 "decorators": [
27 {
28 "type": "Decorator",
29 "start":14,"end":23,"loc":{"start":{"line":2,"column":2,"index":14},"end":{"line":2,"column":11,"index":23}},
30 "expression": {
31 "type": "MemberExpression",
32 "start":15,"end":23,"loc":{"start":{"line":2,"column":3,"index":15},"end":{"line":2,"column":11,"index":23}},
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":"foo"},
36 "name": "foo"
37 },
38 "computed": true,
39 "property": {
40 "type": "Identifier",
41 "start":19,"end":22,"loc":{"start":{"line":2,"column":7,"index":19},"end":{"line":2,"column":10,"index":22},"identifierName":"bar"},
42 "name": "bar"
43 }
44 }
45 }
46 ],
47 "static": false,
48 "key": {
49 "type": "Identifier",
50 "start":24,"end":25,"loc":{"start":{"line":2,"column":12,"index":24},"end":{"line":2,"column":13,"index":25},"identifierName":"a"},
51 "name": "a"
52 },
53 "computed": false,
54 "value": {
55 "type": "NumericLiteral",
56 "start":28,"end":29,"loc":{"start":{"line":2,"column":16,"index":28},"end":{"line":2,"column":17,"index":29}},
57 "extra": {
58 "rawValue": 1,
59 "raw": "1"
60 },
61 "value": 1
62 }
63 }
64 ]
65 }
66 }
67 ],
68 "directives": []
69 }
70 }