Пример #1
0
        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());
        }
Пример #2
0
        public void ToStringTest()
        {
            var token = new FunctionToken(Functions.Sine, 1);

            Assert.Equal("Function: Sine (1)", token.ToString());
        }
Пример #3
0
 public override string ToString()
 {
     return(function.ToString());
 }
Пример #4
0
 public override string ToString()
 => _functionName.ToString() + '(' + string.Join <RdlSyntaxNode>(",", Args.Descendants) + ')';