public override string ToString() { StringBuilder builder = new StringBuilder(); if (token != null) { builder.Append(token.ToString()); } if (func != null) { builder.Append(' '); builder.Append(func.ToString()); } return(builder.ToString()); }
public void ToStringTest() { var token = new FunctionToken(Functions.Sine, 1); Assert.Equal("Function: Sine (1)", token.ToString()); }
public override string ToString() { return(function.ToString()); }
public override string ToString() => _functionName.ToString() + '(' + string.Join <RdlSyntaxNode>(",", Args.Descendants) + ')';