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 InstrNode(Instr instruction, CodePosition position) { Value = instruction; Position = position; }