-InterfaceBlock::InterfaceBlock(const InterfaceBlock &other):
- Statement(other),
- layout(other.layout),
- interface(other.interface),
- block_name(other.block_name),
- members(other.members),
- instance_name(other.instance_name),
- array(other.array)
- // Do not copy pointers to other nodes
-{ }
-
-InterfaceBlock::~InterfaceBlock()
-{
- if(linked_block && linked_block->linked_block==this)
- linked_block->linked_block = 0;
- if(struct_declaration && struct_declaration->interface_block==this)
- struct_declaration->interface_block = 0;
-}
-
-void InterfaceBlock::visit(NodeVisitor &visitor)
-{
- visitor.visit(*this);
-}
-
-