ToString() public method

public ToString ( ) : string
return string
Example #1
0
 public override string ToString()
 {
     if (root.type == SymbolType.SubExpression)
     {
         var s = root.ToString();
         return(s.Substring(1, s.Length - 2));
     }
     else
     {
         return(root.ToString());
     }
 }