Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/class/division/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":86,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":9,"column":10,"index":86}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":86,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":9,"column":10,"index":86}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
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": "BinaryExpression",
24 "start":4,"end":17,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":17,"index":17}},
25 "left": {
26 "type": "ClassExpression",
27 "start":4,"end":11,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":11,"index":11}},
28 "id": null,
29 "superClass": null,
30 "body": {
31 "type": "ClassBody",
32 "start":9,"end":11,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":11,"index":11}},
33 "body": []
34 }
35 },
36 "operator": "/",
37 "right": {
38 "type": "Identifier",
39 "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17},"identifierName":"foo"},
40 "name": "foo"
41 }
42 }
43 }
44 },
45 {
46 "type": "ExpressionStatement",
47 "start":19,"end":86,"loc":{"start":{"line":3,"column":0,"index":19},"end":{"line":9,"column":10,"index":86}},
48 "expression": {
49 "type": "AssignmentExpression",
50 "start":19,"end":86,"loc":{"start":{"line":3,"column":0,"index":19},"end":{"line":9,"column":10,"index":86}},
51 "operator": "=",
52 "left": {
53 "type": "Identifier",
54 "start":19,"end":20,"loc":{"start":{"line":3,"column":0,"index":19},"end":{"line":3,"column":1,"index":20},"identifierName":"x"},
55 "name": "x"
56 },
57 "right": {
58 "type": "BinaryExpression",
59 "start":23,"end":86,"loc":{"start":{"line":3,"column":4,"index":23},"end":{"line":9,"column":10,"index":86}},
60 "left": {
61 "type": "BinaryExpression",
62 "start":23,"end":36,"loc":{"start":{"line":3,"column":4,"index":23},"end":{"line":4,"column":5,"index":36}},
63 "left": {
64 "type": "ClassExpression",
65 "start":23,"end":30,"loc":{"start":{"line":3,"column":4,"index":23},"end":{"line":3,"column":11,"index":30}},
66 "id": null,
67 "superClass": null,
68 "body": {
69 "type": "ClassBody",
70 "start":28,"end":30,"loc":{"start":{"line":3,"column":9,"index":28},"end":{"line":3,"column":11,"index":30}},
71 "body": []
72 }
73 },
74 "operator": "/",
75 "right": {
76 "type": "Identifier",
77 "start":33,"end":36,"loc":{"start":{"line":4,"column":2,"index":33},"end":{"line":4,"column":5,"index":36},"identifierName":"foo"},
78 "name": "foo"
79 }
80 },
81 "operator": "/",
82 "right": {
83 "type": "CallExpression",
84 "start":39,"end":86,"loc":{"start":{"line":4,"column":8,"index":39},"end":{"line":9,"column":10,"index":86}},
85 "callee": {
86 "type": "CallExpression",
87 "start":39,"end":61,"loc":{"start":{"line":4,"column":8,"index":39},"end":{"line":6,"column":19,"index":61}},
88 "callee": {
89 "type": "Identifier",
90 "start":39,"end":40,"loc":{"start":{"line":4,"column":8,"index":39},"end":{"line":4,"column":9,"index":40},"identifierName":"g"},
91 "name": "g"
92 },
93 "arguments": [
94 {
95 "type": "AssignmentExpression",
96 "start":43,"end":60,"loc":{"start":{"line":6,"column":1,"index":43},"end":{"line":6,"column":18,"index":60}},
97 "operator": "=",
98 "left": {
99 "type": "Identifier",
100 "start":43,"end":44,"loc":{"start":{"line":6,"column":1,"index":43},"end":{"line":6,"column":2,"index":44},"identifierName":"x"},
101 "name": "x"
102 },
103 "right": {
104 "type": "BinaryExpression",
105 "start":47,"end":60,"loc":{"start":{"line":6,"column":5,"index":47},"end":{"line":6,"column":18,"index":60}},
106 "left": {
107 "type": "ClassExpression",
108 "start":47,"end":54,"loc":{"start":{"line":6,"column":5,"index":47},"end":{"line":6,"column":12,"index":54}},
109 "id": null,
110 "superClass": null,
111 "body": {
112 "type": "ClassBody",
113 "start":52,"end":54,"loc":{"start":{"line":6,"column":10,"index":52},"end":{"line":6,"column":12,"index":54}},
114 "body": []
115 }
116 },
117 "operator": "/",
118 "right": {
119 "type": "Identifier",
120 "start":57,"end":60,"loc":{"start":{"line":6,"column":15,"index":57},"end":{"line":6,"column":18,"index":60},"identifierName":"foo"},
121 "name": "foo"
122 }
123 }
124 }
125 ]
126 },
127 "arguments": [
128 {
129 "type": "AssignmentExpression",
130 "start":64,"end":85,"loc":{"start":{"line":8,"column":1,"index":64},"end":{"line":9,"column":9,"index":85}},
131 "operator": "=",
132 "left": {
133 "type": "Identifier",
134 "start":64,"end":65,"loc":{"start":{"line":8,"column":1,"index":64},"end":{"line":8,"column":2,"index":65},"identifierName":"x"},
135 "name": "x"
136 },
137 "right": {
138 "type": "BinaryExpression",
139 "start":68,"end":85,"loc":{"start":{"line":8,"column":5,"index":68},"end":{"line":9,"column":9,"index":85}},
140 "left": {
141 "type": "BinaryExpression",
142 "start":68,"end":81,"loc":{"start":{"line":8,"column":5,"index":68},"end":{"line":9,"column":5,"index":81}},
143 "left": {
144 "type": "ClassExpression",
145 "start":68,"end":75,"loc":{"start":{"line":8,"column":5,"index":68},"end":{"line":8,"column":12,"index":75}},
146 "id": null,
147 "superClass": null,
148 "body": {
149 "type": "ClassBody",
150 "start":73,"end":75,"loc":{"start":{"line":8,"column":10,"index":73},"end":{"line":8,"column":12,"index":75}},
151 "body": []
152 }
153 },
154 "operator": "/",
155 "right": {
156 "type": "Identifier",
157 "start":78,"end":81,"loc":{"start":{"line":9,"column":2,"index":78},"end":{"line":9,"column":5,"index":81},"identifierName":"foo"},
158 "name": "foo"
159 }
160 },
161 "operator": "/",
162 "right": {
163 "type": "Identifier",
164 "start":84,"end":85,"loc":{"start":{"line":9,"column":8,"index":84},"end":{"line":9,"column":9,"index":85},"identifierName":"g"},
165 "name": "g"
166 }
167 }
168 }
169 ]
170 }
171 }
172 }
173 }
174 ],
175 "directives": []
176 }
177 }