public static string PrettyMultiple(InstrNode[] instructions) { string result = "{"; for (int i = 0; i < instructions.Length; i++) { Instr instr = instructions[i].Value; result += instr.Pretty(); if (i < instructions.Length - 1) { result += ", "; } } return(result + "}"); }
public string Pretty(int level) { return("InstrNode: " + Value.Pretty(level)); }