Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/smart-proposal-do-transform-for-in-loop-and-topic-in-loop-body/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
4 "errors": [
5 "SyntaxError: Topic reference was used in a lexical context without topic binding. (1:32)",
6 "SyntaxError: Pipeline is in topic style but does not use topic reference. (1:9)"
7 ],
8 "program": {
9 "type": "Program",
10 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
11 "sourceType": "script",
12 "interpreter": null,
13 "body": [
14 {
15 "type": "ExpressionStatement",
16 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
17 "expression": {
18 "type": "BinaryExpression",
19 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
20 "left": {
21 "type": "Identifier",
22 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"value"},
23 "name": "value"
24 },
25 "operator": "|>",
26 "right": {
27 "type": "PipelineTopicExpression",
28 "start":9,"end":36,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":36,"index":36}},
29 "expression": {
30 "type": "DoExpression",
31 "start":9,"end":36,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":36,"index":36}},
32 "async": false,
33 "body": {
34 "type": "BlockStatement",
35 "start":12,"end":36,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":36,"index":36}},
36 "body": [
37 {
38 "type": "ForInStatement",
39 "start":14,"end":34,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":34,"index":34}},
40 "left": {
41 "type": "Identifier",
42 "start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20},"identifierName":"e"},
43 "name": "e"
44 },
45 "right": {
46 "type": "Identifier",
47 "start":24,"end":30,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":30,"index":30},"identifierName":"object"},
48 "name": "object"
49 },
50 "body": {
51 "type": "ExpressionStatement",
52 "start":32,"end":34,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":34,"index":34}},
53 "expression": {
54 "type": "PipelinePrimaryTopicReference",
55 "start":32,"end":33,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":33,"index":33}}
56 }
57 }
58 }
59 ],
60 "directives": []
61 }
62 }
63 }
64 }
65 }
66 ],
67 "directives": []
68 }
69 }