예제 #1
0
 public MatchContext(Instruction instruction) {
     Reset(instruction);
 }
예제 #2
0
 public void Reset(Instruction instruction) {
     _instruction = instruction;
     success = true;
 }
예제 #3
0
 public void Advance() {
     _instruction = _instruction.Next;
 }
예제 #4
0
        private void CreateInstruction() {
            Instruction previous = instruction;
            instruction = new Instruction(raw_il.position, ReadOpCode());

            if (previous != null) {
                instruction.Previous = previous;
                previous.Next = instruction;
            }
        }