示例#1
0
 protected static PPElement PPGroupWithDelimiters(PPElement separator, IEnumerable <PPElement> children)
 {
     return(new PPGroup(
                new PPNewline(),
                new PPText("{"),
                new PPIncIndent(
                    new PPGroup(
                        separator,
                        children.Select <PPElement, PPElement>(c =>
                                                               new PPGroup(
                                                                   new PPNewline(),
                                                                   c)))),
                new PPNewline(),
                new PPText("}")));
 }
示例#2
0
 public PPIncIndent(string tag, PPElement child)
     : base(tag)
 {
     Child = child;
 }
示例#3
0
 public PPIncIndent(PPElement child)
     : this("", child)
 {
 }
示例#4
0
 public PPIncIndent(PPElement child)
     : this("", child)
 {
 }
示例#5
0
 public PPIncIndent(string tag, PPElement child)
     : base(tag)
 {
     Child = child;
 }