Beispiel #1
0
        /// <summary>
        /// Visits the verse.
        /// </summary>
        /// <param name="verse">The verse.</param>
        public virtual void VisitVerse(Verse verse)
        {
            if (verse == null)
            {
                return;
            }
            VisitAttributeList(verse.Attributes);
            var isBlock = verse.Count > 1;

            if (isBlock)
            {
                _writer.WriteLine(Patterns.Block.Verse);
            }
            VisitContainer(verse);
            if (isBlock)
            {
                _writer.WriteLine(Patterns.Block.Verse);
                _writer.WriteLine();
            }
        }
Beispiel #2
0
 /// <summary>
 /// Visits the verse.
 /// </summary>
 /// <param name="verse">The verse.</param>
 public virtual void VisitVerse(Verse verse)
 {
     VisitAttributable(verse);
     VisitContainer(verse);
 }
Beispiel #3
0
 public virtual void Visit(Verse verse)
 {
 }
Beispiel #4
0
 public virtual void Visit(Verse verse)
 {
     VisitAttributable(verse);
     Visit((Container)verse);
 }