accept method

  1. @override
void accept(
  1. NodeVisitor visitor
)
override

Implementation

@override
void accept(NodeVisitor visitor) {
  if (visitor.visitElementBefore(this)) {
    if (children != null) {
      for (final child in children!) {
        child.accept(visitor);
      }
    }
    visitor.visitElementAfter(this);
  }
}