Exemplo n.º 1
0
 public Continuation(InstructionId instruction = null)
 {
     NextInstructions = instruction == null ? new List <InstructionId>() : new List <InstructionId> {
         instruction
     };
 }
Exemplo n.º 2
0
 public Instruction(Statement statement, InstructionId id, Continuation continuation = null)
 {
     Id           = id;
     Statement    = statement ?? throw new Exception("Instruction statement can't be null");
     Continuation = continuation ?? new Continuation();
 }