/// <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; }
/// <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; }