Swift: extract variables as children of ForEachStmt

This commit is contained in:
Paolo Tranquilli
2024-11-28 10:52:17 +01:00
parent 8bcc5f4bf8
commit 814218c7a8
24 changed files with 161 additions and 14 deletions

View File

@@ -1016,6 +1016,7 @@ class DoStmt(LabeledStmt):
body: BraceStmt | child
class ForEachStmt(LabeledStmt):
variables: list[VarDecl] | child
pattern: Pattern | child
where: optional[Expr] | child
iteratorVar: optional[PatternBindingDecl] | child