void FuncDefNode::accept(Visitor &v)
{
	// In some cases (such as code generation), the visiting order should be changed
	if (v.orderChanged) {
		v.visitFuncDefNode(this);
		return;
	}

	v.enterFuncDefNode(this);

	decl->accept(v);
	block->accept(v);

	v.visitFuncDefNode(this);
}