Example #1
0
 abstract public string PrintWithDefaultFormatting(ApiCall node);
Example #2
0
 public override string PrintWithDefaultFormatting(ApiCall root)
 {
     return(Print(root, new StringBuilder( ), 0, openNewLine: false, closeNewLine: false).ToString( ));
 }
Example #3
0
 abstract public string Print(ApiCall node);
Example #4
0
 /// <summary>
 /// Flattens a tree of ApiCalls into a single string.
 /// </summary>
 public override string Print(ApiCall root)
 {
     return(Print(root, new StringBuilder( ), 0, OpenParenthesisOnNewLine, ClosingParenthesisOnNewLine).ToString( ));
 }