getIterable method

  1. @override
Iterable<StatementInfo> getIterable()
override

get iterable to for each statements, each statement will yield itself first

Implementation

@override
Iterable<StatementInfo> getIterable() sync* {
  yield StatementInfo(this);
  yield* condition.getIterable();
  yield* lines.getIterable();
}