protected IOperation b; // pointer 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); }
public virtual void Trace(int depth) { Console.Write(MISC.tabs(depth)); MISC.ConsoleWrite(pointerMuch(valType.pointerLevel), ConsoleColor.Red); MISC.ConsoleWrite(name, ConsoleColor.Green); MISC.ConsoleWriteLine(" (" + getValueType.ToString().Substring(1) + "" + adress + ")", ConsoleColor.DarkGreen); }
public virtual void Trace(int depth) { //Console.WriteLine(String.Format("{0}${1} [{2}]", MISC.tabs(depth), name, valType.ToString())); Console.Write(MISC.tabs(depth)); MISC.ConsoleWrite(pointerMuch(valType.pointerLevel), ConsoleColor.Red); MISC.ConsoleWrite(name, ConsoleColor.Green); MISC.ConsoleWriteLine("\t[" + getValueType.ToString() + "]", ConsoleColor.DarkGreen); }
public override void Trace(int depth) { Console.Write(MISC.tabs(depth)); MISC.ConsoleWrite(operationString, ConsoleColor.Green); MISC.ConsoleWriteLine(" " + returnType.ToString().Substring(1), ConsoleColor.DarkGreen); if (a != null) //if (returnType == VT.Cadress) { MISC.finish = true; a.Trace(depth + 1); } }
protected IOperation a; // pointer public virtual void Trace(int depth) { Console.Write(MISC.tabs(depth)); MISC.ConsoleWrite(operationString, ConsoleColor.Yellow); MISC.ConsoleWriteLine(" [" + returnTypes().ToString() + "]", ConsoleColor.DarkGreen); MISC.finish = true; //if (a != null) a.Trace(depth + 1); //else // Console.WriteLine(MISC.tabs(depth + 1) + " NULL"); }
public override void Trace(int depth) { Console.Write(MISC.tabs(depth)); if (!defining) { MISC.ConsoleWrite(operationString, ConsoleColor.Yellow); } else { MISC.ConsoleWrite(operationString + "", ConsoleColor.Red); } MISC.ConsoleWriteLine(" " + returnType.ToString(), ConsoleColor.DarkGreen); a.Trace(depth + 1); MISC.finish = true; b.Trace(depth + 1); }
public void Trace(int depth) { //Console.WriteLine(String.Format("{0}{1} #{3}[{2}]", MISC.tabs(depth), ASTTree.funcs[functionCallNumber].getName, // ASTTree.funcs[functionCallNumber].returnTypes().ToString(), functionCallNumber)); Console.Write(MISC.tabs(depth)); MISC.ConsoleWrite(ASTTree.funcs[functionCallNumber].getName + " #" + functionCallNumber, ConsoleColor.Cyan); MISC.ConsoleWriteLine(" -> " + ASTTree.funcs[functionCallNumber].returnTypes().ToString().Substring(1), ConsoleColor.DarkGreen); for (int i = 0; i < arguments.Count; i++) { if (i == arguments.Count - 1) { MISC.finish = true; } arguments[i].Trace(depth + 1); } }
public override void Trace(int depth) { if (variable == null) { Console.Write(MISC.tabs(depth)); MISC.ConsoleWrite(operationString, ConsoleColor.DarkGreen); MISC.ConsoleWrite(" " + returnType.ToString().Substring(1), ConsoleColor.Red);// MISC.ConsoleWriteLine(" by adress", ConsoleColor.DarkGreen); if (a != null) { MISC.finish = true;// a.Trace(depth + 1); } } else { //MISC.finish = true; variable.Trace(depth); } }
public virtual void TraceMore(int depth) { MISC.ConsoleWrite(String.Format("{2}\t{0}\t\t{1}\t\t{3}\t", pointerMuch(valType.pointerLevel) + name, getValueType.ToString().Substring(1), adress, everUsed), ConsoleColor.DarkGreen); MISC.ConsoleWriteLine(localSpace, ConsoleColor.DarkMagenta); }