Ejemplo n.º 1
0
 /// <summary>
 /// Creates a LuaObject for an expression which raised an exception instead of returning a value.
 /// </summary>
 public LuaEvaluationResult(LuaProcess process, string exceptionText, string expression, LuaStackFrame frame)
 {
     _process       = process;
     _expression    = expression;
     _frame         = frame;
     _exceptionText = exceptionText;
 }
Ejemplo n.º 2
0
 internal LuaThread(LuaProcess process, long identity, bool isWorkerThread)
 {
     _process        = process;
     _identity       = identity;
     _isWorkerThread = isWorkerThread;
     _name           = "";
 }
Ejemplo n.º 3
0
        public static void RegisterProcess(Guid id, LuaProcess process)
        {
            lock (_targets) {
                EnsureListenerSocket();

                _targets[id] = new WeakReference(process);
            }
        }
Ejemplo n.º 4
0
 public LuaBreakpoint(LuaProcess process, string filename, int lineNo, string condition, bool breakWhenChanged, int breakpointId, bool isDjangoBreakpoint = false)
 {
     _process            = process;
     _filename           = filename;
     _lineNo             = lineNo;
     _breakpointId       = breakpointId;
     _condition          = condition;
     _breakWhenChanged   = breakWhenChanged;
     _isDjangoBreakpoint = isDjangoBreakpoint;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Creates a LuaObject for an expression which successfully returned a value.
 /// </summary>
 public LuaEvaluationResult(LuaProcess process, string objRepr, string hexRepr, string typeName, string expression, string childText, bool childIsIndex, bool childIsEnumerate, LuaStackFrame frame, bool isExpandable)
 {
     _process          = process;
     _expression       = expression;
     _frame            = frame;
     _objRepr          = objRepr;
     _hexRepr          = hexRepr;
     _typeName         = typeName;
     _isExpandable     = isExpandable;
     _childText        = childText;
     _childIsIndex     = childIsIndex;
     _childIsEnumerate = childIsEnumerate;
 }