private string ToStringFunctionStyle() { if (arg == null) { return(token.ToString()); } StringBuilder builder = new StringBuilder(); builder.Append(token.ToString()); if (var != null) { builder.Append(' '); builder.Append(var.ToString()); if (exp != null) { builder.Append(' '); builder.Append(','); builder.Append(var.ToString()); } } if (arg != null) { builder.Append(arg.ToString()); } return(builder.ToString()); }
public override string ToString() { if (arg == null) { return(primitive.ToString()); } StringBuilder builder = new StringBuilder(primitive.ToString()); builder.Append(arg.ToString()); return(builder.ToString()); }