Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/smart-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 "errors": [
5 "SyntaxError: Topic reference was used in a lexical context without topic binding. (1:39)",
6 "SyntaxError: Pipeline is in topic style but does not use topic reference. (1:5)"
7 ],
8 "program": {
9 "type": "Program",
10 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}},
11 "sourceType": "script",
12 "interpreter": null,
13 "body": [
14 {
15 "type": "ExpressionStatement",
16 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}},
17 "expression": {
18 "type": "BinaryExpression",
19 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}},
20 "left": {
21 "type": "Identifier",
22 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
23 "name": "x"
24 },
25 "operator": "|>",
26 "right": {
27 "type": "PipelineTopicExpression",
28 "start":5,"end":45,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":45,"index":45}},
29 "expression": {
30 "type": "ClassExpression",
31 "start":5,"end":45,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":45,"index":45}},
32 "id": null,
33 "superClass": null,
34 "body": {
35 "type": "ClassBody",
36 "start":11,"end":45,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":45,"index":45}},
37 "body": [
38 {
39 "type": "ClassMethod",
40 "start":13,"end":43,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":43,"index":43}},
41 "static": false,
42 "key": {
43 "type": "Identifier",
44 "start":13,"end":24,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":24,"index":24},"identifierName":"constructor"},
45 "name": "constructor"
46 },
47 "computed": false,
48 "kind": "constructor",
49 "id": null,
50 "generator": false,
51 "async": false,
52 "params": [],
53 "body": {
54 "type": "BlockStatement",
55 "start":28,"end":43,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":43,"index":43}},
56 "body": [
57 {
58 "type": "ExpressionStatement",
59 "start":30,"end":41,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":41,"index":41}},
60 "expression": {
61 "type": "AssignmentExpression",
62 "start":30,"end":40,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":40,"index":40}},
63 "operator": "=",
64 "left": {
65 "type": "MemberExpression",
66 "start":30,"end":36,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":36,"index":36}},
67 "object": {
68 "type": "ThisExpression",
69 "start":30,"end":34,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":34,"index":34}}
70 },
71 "computed": false,
72 "property": {
73 "type": "Identifier",
74 "start":35,"end":36,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":36,"index":36},"identifierName":"x"},
75 "name": "x"
76 }
77 },
78 "right": {
79 "type": "PipelinePrimaryTopicReference",
80 "start":39,"end":40,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":40,"index":40}}
81 }
82 }
83 }
84 ],
85 "directives": []
86 }
87 }
88 ]
89 }
90 }
91 }
92 }
93 }
94 ],
95 "directives": []
96 }
97 }