public Conv(IOperation val, ValueType toType) { operationString = String.Format("{0}", toType.ToString().Substring(1)); a = val; returnType = toType; }
public virtual void Trace(int depth) { Console.Write(MISC.tabs(depth)); MISC.ConsoleWrite(operationString, ConsoleColor.Yellow); MISC.ConsoleWriteLine(" " + returnType.ToString(), ConsoleColor.DarkGreen); a.Trace(depth + 1); MISC.finish = true; b.Trace(depth + 1); }