Member predicate ForeachStmt::getVariableDeclExpr

Gets the local variable declaration of this foreach loop, if any.

For example, var item in

foreach (var item in items) {
  ...
}
LocalVariableDeclExpr getVariableDeclExpr()