forEach method

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

Visits the immediate children of this node.

Implementation

forEach(callback) {
  callback(condition);
  callback(then);
  if (otherwise != null) callback(otherwise as Node);
}