Exemple #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}");
        }
Exemple #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());
        }
Exemple #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() + "}");
 }
Exemple #5
0
 public override string ToString()
 {
     return("(" + Process.ToString() + " \\ {" + Common.Classes.Ultility.Ultility.PPStringList(HidingAlphabets) + "})");
 }
Exemple #6
0
 public override string ToString()
 {
     return("(" + FirstProcess.ToString() + "interrupt" + SecondProcess.ToString() + ")");
 }
Exemple #7
0
 public override string ToString()
 {
     return("([" + Condition + "]" + Process.ToString() + ")");
 }
Exemple #8
0
 public override string ToString()
 {
     //return "(" + FirstProcess.ToString() + ";" + SecondProcess.ToString() + ")";
     return(FirstProcess.ToString() + ";\r\n" + SecondProcess.ToString());
 }
Exemple #9
0
 public override string ToString()
 {
     return("(" + Event + "->" + Process.ToString() + ")");
 }
Exemple #10
0
 public override string ToString()
 {
     return(Process.ToString());
 }