Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/hack-double-caret-proposal-class-expression-with-private-property/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":95,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":3,"index":95}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":95,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":3,"index":95}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":95,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":3,"index":95}},
13 "expression": {
14 "type": "BinaryExpression",
15 "start":0,"end":94,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":2,"index":94}},
16 "left": {
17 "type": "Identifier",
18 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"value"},
19 "name": "value"
20 },
21 "operator": "|>",
22 "right": {
23 "type": "NewExpression",
24 "start":9,"end":94,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":7,"column":2,"index":94}},
25 "callee": {
26 "type": "ClassExpression",
27 "start":14,"end":93,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":7,"column":1,"index":93}},
28 "id": {
29 "type": "Identifier",
30 "start":20,"end":25,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":25,"index":25},"identifierName":"Thing"},
31 "name": "Thing"
32 },
33 "superClass": null,
34 "body": {
35 "type": "ClassBody",
36 "start":26,"end":93,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":7,"column":1,"index":93}},
37 "body": [
38 {
39 "type": "ClassPrivateProperty",
40 "start":30,"end":40,"loc":{"start":{"line":2,"column":2,"index":30},"end":{"line":2,"column":12,"index":40}},
41 "static": false,
42 "key": {
43 "type": "PrivateName",
44 "start":30,"end":39,"loc":{"start":{"line":2,"column":2,"index":30},"end":{"line":2,"column":11,"index":39}},
45 "id": {
46 "type": "Identifier",
47 "start":31,"end":39,"loc":{"start":{"line":2,"column":3,"index":31},"end":{"line":2,"column":11,"index":39},"identifierName":"property"},
48 "name": "property"
49 }
50 },
51 "value": null
52 },
53 {
54 "type": "ClassMethod",
55 "start":44,"end":91,"loc":{"start":{"line":4,"column":2,"index":44},"end":{"line":6,"column":3,"index":91}},
56 "static": false,
57 "key": {
58 "type": "Identifier",
59 "start":44,"end":50,"loc":{"start":{"line":4,"column":2,"index":44},"end":{"line":4,"column":8,"index":50},"identifierName":"method"},
60 "name": "method"
61 },
62 "computed": false,
63 "kind": "method",
64 "id": null,
65 "generator": false,
66 "async": false,
67 "params": [],
68 "body": {
69 "type": "BlockStatement",
70 "start":54,"end":91,"loc":{"start":{"line":4,"column":12,"index":54},"end":{"line":6,"column":3,"index":91}},
71 "body": [
72 {
73 "type": "ReturnStatement",
74 "start":60,"end":87,"loc":{"start":{"line":5,"column":4,"index":60},"end":{"line":5,"column":31,"index":87}},
75 "argument": {
76 "type": "BinaryExpression",
77 "start":67,"end":86,"loc":{"start":{"line":5,"column":11,"index":67},"end":{"line":5,"column":30,"index":86}},
78 "left": {
79 "type": "TopicReference",
80 "start":67,"end":69,"loc":{"start":{"line":5,"column":11,"index":67},"end":{"line":5,"column":13,"index":69}}
81 },
82 "operator": "+",
83 "right": {
84 "type": "MemberExpression",
85 "start":72,"end":86,"loc":{"start":{"line":5,"column":16,"index":72},"end":{"line":5,"column":30,"index":86}},
86 "object": {
87 "type": "ThisExpression",
88 "start":72,"end":76,"loc":{"start":{"line":5,"column":16,"index":72},"end":{"line":5,"column":20,"index":76}}
89 },
90 "computed": false,
91 "property": {
92 "type": "PrivateName",
93 "start":77,"end":86,"loc":{"start":{"line":5,"column":21,"index":77},"end":{"line":5,"column":30,"index":86}},
94 "id": {
95 "type": "Identifier",
96 "start":78,"end":86,"loc":{"start":{"line":5,"column":22,"index":78},"end":{"line":5,"column":30,"index":86},"identifierName":"property"},
97 "name": "property"
98 }
99 }
100 }
101 }
102 }
103 ],
104 "directives": []
105 }
106 }
107 ]
108 },
109 "extra": {
110 "parenthesized": true,
111 "parenStart": 13
112 }
113 },
114 "arguments": []
115 }
116 }
117 }
118 ],
119 "directives": []
120 }
121 }