void ConvertAttributes(AST.AttributedNode from, AbstractDecoration to) { if (from.Attributes.Count == 0) { to.Attributes = DefaultAttribute.EmptyAttributeList; } else { to.Attributes = VisitAttributes(from.Attributes); } }