forEach method

  1. @override
void forEach(
  1. void callback(
    1. Node node
    )
)
override

Visits the immediate children of this node.

Implementation

@override
forEach(callback) {
  if (init != null) callback(init!);
  if (condition != null) callback(condition!);
  if (update != null) callback(update!);
  callback(body);
}