Example #1
0
        public override string ToString()
        {
            if (SecondProcess is Skip)
            {
                return("if " + ConditionalExpression + " {\r\n" + FirstProcess.ToString() + "\r\n}");
            }

            return("if " + ConditionalExpression + " {\r\n" + FirstProcess.ToString() + "\r\n} else {\r\n" + SecondProcess.ToString() + "\r\n}");
        }
Example #2
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("The process is:");
            sb.AppendLine(Process.ToString());
            if (!GlobalEnv.IsEmpty())
            {
                sb.AppendLine();
                sb.AppendLine("The environment is:");
                sb.AppendLine(GlobalEnv.ToString());
            }

            return(sb.ToString());
        }
Example #3
0
        public override string ToString()
        {
            if (Processes == null)
            {
                return("|||" + IndexedProcessDefinition);
            }

            StringBuilder s = new StringBuilder();

            for (int i = 0; i < Processes.Count; i++)
            {
                Process process = Processes[i];
                s.Append("(" + process.ToString() + ")\r\n|||");
            }
            return("(" + s.ToString().TrimEnd('|') + ")");
        }
 public override string ToString()
 {
     return("ifa " + ConditionalExpression + " {" + FirstProcess.ToString() + "} else {" + SecondProcess.ToString() + "}");
 }
Example #5
0
 public override string ToString()
 {
     return("(" + Process.ToString() + " \\ {" + Common.Classes.Ultility.Ultility.PPStringList(HidingAlphabets) + "})");
 }
Example #6
0
 public override string ToString()
 {
     return("(" + FirstProcess.ToString() + "interrupt" + SecondProcess.ToString() + ")");
 }
Example #7
0
 public override string ToString()
 {
     return("([" + Condition + "]" + Process.ToString() + ")");
 }
Example #8
0
 public override string ToString()
 {
     //return "(" + FirstProcess.ToString() + ";" + SecondProcess.ToString() + ")";
     return(FirstProcess.ToString() + ";\r\n" + SecondProcess.ToString());
 }
Example #9
0
 public override string ToString()
 {
     return("(" + Event + "->" + Process.ToString() + ")");
 }
Example #10
0
 public override string ToString()
 {
     return(Process.ToString());
 }