Swift: extract iterator variable for for-in loops

This commit is contained in:
Robert Marsh
2023-09-08 19:08:57 +00:00
parent 50d23f145b
commit a3e250aef5
10 changed files with 7002 additions and 5884 deletions

View File

@@ -986,8 +986,8 @@ class DoStmt(LabeledStmt):
class ForEachStmt(LabeledStmt):
pattern: Pattern | child
sequence: Expr | child
where: optional[Expr] | child
iteratorVar: optional[PatternBindingDecl] | child
nextCall: optional[Expr] | child
body: BraceStmt | child