Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/hack-hash-proposal-class-expression-without-private-property/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}},
13 "expression": {
14 "type": "BinaryExpression",
15 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}},
16 "left": {
17 "type": "Identifier",
18 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
19 "name": "x"
20 },
21 "operator": "|>",
22 "right": {
23 "type": "ClassExpression",
24 "start":5,"end":45,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":45,"index":45}},
25 "id": null,
26 "superClass": null,
27 "body": {
28 "type": "ClassBody",
29 "start":11,"end":45,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":45,"index":45}},
30 "body": [
31 {
32 "type": "ClassMethod",
33 "start":13,"end":43,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":43,"index":43}},
34 "static": false,
35 "key": {
36 "type": "Identifier",
37 "start":13,"end":24,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":24,"index":24},"identifierName":"constructor"},
38 "name": "constructor"
39 },
40 "computed": false,
41 "kind": "constructor",
42 "id": null,
43 "generator": false,
44 "async": false,
45 "params": [],
46 "body": {
47 "type": "BlockStatement",
48 "start":28,"end":43,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":43,"index":43}},
49 "body": [
50 {
51 "type": "ExpressionStatement",
52 "start":30,"end":41,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":41,"index":41}},
53 "expression": {
54 "type": "AssignmentExpression",
55 "start":30,"end":40,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":40,"index":40}},
56 "operator": "=",
57 "left": {
58 "type": "MemberExpression",
59 "start":30,"end":36,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":36,"index":36}},
60 "object": {
61 "type": "ThisExpression",
62 "start":30,"end":34,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":34,"index":34}}
63 },
64 "computed": false,
65 "property": {
66 "type": "Identifier",
67 "start":35,"end":36,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":36,"index":36},"identifierName":"x"},
68 "name": "x"
69 }
70 },
71 "right": {
72 "type": "TopicReference",
73 "start":39,"end":40,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":40,"index":40}}
74 }
75 }
76 }
77 ],
78 "directives": []
79 }
80 }
81 ]
82 }
83 }
84 }
85 }
86 ],
87 "directives": []
88 }
89 }