示例#1
0
        /// <summary>
        /// ToString override
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            ILanguageWriter writer = new CSharpWriter() as ILanguageWriter;

            return(writer.ExpressionSource(this));
        }
示例#2
0
        public static string ExpressionToString(IExpression expr)
        {
            ILanguageWriter lw = new CSharpWriter() as ILanguageWriter;

            return(lw.ExpressionSource(expr));
        }