Esempio n. 1
0
 def _refreshResults(self, module):
     self._result = Execution.getResultOfEvaluationWithinModule(
         self.getExpr(), module)
     self._incr.onChanged()
Esempio n. 2
0
	def executeAndEvaluateInScopeWithinModule(self, module, globals, locals):
		return Execution.executeInScopeWithinModule( self.model, globals, locals, module, True )
Esempio n. 3
0
 def _refreshResults(self, module):
     self._result = Execution.getResultOfExecutionWithinModule(
         self.getCode(), module, self.isResultVisible())
     self._incr.onChanged()
Esempio n. 4
0
	def executeAndEvaluateWithinModule(self, module):
		return Execution.executeWithinModule( self.model, module, True )
Esempio n. 5
0
	def executeInScopeWithinModule(self, module, globals, locals):
		return Execution.executeInScopeWithinModule( self.model, globals, locals, module, False )
Esempio n. 6
0
	def executeWithinModule(self, module):
		return Execution.executeWithinModule( self.model, module, False )
Esempio n. 7
0
	def getResultOfExecutionAndEvaluationInScopeWithinModule(self, module, globals, locals):
		return Execution.getResultOfExecutionInScopeWithinModule( self.model, globals, locals, module, True )
Esempio n. 8
0
	def getResultOfExecutionAndEvaluationWithinModule(self, module):
		return Execution.getResultOfExecutionWithinModule( self.model, module, True )
Esempio n. 9
0
	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 )