walkElement static method

void walkElement(
  1. Element element,
  2. SAElementWalker walker
)

Implementation

static void walkElement(Element element, SAElementWalker walker) {
  element.visitChildren((child) {
    if (walker(child, element)) {
      walkElement(child, walker);
    }
  });
}