void StructDefNode::accept(Visitor &v) { // In some cases (such as code generation), the visiting order should be changed if (v.orderChanged) { v.visitStructDefNode(this); return; } v.enterStructDefNode(this); decls->accept(v); v.visitStructDefNode(this); }