We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c3b72c commit 5dd7c14Copy full SHA for 5dd7c14
swift/ql/lib/codeql/swift/elements/stmt/ForEachStmt.qll
@@ -6,4 +6,12 @@ class ForEachStmt extends Generated::ForEachStmt {
6
then result = "for ... in ... where ... { ... }"
7
else result = "for ... in ... { ... }"
8
}
9
+
10
+ /*
11
+ * Gets the sequence of this for each statement.
12
+ */
13
14
+ final Expr getSequence() {
15
+ result = this.getIteratorVar().getInit(0)
16
+ }
17
0 commit comments