forEach method

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

Visits the immediate children of this node.

Implementation

forEach(callback) {
  if (expression != null) callback(expression as Node);
  body.forEach(callback);
}