Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/yield/yield-identifier-not-regexp/output.json

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