Ejemplo n.º 1
0
 private void UpdateProxy()
 {
     if (m_proxy.Version != m_master.Version)
     {
         m_proxy = m_master.Clone();
     }
 }
Ejemplo n.º 2
0
        private EvaluationResult RunToBreakpoint(Node node, Context context, ModuleLiteral env, EvaluationStackFrame args, Func <EvaluationResult> continuation)
        {
            IBreakpointStore breakpoints = GetBreakpointStore(context);

            if (breakpoints.IsEmpty)
            {
                return(continuation());
            }

            IBreakpoint atBreakpoint = breakpoints.Find(env.Path, node);

            // if at a breakpoint:
            if (atBreakpoint != null)
            {
                PauseEvaluation(node, context, env, args, PauseReasonBreakpoint);
            }

            return(continuation());
        }
Ejemplo n.º 3
0
 internal ReadOnlyProxyStore(IMasterStore master)
 {
     m_master = master;
     m_proxy  = master.Clone();
 }