Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/expression-primary-object/migrated_0028/output.json

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