Exemplo n.º 1
0
        public override string ToString()
        {
            ILTextCanvas canvas = new ILTextCanvas(null);

            RenderText_Statement(canvas);
            return(canvas.ToString());
        }
Exemplo n.º 2
0
        public override string ToString()
        {
            ILTextCanvas canvas = new ILTextCanvas(method);

            canvas.AppendToLine(method.ToStringEX());
            canvas.AppendToNewline("{");
            canvas.Indent();

            statement.RenderText_Statement(canvas);

            canvas.Dedent();
            canvas.AppendToNewline("}");

            canvas.AppendNewline();
            canvas.AppendNewline();
            Write(canvas);

            return(canvas.ToString());
        }