Block::Block():
use_braces(false),
- anonymous(false),
parent(0)
{ }
Node(other),
body(other.body),
use_braces(other.use_braces),
- anonymous(other.anonymous),
parent(0)
{ }
}
+InterfaceBlockReference::InterfaceBlockReference():
+ declaration(0)
+{ }
+
+InterfaceBlockReference::InterfaceBlockReference(const InterfaceBlockReference &other):
+ name(other.name),
+ declaration(0)
+{ }
+
+void InterfaceBlockReference::visit(NodeVisitor &visitor)
+{
+ visitor.visit(*this);
+}
+
+
MemberAccess::MemberAccess():
declaration(0)
{ }
InterfaceBlock::InterfaceBlock():
- array(false)
+ array(false),
+ linked_block(0)
{
members.use_braces = true;
}
+InterfaceBlock::InterfaceBlock(const InterfaceBlock &other):
+ interface(other.interface),
+ name(other.name),
+ members(other.members),
+ instance_name(other.instance_name),
+ array(other.array),
+ linked_block(0)
+{ }
+
void InterfaceBlock::visit(NodeVisitor &visitor)
{
visitor.visit(*this);