@@ -186,26 +186,53 @@ top_level source="⟨body⟩"
186186 parameter:
187187 parameter source="⟨external_name_node⟩⟨pattern⟩: ⟨type⟩"
188188 external_name_node: identifier "a" source="a"
189- type: unsupported_node "inout D" source="inout D"
189+ type:
190+ modified_type_expr source="⟨modifier⟩ ⟨type⟩"
191+ modifier: modifier "inout" source="inout"
192+ type: identifier "D" source="D"
190193 pattern: identifier "a" source="a"
191194 parameter source="⟨external_name_node⟩⟨pattern⟩: ⟨type⟩"
192195 external_name_node: identifier "b" source="b"
193- type: unsupported_node "sending T" source="sending T"
196+ type:
197+ modified_type_expr source="⟨modifier⟩ ⟨type⟩"
198+ modifier: modifier "sending" source="sending"
199+ type: identifier "T" source="T"
194200 pattern: identifier "b" source="b"
195201 parameter source="⟨external_name_node⟩⟨pattern⟩: ⟨type⟩"
196202 external_name_node: identifier "c" source="c"
197- type: unsupported_node "borrowing T" source="borrowing T"
203+ type:
204+ modified_type_expr source="⟨modifier⟩ ⟨type⟩"
205+ modifier: modifier "borrowing" source="borrowing"
206+ type: identifier "T" source="T"
198207 pattern: identifier "c" source="c"
199208 parameter source="⟨external_name_node⟩⟨pattern⟩: ⟨type⟩"
200209 external_name_node: identifier "d" source="d"
201- type: unsupported_node "consuming T" source="consuming T"
210+ type:
211+ modified_type_expr source="⟨modifier⟩ ⟨type⟩"
212+ modifier: modifier "consuming" source="consuming"
213+ type: identifier "T" source="T"
202214 pattern: identifier "d" source="d"
203215 parameter source="⟨external_name_node⟩⟨pattern⟩: ⟨type⟩"
204216 external_name_node: identifier "e" source="e"
205- type: unsupported_node "@escaping (T) -> Void" source="@escaping (T) -> Void"
217+ type:
218+ modified_type_expr source="⟨modifier⟩ ⟨type⟩"
219+ modifier: modifier "@escaping" source="@escaping"
220+ type:
221+ function_expr source="(⟨parameter⟩) -> ⟨return_type⟩"
222+ parameter:
223+ parameter source="⟨type⟩"
224+ type: identifier "T" source="T"
225+ return_type: identifier "Void" source="Void"
206226 pattern: identifier "e" source="e"
207227 parameter source="⟨external_name_node⟩⟨pattern⟩: ⟨type⟩"
208228 external_name_node: identifier "g" source="g"
209- type: unsupported_node "@Sendable @escaping () -> D" source="@Sendable @escaping () -> D"
229+ type:
230+ modified_type_expr source="⟨modifier⟩ ⟨modifier⟩ ⟨type⟩"
231+ modifier:
232+ modifier "@Sendable" source="@Sendable"
233+ modifier "@escaping" source="@escaping"
234+ type:
235+ function_expr source="() -> ⟨return_type⟩"
236+ return_type: identifier "D" source="D"
210237 pattern: identifier "g" source="g"
211238 body: block "{}" source="{}"
0 commit comments