예제 #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();
            }
        }
예제 #2
0
 /// <summary>
 /// Visits the verse.
 /// </summary>
 /// <param name="verse">The verse.</param>
 public virtual void VisitVerse(Verse verse)
 {
     VisitAttributable(verse);
     VisitContainer(verse);
 }
예제 #3
0
 public virtual void Visit(Verse verse)
 {
 }
예제 #4
0
 public virtual void Visit(Verse verse)
 {
     VisitAttributable(verse);
     Visit((Container)verse);
 }