Debian Codegraph @

packages/babel-parser/test/fixtures/estree/class-private-property/not-enabled-babel-7/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": "ClassPrivateProperty",
25 "start":12,"end":25,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":15}},
26 "static": false,
27 "key": {
28 "type": "PrivateName",
29 "start":12,"end":16,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":6}},
30 "id": {
31 "type": "Identifier",
32 "start":13,"end":16,"loc":{"start":{"line":2,"column":3},"end":{"line":2,"column":6},"identifierName":"foo"},
33 "name": "foo"
34 }
35 },
36 "value": {
37 "type": "Literal",
38 "start":19,"end":24,"loc":{"start":{"line":2,"column":9},"end":{"line":2,"column":14}},
39 "value": "bar",
40 "raw": "\"bar\""
41 }
42 },
43 {
44 "type": "ClassPrivateProperty",
45 "start":28,"end":46,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":20}},
46 "static": true,
47 "key": {
48 "type": "PrivateName",
49 "start":35,"end":39,"loc":{"start":{"line":3,"column":9},"end":{"line":3,"column":13}},
50 "id": {
51 "type": "Identifier",
52 "start":36,"end":39,"loc":{"start":{"line":3,"column":10},"end":{"line":3,"column":13},"identifierName":"bar"},
53 "name": "bar"
54 }
55 },
56 "value": {
57 "type": "Identifier",
58 "start":42,"end":45,"loc":{"start":{"line":3,"column":16},"end":{"line":3,"column":19},"identifierName":"foo"},
59 "name": "foo"
60 }
61 }
62 ]
63 }
64 }
65 ]
66 }
67 }