layout(other.layout)
{ }
+VariableDeclaration::~VariableDeclaration()
+{
+ if(linked_declaration && linked_declaration->linked_declaration==this)
+ linked_declaration->linked_declaration = 0;
+}
+
void VariableDeclaration::visit(NodeVisitor &visitor)
{
visitor.visit(*this);
linked_block(0)
{ }
+InterfaceBlock::~InterfaceBlock()
+{
+ if(linked_block && linked_block->linked_block==this)
+ linked_block->linked_block = 0;
+}
+
void InterfaceBlock::visit(NodeVisitor &visitor)
{
visitor.visit(*this);
VariableDeclaration();
VariableDeclaration(const VariableDeclaration &);
+ ~VariableDeclaration();
virtual VariableDeclaration *clone() const { return new VariableDeclaration(*this); }
virtual void visit(NodeVisitor &);
InterfaceBlock();
InterfaceBlock(const InterfaceBlock &);
+ ~InterfaceBlock();
virtual InterfaceBlock *clone() const { return new InterfaceBlock(*this); }
virtual void visit(NodeVisitor &);