示例#1
0
    public string ToCodeText()
    {
        StringBuilder text = new StringBuilder("\n");

        if (Condition != null)
        {
            text.Append(Condition.ToCodeText()).Append("\n");
        }
        text.Append("{\n");
        foreach (var e in CommandLines)
        {
            text.Append(e.ToCodeText());
        }
        text.Append("}\n");
        return(text.ToString());
    }
示例#2
0
 public string ToCodeText()
 {
     return(Access?.ToCodeText() + Parameter?.ToCodeText());
 }
示例#3
0
 public string ToCodeText()
 {
     return(keyword?.ToCodeText() + " " + code?.ToCodeText());
 }
示例#4
0
 public string ToCodeText()
 {
     return(ownerObject?.ToCodeText() + "." + member?.ToCodeText());
 }
示例#5
0
 public string ToCodeText()
 {
     return(A.ToCodeText() + " " + Operator + " " + B.ToCodeText());
 }
示例#6
0
 public string ToCodeText()
 {
     return(code?.ToCodeText() + ";\n");
 }