def _refreshResults(self, module): self._result = Execution.getResultOfEvaluationWithinModule( self.getExpr(), module) self._incr.onChanged()
def executeAndEvaluateInScopeWithinModule(self, module, globals, locals): return Execution.executeInScopeWithinModule( self.model, globals, locals, module, True )
def _refreshResults(self, module): self._result = Execution.getResultOfExecutionWithinModule( self.getCode(), module, self.isResultVisible()) self._incr.onChanged()
def executeAndEvaluateWithinModule(self, module): return Execution.executeWithinModule( self.model, module, True )
def executeInScopeWithinModule(self, module, globals, locals): return Execution.executeInScopeWithinModule( self.model, globals, locals, module, False )
def executeWithinModule(self, module): return Execution.executeWithinModule( self.model, module, False )
def getResultOfExecutionAndEvaluationInScopeWithinModule(self, module, globals, locals): return Execution.getResultOfExecutionInScopeWithinModule( self.model, globals, locals, module, True )
def getResultOfExecutionAndEvaluationWithinModule(self, module): return Execution.getResultOfExecutionWithinModule( self.model, module, True )
def getResultOfExecutionWithinModule(self, module): return Execution.getResultOfExecutionWithinModule( self.model, module, False )
def executeModule(self, module, bEvaluate=True): if not Python2.isEmptyTopLevel(module): execResult = Execution.getResultOfExecutionWithinModule( module, self._module, bEvaluate ) self._commit( module, execResult )