예제 #1
0
 /// <summary>
 /// Writes the full text of this token to the specified TextWriter
 /// </summary>
 /// <param name="writer"></param>
 public void WriteTo(System.IO.TextWriter writer)
 {
     if (_token != null)
     {
         _token.WriteTo(writer);
     }
 }
예제 #2
0
 /// <summary>
 /// Writes the full text of this trivia to the specified TextWriter.
 /// </summary>
 public void WriteTo(System.IO.TextWriter writer)
 {
     if (triviaNode != null)
     {
         triviaNode.WriteTo(writer);
     }
 }
예제 #3
0
 /// <summary>
 /// Writes the full text of this node or token to the specified TextWriter.
 /// </summary>
 public void WriteTo(System.IO.TextWriter writer)
 {
     if (_token != null)
     {
         _token.WriteTo(writer);
     }
     else
     {
         _nodeOrParent?.WriteTo(writer);
     }
 }