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