예제 #1
0
 public override void Disassemble(StringBuilder sb, ExpressionUsage u)
 {
     sb.AppendWhen(u >= ExpressionUsage.Operand, "(");
     Condition.Disassemble(sb, ExpressionUsage.Operand);
     sb.Append(" ? ");
     True.Disassemble(sb, ExpressionUsage.Operand);
     sb.Append(" : ");
     False.Disassemble(sb, ExpressionUsage.Operand);
     sb.AppendWhen(u >= ExpressionUsage.Operand, ")");
 }