Пример #1
0
 public sealed override void ToString(NodeWriter writer)
 {
     writer.EnsureNewLine();
     writer.OpenNode(NodeName);
     writer.EnsureSpace();
     Expression.ToString(writer);
     writer.CloseNode();
 }
Пример #2
0
 public override void ToString(NodeWriter writer)
 {
     writer.EnsureNewLine();
     writer.OpenNode("import");
     writer.Write($" \"{Module}\" \"{Field}\" ");
     Node?.ToString(writer);
     writer.CloseNode();
     writer.EnsureNewLine();
 }