Ejemplo n.º 1
0
 public Indent(int offset, Some <NestedText> text)
 {
     Offset = offset;
     Text   = text;
 }
Ejemplo n.º 2
0
 public static NestedText Indent(int offset, NestedText text) => NestedText.CreateIndent(offset, text);
Ejemplo n.º 3
0
 public static NestedText Scope(this IEnumerable <NestedText> xs, Text separator = null) => NestedText.CreateScope(xs.ToArr(), separator ?? Environment.NewLine);
Ejemplo n.º 4
0
 public static NestedText Line(Text text) => NestedText.CreateLine(text);
Ejemplo n.º 5
0
 public static NestedText EmptyScope() => NestedText.CreateScope(Arr <NestedText> .Empty, (Text)Environment.NewLine);