public override PPElement ToPrettyPrint()
 {
     return(new PPGroup(
                Type.ToString(),
                new PPText("CaseInsensChar"),
                PPGroupWithDelimiters(new PPElement[] { ChildPattern.ToPrettyPrint() })));
 }
Esempio n. 2
0
 public override PPElement ToPrettyPrint()
 {
     return(new PPGroup(
                Type.ToString(),
                new PPText(string.Format("Quant (Min={0}{1}{2})",
                                         MinOccurrences,
                                         MaxOccurrences != null ? string.Format(", Max={0}", MaxOccurrences) : "",
                                         IsGreedy ? "" : string.Format(", IsGreedy={0}", IsGreedy))),
                PPGroupWithDelimiters(new PPElement[] { ChildPattern.ToPrettyPrint() })));
 }