示例#1
0
            public override string ToString()
            {
                StringBuilder buf = new StringBuilder();

                buf.Append(getStmtPrefix());
                buf.AppendFormat("{0}{1}", KeyToken.ToCode(), this.Condition.ToString());
                buf.AppendLine();
                buf.Append(Body.ToString());
                buf.AppendLine();
                return(buf.ToString());
            }
示例#2
0
            public override string ToString()
            {
                //return Raw.ToString();
                StringBuilder buf = new StringBuilder();

                //buf.Append(GetStmtPrefix());
                buf.AppendFormat("{0}{1}", KeyToken.ToCode(), this.ElseIfExp.ToString());
                buf.AppendLine();
                buf.Append(Body.ToString());
                buf.AppendLine();
                return(buf.ToString());
            }