public override string ToString() { return("\tProgram State\nExecution Stack\n" + ExeStack.ToString() + "\n\nTable of Symbols: " + SymTable.ToString() + "\n\nOutput: " + Output.ToString() + "\n\nFile Table: " + FileTable.ToString() + "\n\n\n\n"); }
public override string ToString() { return ("ExeStack:\n" + ExeStack.ToString() + "SymLink:\n" + SymTable.ToString() + "FileTable:\n" + FileTable.ToString() + "Heap:\n" + Heap.ToString() + "Output:\n" + Output); }
public override string ToString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder .AppendLine("Execution Stack:") .AppendLine(_exeStack.ToString()) .AppendLine("Symtable:") .AppendLine(_symTable.ToString()) .AppendLine("Output:") .AppendLine(_output.ToString()) .AppendLine("FileTable:") .AppendLine(_fileTable.ToString()) .AppendLine("Program:") .AppendLine(_program.toString()) .AppendLine() .AppendLine() .AppendLine() .AppendLine(); return(stringBuilder.ToString()); }