Ejemplo n.º 1
0
        public override string ToString()
        {
            string s = string.Format("if {0} then\n{1}", Expression, Indent(IfBranch.ToString()));

            if (ElseBranch != null)
            {
                s += string.Format("\nelse\n{0}", Indent(ElseBranch.ToString()));
            }
            s += "\nfi";
            return(s);
        }