public override string ToString() { if (comment == null) { return(string.Empty); } if (Alignment == Alignment.Right) { return($"{CodeLine.Tab(2)}//{comment}"); } else { return($"//{comment}"); } }
public string ToString(int indent) { return(string.Join(Environment.NewLine, lines.Select(line => CodeLine.Tab(indent) + line.ToString()))); }