mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: extract iterator variable for for-in loops
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user