void AstProvider::accept(AstVisitor& visitor) { visitor.preVisit(*this); for (AstCounterSetPtr n : *this) n->accept(visitor); visitor.postVisit(*this); }
void AstCounterSet::accept(AstVisitor& visitor) { visitor.preVisit(*this); for (shared_ptr<AstCounter> n : *this) n->accept(visitor); visitor.postVisit(*this); }