traverse method

void traverse(
  1. void visit(
    1. DartdocOption option
    )
)

Apply the function visit to this and all children.

Implementation

void traverse(void Function(DartdocOption option) visit) {
  visit(this);
  _children.values.forEach((d) => d.traverse(visit));
}