Beispiel #1
0
        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 + "}");
        }
Beispiel #2
0
 public InstrNode(Instr instruction, CodePosition position)
 {
     Value    = instruction;
     Position = position;
 }