Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/hack-hash-proposal-private-property-in-private-method/output.json

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