append(literal.token);
}
-void Formatter::visit(ParenthesizedExpression &parexpr)
-{
- append('(');
- parexpr.expression->visit(*this);
- append(')');
-}
-
void Formatter::visit(VariableReference &var)
{
append(var.name);
void Formatter::visit(InterfaceBlock &iface)
{
- append(format("%s %s\n", iface.interface, iface.name));
+ append(format("%s %s\n", iface.interface, iface.block_name));
if(iface.struct_declaration)
iface.struct_declaration->members.visit(*this);
if(!iface.instance_name.empty())