private void associationList(List <AssociationElement> associationList, bool addLineBreaks)
        {
            bool first = true;

            foreach (AssociationElement element in associationList)
            {
                if (first)
                {
                    first = false;
                }
                else
                {
                    writer.Append(',');
                    if (addLineBreaks)
                    {
                        writer.NewLine();
                    }
                    else
                    {
                        writer.Append(' ');
                    }
                }
                VhdlOutputHelper.handleAnnotationsBefore(element, writer);
                associationElement(element);
                VhdlOutputHelper.handleAnnotationsAfter(element, writer);
            }
            if (addLineBreaks)
            {
                writer.NewLine();
            }
        }
 public override void visit(ConcurrentStatement statement)
 {
     VhdlOutputHelper.handleAnnotationsBefore(statement, writer);
     base.visit(statement);
     VhdlOutputHelper.handleAnnotationsAfter(statement, writer);
 }
 public override void visit(ConfigurationItem item)
 {
     VhdlOutputHelper.handleAnnotationsBefore(item, writer);
     base.visit(item);
     VhdlOutputHelper.handleAnnotationsAfter(item, writer);
 }
예제 #4
0
 public override void visit(DeclarativeItem declaration)
 {
     VhdlOutputHelper.handleAnnotationsBefore(declaration, writer);
     base.visit(declaration);
     VhdlOutputHelper.handleAnnotationsAfter(declaration, writer);
 }
예제 #5
0
 public override void visit(Expression expression)
 {
     VhdlOutputHelper.handleAnnotationsBefore(expression, writer);
     base.visit(expression);
     VhdlOutputHelper.handleAnnotationsAfter(expression, writer);
 }
 public override void visit(LibraryUnit unit)
 {
     VhdlOutputHelper.handleAnnotationsBefore(unit, writer);
     base.visit(unit);
     VhdlOutputHelper.handleAnnotationsAfter(unit, writer);
 }
예제 #7
0
 public override void visit(Type type)
 {
     VhdlOutputHelper.handleAnnotationsBefore(type, writer);
     base.visit(type);
     VhdlOutputHelper.handleAnnotationsAfter(type, writer);
 }