コード例 #1
0
        private void JumpAndLink(Expression exp)
        {
            //we remember our current instructionpointer +1
            JumpStack.Push(InstructionPointer);

            //we just do goto
            Goto(exp);
        }
コード例 #2
0
 private void PopJump(Expression exp)
 {
     if (JumpStack.Count > 0)
     {
         InstructionPointer = JumpStack.Pop();
     }
     else
     {
         exitFlag = true;
     }
 }