Debian Codegraph @

packages/babel-parser/test/fixtures/estree/class-private-property/basic-babel-8/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":48,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":1}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":48,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":1}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":48,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":1}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":7,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7},"identifierName":"A"},
16 "name": "A"
17 },
18 "superClass": null,
19 "body": {
20 "type": "ClassBody",
21 "start":8,"end":48,"loc":{"start":{"line":1,"column":8},"end":{"line":4,"column":1}},
22 "body": [
23 {
24 "type": "PropertyDefinition",
25 "start":12,"end":25,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":15}},
26 "static": false,
27 "key": {
28 "type": "PrivateIdentifier",
29 "start":12,"end":16,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":6}},
30 "name": "foo"
31 },
32 "value": {
33 "type": "Literal",
34 "start":19,"end":24,"loc":{"start":{"line":2,"column":9},"end":{"line":2,"column":14}},
35 "value": "bar",
36 "raw": "\"bar\""
37 },
38 "computed": false
39 },
40 {
41 "type": "PropertyDefinition",
42 "start":28,"end":46,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":20}},
43 "static": true,
44 "key": {
45 "type": "PrivateIdentifier",
46 "start":35,"end":39,"loc":{"start":{"line":3,"column":9},"end":{"line":3,"column":13}},
47 "name": "bar"
48 },
49 "value": {
50 "type": "Identifier",
51 "start":42,"end":45,"loc":{"start":{"line":3,"column":16},"end":{"line":3,"column":19},"identifierName":"foo"},
52 "name": "foo"
53 },
54 "computed": false
55 }
56 ]
57 }
58 }
59 ]
60 }
61 }