コード例 #1
0
        internal void InvalidateInstructionStream()
        {
            _wamInstructionStream = null;

            if (_prologInstructionStream != null)
            {
                _prologInstructionStream = null;
                RaisePropertyChanged(new PropertyChangedEventArgs("PrologInstructionStream"));
            }
        }
コード例 #2
0
        internal PrologInstruction(PrologInstructionStream instructionStream, int index)
        {
            if (instructionStream == null)
            {
                throw new ArgumentNullException("instructionStream");
            }

            m_instructionStream = instructionStream;
            m_index             = index;

            m_isCurrentLocation = false;
            m_isBreakpoint      = false;
        }
コード例 #3
0
        internal PrologStackFrame(PrologStackFrameList container, int stackIndex)
        {
            if (container == null)
            {
                throw new ArgumentNullException("container");
            }
            if (stackIndex < 0)
            {
                throw new ArgumentOutOfRangeException("stackIndex");
            }

            m_container  = container;
            m_stackIndex = stackIndex;

            m_instructionStream = null;
            m_variables         = null;
            m_clause            = null;
        }