rem stringlengths 1 322k | add stringlengths 0 2.05M | context stringlengths 4 228k | meta stringlengths 156 215 |
|---|---|---|---|
lex.lex( lextab=lextabname, optimize=1 ) return yacc.yacc( optimize=1, tabmodule=yacctabname ) | lex.lex() return yacc.yacc() | def initializePLY(): lextabname = "expressionlextab" yacctabname = "expressionparsetab" lex.lex( lextab=lextabname, optimize=1 ) | 9d0ce5180468dc36265806001a8a8bee6695069c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/9d0ce5180468dc36265806001a8a8bee6695069c/expressionparser.py |
aFastColon = string.index( aVariableReference, ':' ) | aFirstColon = string.index( aVariableReference, ':' ) | def getVariableReferenceId( aVariableReference ): aFastColon = string.index( aVariableReference, ':' ) aLastColon = string.rindex( aVariableReference, ':' ) # set Species Id to Reactant object if ( aVariableReference[aFastColon+1:aLastColon] == '.' ): aSpeciesReferencePath = string.replace( aReactionPath[1:], '/', '... | 9d0ce5180468dc36265806001a8a8bee6695069c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/9d0ce5180468dc36265806001a8a8bee6695069c/expressionparser.py |
if ( aVariableReference[aFastColon+1:aLastColon] == '.' ): aSpeciesReferencePath = string.replace( aReactionPath[1:], '/', '_S_' ) | if ( aVariableReference[aFirstColon+1:aLastColon] == '.' ): if ( aReactionPath[1:] == '' ): return aVariableReference[aLastColon+1:] else: aSpeciesReferencePath = string.replace( aReactionPath[1:], '/', '__' ) elif ( aVariableReference[aFirstColon+1:aLastColon] == '/' ): return aVariableReference[aLastColon+1:] | def getVariableReferenceId( aVariableReference ): aFastColon = string.index( aVariableReference, ':' ) aLastColon = string.rindex( aVariableReference, ':' ) # set Species Id to Reactant object if ( aVariableReference[aFastColon+1:aLastColon] == '.' ): aSpeciesReferencePath = string.replace( aReactionPath[1:], '/', '... | 9d0ce5180468dc36265806001a8a8bee6695069c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/9d0ce5180468dc36265806001a8a8bee6695069c/expressionparser.py |
aSpeciesReferencePath = string.replace( aVariableReference[aFastColon+2:aLastColon], '/', '_S_' ) return aSpeciesReferencePath + '_' + aVariableReference[aLastColon+1:] | aSpeciesReferencePath = string.replace( aVariableReference[aFirstColon+2:aLastColon], '/', '__' ) return aSpeciesReferencePath + '__' + aVariableReference[aLastColon+1:] | def getVariableReferenceId( aVariableReference ): aFastColon = string.index( aVariableReference, ':' ) aLastColon = string.rindex( aVariableReference, ':' ) # set Species Id to Reactant object if ( aVariableReference[aFastColon+1:aLastColon] == '.' ): aSpeciesReferencePath = string.replace( aReactionPath[1:], '/', '... | 9d0ce5180468dc36265806001a8a8bee6695069c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/9d0ce5180468dc36265806001a8a8bee6695069c/expressionparser.py |
gobject.timeout_add( self.delay-50, LogoAnimation.animate, self ) | gobject.timeout_add( 60, LogoAnimation.animate, self ) | def animate( self ): if ( self.__running ): | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
self.realtimeVisible = False | self.timerVisible = False | def __init__( self, aSession ): | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
'step_button_clicked' : self.__stepSimulation, | 'step_button_clicked' : self.__stepSimulation, | def openWindow( self ): | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
'on_sec_step_entry_activate' : self.__setStepSizeOrSec, 'on_real_time_clear_button_clicked' : self.__clearRealTime, 'on_load_model_button_clicked' : self.__openFileSelection, | 'on_sec_step_entry_activate' : self.__setStepSizeOrSec, 'on_timer_clear_button_clicked' : self.__clearTimer, 'on_load_model_button_clicked' : self.__openFileSelection, | def openWindow( self ): | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
'on_save_model_button_clicked' : self.__openFileSelection, | 'on_save_model_button_clicked' : self.__openFileSelection, | def openWindow( self ): | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
'on_real_time_activate' : self.__displayRealtime, | 'on_timer_activate' : self.__displayTimer, | def openWindow( self ): | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
def openWindow( self ): | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py | ||
self['real_time_entry'].set_text( str( 0 ) ) self['real_time_entry'].modify_base( gtk.STATE_NORMAL, | self['timer_entry'].set_text( str( 0 ) ) self['timer_entry'].modify_base( gtk.STATE_NORMAL, | def openWindow( self ): | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
self['real_time_entry'].set_property( 'xalign', 1 ) self['real_time_box'].hide() | self['timer_entry'].set_property( 'xalign', 1 ) self['timer_box'].hide() | def openWindow( self ): | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
self['real_time_clear_button'].set_sensitive(aDataLoadedStatus) | self['timer_clear_button'].set_sensitive(aDataLoadedStatus) | def __setMenuAndButtonsStatus( self, aDataLoadedStatus ): """sets initial widgets status aDataLoadedStatus -- the status of loading data (TRUE:Model or Script is loaded / FALSE:Not loaded) Returns None """ | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
self.theEntityListWindow.setSession( self.theSession ) | self.theEntityListWindow.initializeComponents( self.theSession ) | def __loadData( self, *arg ) : """loads model or script file arg[0] --- ok button of FileSelection arg[1] --- 'Model'/'Script' (str) Return None """ | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
aRealTime = time.time() | def update( self ): """updates this window Returns None """ if not self.exists(): return None # updates time aTime = self.theSession.theSimulator.getCurrentTime() self.theCurrentTime = aTime self['time_entry'].set_text( str( self.theCurrentTime ) ) self['sec_step_entry'].set_text( str( self.theStepSizeOrSec ) ) | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py | |
self.realtimeVisible ): self['real_time_entry'].set_text( str( round( aRealTime - self.startTime + self.tempTime, 2 ) ) ) | self.timerVisible ): self['timer_entry'].set_text( self.getCurrentTime( time.time() - self.startTime + self.tempTime ) ) | def update( self ): """updates this window Returns None """ if not self.exists(): return None # updates time aTime = self.theSession.theSimulator.getCurrentTime() self.theCurrentTime = aTime self['time_entry'].set_text( str( self.theCurrentTime ) ) self['sec_step_entry'].set_text( str( self.theStepSizeOrSec ) ) | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
aRealTime = time.time() | def update( self ): """updates this window Returns None """ if not self.exists(): return None # updates time aTime = self.theSession.theSimulator.getCurrentTime() self.theCurrentTime = aTime self['time_entry'].set_text( str( self.theCurrentTime ) ) self['sec_step_entry'].set_text( str( self.theStepSizeOrSec ) ) | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py | |
self['run_speed_scale'].set_value( math.log10( ( aTime - self.theLastTime ) / ( aRealTime - self.theLastRealTime ) ) ) | self['run_speed_scale'].set_value( math.log10( ( aTime - self.theLastTime ) / ( aRealTime - self.theLastRealTime ) ) ) | def update( self ): """updates this window Returns None """ if not self.exists(): return None # updates time aTime = self.theSession.theSimulator.getCurrentTime() self.theCurrentTime = aTime self['time_entry'].set_text( str( self.theCurrentTime ) ) self['sec_step_entry'].set_text( str( self.theStepSizeOrSec ) ) | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
def update( self ): """updates this window Returns None """ if not self.exists(): return None # updates time aTime = self.theSession.theSimulator.getCurrentTime() self.theCurrentTime = aTime self['time_entry'].set_text( str( self.theCurrentTime ) ) self['sec_step_entry'].set_text( str( self.theStepSizeOrSec ) ) | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py | ||
def getCurrentTime( self, aTime ): theTime = self.datetime.fromtimestamp( aTime ) return str( theTime.hour-9 )+" : "+str( theTime.minute ) + " : " + str( theTime.second ) | def update( self ): """updates this window Returns None """ if not self.exists(): return None # updates time aTime = self.theSession.theSimulator.getCurrentTime() self.theCurrentTime = aTime self['time_entry'].set_text( str( self.theCurrentTime ) ) self['sec_step_entry'].set_text( str( self.theStepSizeOrSec ) ) | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py | |
def __displayToolbar( self, *arg ): # show Toolbar | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py | ||
def __displayRealtime( self, *arg ): | def __displayTimer( self, *arg ): | def __displayRealtime( self, *arg ): # show Indicator | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
if self.realtimeVisible: self['real_time_box'].hide() self.realtimeVisible = False | if self.timerVisible: self['timer_box'].hide() self.setTimerActive(False) self.timerVisible = False | def __displayRealtime( self, *arg ): # show Indicator | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
self['real_time_box'].show() self.realtimeVisible = True | self['timer_box'].show() self.setTimerActive(True) self.timerVisible = True | def __displayRealtime( self, *arg ): # show Indicator | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
self['real_time_entry'].set_text( str(0.0) ) | self['timer_entry'].set_text( "0 : 0 : 0" ) | def __displayRealtime( self, *arg ): # show Indicator | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
self['real_time_entry'].set_text( str( round( self.tempTime, 2 ) ) ) | self['timer_entry'].set_text( self.getCurrentTime( self.tempTime ) ) | def __displayRealtime( self, *arg ): # show Indicator | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
self['real_time_entry'].set_text( str( round( time.time() - self.startTime + self.tempTime, 2 ) ) ) | self['timer_entry'].set_text( self.getCurrentTime( time.time() - self.startTime + self.tempTime ) ) def setIndicatorActive( self, isActive ): self['run_speed_indicator'].set_active(isActive) ( self['indicator_button'].get_child() ).set_active(isActive) def setTimerActive( self, isActive ): self['timer_menu'].set_... | def __displayRealtime( self, *arg ): # show Indicator | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
def __clearRealTime( self, *arg ): self['real_time_entry'].set_text( str(0.0) ) | def __clearTimer( self, *arg ): self['timer_entry'].set_text( "0 : 0 : 0" ) | def __clearRealTime( self, *arg ): | da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/da0af0e71ba9d1fe04c9ef18877ef796cad2fc0c/MainWindow.py |
anEntityListWindow = EntityListWindow.EntityListWindow( None, rootWidget, aStatusBar ) | anEntityListWindow = EntityListWindow.EntityListWindow( self, rootWidget, aStatusBar ) | def createEntityListWindow( self, rootWidget = 'EntityListWindow', aStatusBar=None ): """creates and returns an EntityListWindow """ anEntityListWindow = None | 6c5413018cb534443f2083803d23634e262218d2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/6c5413018cb534443f2083803d23634e262218d2/GtkSessionMonitor.py |
elif self.theUpdateInterval >300: self.theUpdateInterval /=2 | elif self.theUpdateInterval >=225: self.theUpdateInterval /=1.5 | def __updateByTimeOut( self, arg ): """when time out, calls updates method() Returns None """ if not gtk.events_pending(): self.updateWindows() if self.stuckRequests > 0: self.stuckRequests -= 1 elif self.theUpdateInterval >300: self.theUpdateInterval /=2 else: self.stuckRequests +=1 if self.stuckRequests >20: self.the... | 6c5413018cb534443f2083803d23634e262218d2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/6c5413018cb534443f2083803d23634e262218d2/GtkSessionMonitor.py |
if self.stuckRequests >20: self.theUpdateInterval *= 2 self.theTimer = gtk.timeout_add( self.theUpdateInterval, self.__updateByTimeOut, 0 ) | if self.stuckRequests >6: self.theUpdateInterval *= 1.5 self.stuckRequests = 3 self.theTimer = gtk.timeout_add( int(self.theUpdateInterval), self.__updateByTimeOut, 0 ) | def __updateByTimeOut( self, arg ): """when time out, calls updates method() Returns None """ if not gtk.events_pending(): self.updateWindows() if self.stuckRequests > 0: self.stuckRequests -= 1 elif self.theUpdateInterval >300: self.theUpdateInterval /=2 else: self.stuckRequests +=1 if self.stuckRequests >20: self.the... | 6c5413018cb534443f2083803d23634e262218d2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/6c5413018cb534443f2083803d23634e262218d2/GtkSessionMonitor.py |
self.theFileMap[aKey].setFileName(aFileName) self.theFileMap[aKey].save() | self.theFileMap[aKey].save(aFileName) | def saveAll(self): | 939411bdc0b6d026fe9f5d4e25227016d6104df2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/939411bdc0b6d026fe9f5d4e25227016d6104df2/DataFileManager.py |
def p_property(t): ''' property : name valuelist SEMI ''' if type(t[2]) == str: t[2] = [t[2]] if t.type == 'Stepper': anEml.setStepperProperty(t.id, t[1], t[2]) else: anEml.setEntityProperty(t.id, t[1], t[2]) #t[0] = t[1], t[2] | aafadc6a9319aca453254ec18c404c1985844949 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/aafadc6a9319aca453254ec18c404c1985844949/emparser.py | ||
#def p_matrix(t): | aafadc6a9319aca453254ec18c404c1985844949 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/aafadc6a9319aca453254ec18c404c1985844949/emparser.py | ||
anEml = ecell.eml.Eml() | anEml = anEmlObject | def convertEm2Eml( anEmFileObject, debug=0 ): # initialize eml object global anEml anEml = ecell.eml.Eml() # Build the lexer aLexer = lex.lex(lextab="emlextab") # Tokenizen test.. #while debug == 1: # Give the lexer some input for test # lex.input(anEmFileObject.read()) # tok = aLexer.token( anEmFileObject.re... | aafadc6a9319aca453254ec18c404c1985844949 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/aafadc6a9319aca453254ec18c404c1985844949/emparser.py |
def convertEm2Eml( anEmFileObject, debug=0 ): # initialize eml object global anEml anEml = ecell.eml.Eml() # Build the lexer aLexer = lex.lex(lextab="emlextab") # Tokenizen test.. #while debug == 1: # Give the lexer some input for test # lex.input(anEmFileObject.read()) # tok = aLexer.token( anEmFileObject.re... | aafadc6a9319aca453254ec18c404c1985844949 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/aafadc6a9319aca453254ec18c404c1985844949/emparser.py | ||
def synchronize(self): self.updateWindows() while gtk.events_pending(): gtk.main_iteration_do() def GUI_interact(self): | def GUI_interact(self): | def __init__(self, aSimulator = None ): """sets up the osogo session, creates Mainwindow and other fundamental windows but doesn't show them""" | f90670a48ac9dffeb69d1bfeb6cbfcdcdfc68e69 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/f90670a48ac9dffeb69d1bfeb6cbfcdcdfc68e69/GtkSessionMonitor.py |
self.updateWindows() | if not gtk.events_pending(): self.updateWindows() | def __updateByTimeOut( self, arg ): """when time out, calls updates method() Returns None """ self.updateWindows() self.theTimer = gtk.timeout_add( self.theUpdateInterval, self.__updateByTimeOut, 0 ) | f90670a48ac9dffeb69d1bfeb6cbfcdcdfc68e69 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/f90670a48ac9dffeb69d1bfeb6cbfcdcdfc68e69/GtkSessionMonitor.py |
def setUpdateInterval(self, Secs): | def setUpdateInterval(self, Secs): | def setUpdateInterval(self, Secs): # "plugins are refreshed every secs seconds" self.theMainWindow.theUpdateInterval = Secs | f90670a48ac9dffeb69d1bfeb6cbfcdcdfc68e69 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/f90670a48ac9dffeb69d1bfeb6cbfcdcdfc68e69/GtkSessionMonitor.py |
aVarobj = aLayout.getObject( newVariableID ) | def __pasteConnectionObjectBuffer( self, aLayout, conBuffer, translationList ): anID = conBuffer.getID() processID = conBuffer.getProperty( CO_PROCESS_ATTACHED ) | 9cc676874a79bf1b520a447ac6a22c63d9fae212 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/9cc676874a79bf1b520a447ac6a22c63d9fae212/LayoutBufferFactory.py | |
conObject = aLayout.getObject( newID ) | def __pasteConnectionObjectBuffer( self, aLayout, conBuffer, translationList ): anID = conBuffer.getID() processID = conBuffer.getProperty( CO_PROCESS_ATTACHED ) | 9cc676874a79bf1b520a447ac6a22c63d9fae212 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/9cc676874a79bf1b520a447ac6a22c63d9fae212/LayoutBufferFactory.py | |
propertyList = conBuffer.getPropertyList() for aProperty in propertyList: | def __pasteConnectionObjectBuffer( self, aLayout, conBuffer, translationList ): anID = conBuffer.getID() processID = conBuffer.getProperty( CO_PROCESS_ATTACHED ) | 9cc676874a79bf1b520a447ac6a22c63d9fae212 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/9cc676874a79bf1b520a447ac6a22c63d9fae212/LayoutBufferFactory.py | |
if aProperty not in (CO_ENDPOINT1, CO_ENDPOINT2, CO_PROCESS_ATTACHED, CO_VARIABLE_ATTACHED): aValue = conBuffer.getProperty( aProperty ) conObject.setProperty( aProperty, aValue ) | def __pasteConnectionObjectBuffer( self, aLayout, conBuffer, translationList ): anID = conBuffer.getID() processID = conBuffer.getProperty( CO_PROCESS_ATTACHED ) | 9cc676874a79bf1b520a447ac6a22c63d9fae212 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/9cc676874a79bf1b520a447ac6a22c63d9fae212/LayoutBufferFactory.py | |
return newID | def __pasteConnectionObjectBuffer( self, aLayout, conBuffer, translationList ): anID = conBuffer.getID() processID = conBuffer.getProperty( CO_PROCESS_ATTACHED ) | 9cc676874a79bf1b520a447ac6a22c63d9fae212 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/9cc676874a79bf1b520a447ac6a22c63d9fae212/LayoutBufferFactory.py | |
if type( aModel ) == type( eml.Eml ) or\ type( aModel ) == type( eml.Eml() ): | if type( aModel ) != type( eml.Eml ) and\ type( aModel ) != type( eml.Eml() ): | def loadModel( self, aModel ): # aModel : an EML instance, a file name (string) or a file object # return -> None # This method can thwor exceptions. | 3c06f6c06a374899acc20659a6a104f4f2de01c4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/3c06f6c06a374899acc20659a6a104f4f2de01c4/Session.py |
self.thePluginManager.updateFandamentalWindows() | self.thePluginManager.updateFundamentalWindows() | def setValue( self, aFullPN, aValue ): | 396427d786372783f178faaf697fb99c6bc906c6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/396427d786372783f178faaf697fb99c6bc906c6/OsogoPluginWindow.py |
self.thePluginManager.updateFandamentalWindows() | self.thePluginManager.updateFundamentalWindows() | def createLogger( self, *objects ): | 396427d786372783f178faaf697fb99c6bc906c6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/396427d786372783f178faaf697fb99c6bc906c6/OsogoPluginWindow.py |
self.thePluginManager.updateFandamentalWindows() | self.thePluginManager.updateFundamentalWindows() | def changeFullPN( self, anObject ): | 396427d786372783f178faaf697fb99c6bc906c6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/396427d786372783f178faaf697fb99c6bc906c6/OsogoPluginWindow.py |
self.setFunctionDefinitionToDictionaly() def setFunctionDefinitionToDictionaly( self ): | self.setFunctionDefinitionToDictionary() def setFunctionDefinitionToDictionary( self ): | def __init__( self, aSBMLDocument, aSBMLmodel ): | 0f25c1011741b6225e774194ca64d4c9ad08d815 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/0f25c1011741b6225e774194ca64d4c9ad08d815/convertSBMLFunctions.py |
return aSpecies[9] | return 1 | def getConstant( self, aSpecies ): | 0f25c1011741b6225e774194ca64d4c9ad08d815 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/0f25c1011741b6225e774194ca64d4c9ad08d815/convertSBMLFunctions.py |
return aSpecies[11] | return 1 | def getConstant( self, aSpecies ): | 0f25c1011741b6225e774194ca64d4c9ad08d815 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/0f25c1011741b6225e774194ca64d4c9ad08d815/convertSBMLFunctions.py |
if event.button = gtk.gdk._2BUTTON_PRESS | if event.button == gtk.gdk._2BUTTON_PRESS: | def __buttonPressed( self, *args ): event = args[2] if event.button = gtk.gdk._2BUTTON_PRESS self.__popUpMenu() return gtk.TRUE | 0afb2410faef698121deb473c48f8873f2581a73 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/0afb2410faef698121deb473c48f8873f2581a73/VariableReferenceEditor.py |
selectedFullID = self.__getSelectedFullID() if selectedFullID == None: isFullIDReal = False else: isFullIDReal = self.__doesExistEntity( selectedFullID ) openItem = gtk.MenuItem( "Open" ) if isFullIDReal: openItem.connect( "activate", self.__openAction, selectedFullID ) else: openItem.set_sensitive( gtk.FALSE ) aMenu.... | def __popUpMenu(self ): aMenu = gtk.Menu() addItem = gtk.MenuItem( "Add" ) addItem.connect("activate", self.__addAction ) aMenu.append( addItem ) selectedIter = self.__getSelectedIter() if selectedIter != None: | 0afb2410faef698121deb473c48f8873f2581a73 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/0afb2410faef698121deb473c48f8873f2581a73/VariableReferenceEditor.py | |
selectedIter = self.__getSelectedIter() | deleteItem = gtk.MenuItem( "Delete" ) | def __popUpMenu(self ): aMenu = gtk.Menu() addItem = gtk.MenuItem( "Add" ) addItem.connect("activate", self.__addAction ) aMenu.append( addItem ) selectedIter = self.__getSelectedIter() if selectedIter != None: | 0afb2410faef698121deb473c48f8873f2581a73 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/0afb2410faef698121deb473c48f8873f2581a73/VariableReferenceEditor.py |
deleteItem.connect( "activate", self.__deleteAction, anIter ) else: deleteItem.set_sensitive( gtk.FALSE ) aMenu.append( addItem ) aMenu.popup( None, None, None, 1, 0 ) def __openAction( self, *args ): aFullIDString = args[1] self.theSession.thePluginManager.createInstance( "PropertyWindow", [convertFullIDToFullPN( aF... | def __popUpMenu(self ): aMenu = gtk.Menu() addItem = gtk.MenuItem( "Add" ) addItem.connect("activate", self.__addAction ) aMenu.append( addItem ) selectedIter = self.__getSelectedIter() if selectedIter != None: | 0afb2410faef698121deb473c48f8873f2581a73 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/0afb2410faef698121deb473c48f8873f2581a73/VariableReferenceEditor.py | |
if os.access( gladefile, os.R_OK ): | if os.access( os.path.join( GLADEFILE_PATH, gladefile ), os.R_OK ): | def __init__( self, gladefile=None, root=None ): | b0639908e5a2b65e5d9c7f9f5f5a5bc42e0db78b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/b0639908e5a2b65e5d9c7f9f5f5a5bc42e0db78b/Window.py |
t[0] = createList( 'stmts', t) | t[0] = createListleft( t ) | def p_stmts(t): ''' stmts : stmts stmt | stmt ''' t[0] = createList( 'stmts', t) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[0] = createList( 'stmt', t ) | t[0] = t[1] | def p_stmt(t): ''' stmt : stepper_stmt | system_stmt ''' t[0] = createList( 'stmt', t ) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[0] = t[1], t[2], t[4] | t[0] = t[1], t[3] | def p_stepper_stmt(t): ''' stepper_stmt : stepper_object_decl LBRACE propertylist RBRACE ''' t[0] = t[1], t[2], t[4] | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[0] = t[1], t[2], t[4] | t[0] = t[1], t[3] | def p_system_stmt(t): ''' system_stmt : system_object_decl LBRACE property_entity_list RBRACE ''' t[0] = t[1], t[2], t[4] | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[4] = flatten_propertylist(t[4]) t[0] = t[1], t[2], t[4] | t[0] = t[1], t[3] | def p_entity_other_stmt (t): ''' entity_other_stmt : entity_other_object_decl LBRACE propertylist RBRACE ''' t[4] = flatten_propertylist(t[4]) t[0] = t[1], t[2], t[4] | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
propertylist : property propertylist | propertylist : propertylist property | def p_propertylist(t): ''' propertylist : property propertylist | property | empty ''' t[0] = createList( 'propertylist', t ) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[0] = createList( 'propertylist', t ) | t[0] = createListleft( t ) | def p_propertylist(t): ''' propertylist : property propertylist | property | empty ''' t[0] = createList( 'propertylist', t ) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[2] = flatten_nodelist(t[2]) | if type(t[2]) == str: t[2] = [t[2]] | def p_property(t): ''' property : name value SEMI ''' t[2] = flatten_nodelist(t[2]) if t.type == 'Stepper': anEml.setStepperProperty(t.id, t[1], t[2]) else: anEml.setEntityProperty(t.fullid, t[1], t[2]) t[0] = t[1], t[2] | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[0] = createList( 'property_entity_list', t ) | t[0] = createListleft( t ) | def p_property_entity_list(t): ''' property_entity_list : property_entity_list property_entity | property_entity | empty ''' t[0] = createList( 'property_entity_list', t ) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[0] = createList( 'property_entity', t ) | t[0] = t[1] | def p_property_entity(t): ''' property_entity : property | entity_other_stmt ''' t[0] = createList( 'property_entity', t ) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[0] = createList( 'value', t ) | t[0] = t[1] | def p_value(t): ''' value : quotedstring | name | number | matrixlist ''' t[0] = createList( 'value', t ) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
valuelist : value valuelist | valuelist : valuelist value | def p_valuelist(t): ''' valuelist : value valuelist | value ''' t[0] = createList( 'valuelist', t ) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[0] = createList( 'valuelist', t ) | t[0] = createListleft( t ) | def p_valuelist(t): ''' valuelist : value valuelist | value ''' t[0] = createList( 'valuelist', t ) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[0] = flatten_nodetree(t[2]) | t[0] = t[2] | def p_matrix(t): ''' matrix : LBRACKET valuelist RBRACKET ''' t[0] = flatten_nodetree(t[2]) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
matrixlist : matrix matrixlist | matrixlist : matrixlist matrix | def p_matrixlist(t): ''' matrixlist : matrix matrixlist | matrix ''' t[0] = createList( 'matrixlist', t ) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
t[0] = createList( 'matrixlist', t ) | t[0] = createListleft( t ) | def p_matrixlist(t): ''' matrixlist : matrix matrixlist | matrix ''' t[0] = createList( 'matrixlist', t ) | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
def createList( type, t): length = len(t.slice) - 1 if length != 1: aList = [] i = 1 while i <= length: aList.append( t[i] ) i = i + 1 | def createListleft( t ): if hasattr(t, 'slice'): length = len(t.slice) - 1 else: return [t] if length == 2: aList = t[1] aList.append( t[2] ) | def createList( type, t): length = len(t.slice) - 1 if length != 1: aList = [] i = 1 while i <= length: aList.append( t[i] ) i = i + 1 return aList elif t[1] == None: return [] else: return t[1] | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
return t[1] def flatten_propertylist( node ): if node is None or len( node ) == 0: return [] aList = list() while len( node ) >= 1: if len( node ) == 1 and type(node) != str: break elif type(node[0]) == str: aList.append( node ) break else: aList.append( node[0] ) node = node[1] return aList def flatten_nodelist... | return [t[1]] | def createList( type, t): length = len(t.slice) - 1 if length != 1: aList = [] i = 1 while i <= length: aList.append( t[i] ) i = i + 1 return aList elif t[1] == None: return [] else: return t[1] | 1a8e540808c326b13fcc3d7ecf1906c80d3bce53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/1a8e540808c326b13fcc3d7ecf1906c80d3bce53/emparser.py |
aSession.message( Message ) | aSession.message( aMessage ) | def main(): # ------------------------------------- # initialize file names # ------------------------------------- anEmlFile = None anEssFile = None # ------------------------------------- # gets options # ------------------------------------- try: opts , args = getopt.getopt( sys.argv[1:] , 'he:f:', ["help", "exec=... | b53a7ab868b394d426fb087f275b361cfa594adf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/b53a7ab868b394d426fb087f275b361cfa594adf/opengui.py |
createLayout deleteLayout renameLayout cloneLayout pastelayout copylayout | def __checkArgs( self ): if type (self._Command__theReceiver) == 'object': if self._Command__theReceiver.__class__.__name__ == 'Layout': return True | 8ff09baafca8906c6a4b30cf453b3a1aa50fee8e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/8ff09baafca8906c6a4b30cf453b3a1aa50fee8e/LayoutCommand.py | |
createobject deleteobject changeobjectProperty copyobject cutobject pasteobject moveobject resize object | def __checkArgs( self ): if type (self._Command__theReceiver) == 'object': if self._Command__theReceiver.__class__.__name__ == 'Layout': return True | 8ff09baafca8906c6a4b30cf453b3a1aa50fee8e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/8ff09baafca8906c6a4b30cf453b3a1aa50fee8e/LayoutCommand.py | |
createConnection redirectConnection | def __checkArgs( self ): if type (self._Command__theReceiver) == 'object': if self._Command__theReceiver.__class__.__name__ == 'Layout': return True | 8ff09baafca8906c6a4b30cf453b3a1aa50fee8e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/8ff09baafca8906c6a4b30cf453b3a1aa50fee8e/LayoutCommand.py | |
rightLimit = self.thePlot.thePlotAreaBox[2] + 1 | rightLimit = self.thePlot.thePlotAreaBox[2] - 1 | def drawPoint(self, aColor, x, y, lastx, lasty ): #get datapoint x y values | f851587269ab5a6816ed86e4d9e1ada7085596d0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/f851587269ab5a6816ed86e4d9e1ada7085596d0/Plot.py |
s.step() | for i in xrange( 1000 ): s.step() printProperty( s, ( SYSTEM, '/', '/', 'CurrentTime' ) ) printProperty( s, ( SYSTEM, '/', '/', 'StepInterval' ) ) printProperty( s, ( SYSTEM, '/', 'CYTOPLASM', 'StepInterval' ) ) | def printList( sim, primitivetype, systempath,list ): for i in list: printAllProperties( sim, ( primitivetype, systempath, i ) ) | ffc084e3cb5f960c5141c7470625150832c00cb6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/ffc084e3cb5f960c5141c7470625150832c00cb6/test.py |
print aNode.nodeName | def getSBaseAnnotation( sbaseObj, pn, aXMLNamespaceList ): propertyName = '%s:%s' % ( ECELL_XML_NAMESPACE_PREFIX, pn ) if sbaseObj.isSetAnnotation(): annotationString = '<xml' for i in range( aXMLNamespaceList.getLength() ): annotationString += ' xmlns:%s="%s"' % ( aXMLNamespaceList.getPrefix( i ), aXMLNamespaceList.... | 2ce3bc83c5d0b513c2237d5a8ec6711ab981bbf4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/2ce3bc83c5d0b513c2237d5a8ec6711ab981bbf4/sbmlsupport.py | |
property : name value SEMI | property : name valuelist SEMI | def p_property(t): ''' property : name value SEMI ''' if type(t[2]) == str: t[2] = [t[2]] if t.type == 'Stepper': anEml.setStepperProperty(t.id, t[1], t[2]) else: anEml.setEntityProperty(t.fullid, t[1], t[2]) t[0] = t[1], t[2] | 308472f38388c065a40cfd4b1c7be707e01a8958 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/308472f38388c065a40cfd4b1c7be707e01a8958/emparser.py |
| matrixlist ''' t[0] = t[1] | | LBRACKET valuelist RBRACKET ''' if t[1] == '[': t[0] = t[2] else: t[0] = t[1] | def p_value(t): ''' value : quotedstring | name | number | matrixlist ''' t[0] = t[1] | 308472f38388c065a40cfd4b1c7be707e01a8958 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/308472f38388c065a40cfd4b1c7be707e01a8958/emparser.py |
def p_matrix(t): ''' matrix : LBRACKET valuelist RBRACKET ''' t[0] = t[2] def p_matrixlist(t): ''' matrixlist : matrixlist matrix | matrix ''' t[0] = createListleft( t ) | def p_matrix(t): ''' matrix : LBRACKET valuelist RBRACKET ''' t[0] = t[2] | 308472f38388c065a40cfd4b1c7be707e01a8958 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/308472f38388c065a40cfd4b1c7be707e01a8958/emparser.py | |
print aSubSystemList | def __loadEntity( self, aSystemPath='/' ): | e94deb29138af36b0cb2b13884fb9e907f2aa791 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/e94deb29138af36b0cb2b13884fb9e907f2aa791/Session.py | |
def __init__( self, aDirName, aData, aPluginManager, aRoot=None ): | 169231787498889447e14bcabde6b2c573a6b64a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/169231787498889447e14bcabde6b2c573a6b64a/DigitalWindow.py | ||
def __init__( self, aDirName, aData, aPluginManager, aRoot=None ): | 169231787498889447e14bcabde6b2c573a6b64a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/169231787498889447e14bcabde6b2c573a6b64a/DigitalWindow.py | ||
def __init__( self, aDirName, aData, aPluginManager, aRoot=None ): | 169231787498889447e14bcabde6b2c573a6b64a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/169231787498889447e14bcabde6b2c573a6b64a/DigitalWindow.py | ||
self['increase_button'].set_relief( gtk.RELIEF_HALF ) self['decrease_button'].set_relief( gtk.RELIEF_HALF ) self.addHandlers( { 'input_value' :self.inputValue, 'increase_value' :self.increaseValue, 'decrease_value' :self.decreaseValue, 'window_exit' :self.exit, 'test' :self.test } ) | self.addHandlers( { 'on_value_frame_changed' :self.inputValue, 'on_increase_button_clicked' :self.increaseValue, 'on_decrease_button_clicked' :self.decreaseValue, 'on_DigitalWindow_delete_event' :self.exit } ) | def __init__( self, aDirName, aData, aPluginManager, aRoot=None ): | 169231787498889447e14bcabde6b2c573a6b64a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/169231787498889447e14bcabde6b2c573a6b64a/DigitalWindow.py |
def update( self ): | 169231787498889447e14bcabde6b2c573a6b64a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/169231787498889447e14bcabde6b2c573a6b64a/DigitalWindow.py | ||
def inputValue( self, obj ): aValue = string.atof(obj.get_text()) self.setValue( self.theFullPN(), aValue ) | def update( self ): | 169231787498889447e14bcabde6b2c573a6b64a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/169231787498889447e14bcabde6b2c573a6b64a/DigitalWindow.py | |
def increaseValue( self, obj ): | 169231787498889447e14bcabde6b2c573a6b64a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/169231787498889447e14bcabde6b2c573a6b64a/DigitalWindow.py | ||
def test( self, obj ): print 'you did it' | def test( self, obj ): print 'you did it' | 169231787498889447e14bcabde6b2c573a6b64a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/169231787498889447e14bcabde6b2c573a6b64a/DigitalWindow.py | |
print "yacc: Syntax error at line %d, token=%s" % (lineno, errtoken.type) | print "yacc: Syntax error at line %s, token=%s, in %s" % (lineno, errtoken.type, errtoken.lexer.filename) | def parse(self,input=None,lexer=None,debug=0): lookahead = None # Current lookahead symbol lookaheadstack = [ ] # Stack of lookahead symbols actions = self.action # Local reference to action table goto = self.goto # Local reference to goto table prod = self.prod... | f71208137049ff157d9024c53029f379b24f8de3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/f71208137049ff157d9024c53029f379b24f8de3/yacc.py |
def initialize_vars(): global Productions, Prodnames, Prodmap, Terminals global Nonterminals, First, Follow, Precedence, LRitems global Errorfunc, Signature, Requires Productions = [None] # A list of all of the productions. The first # entry is always reserved for the purpose of # building an augmented grammar Pro... | f71208137049ff157d9024c53029f379b24f8de3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/f71208137049ff157d9024c53029f379b24f8de3/yacc.py | ||
print self.theEntityListStore.get_value(iter,0) | def listEntity( self, aEntityTypeString, aSystemFullID ): | e6582fc7dc12f30e229ef43fdf45422e65ec8641 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/e6582fc7dc12f30e229ef43fdf45422e65ec8641/EntityListWindow.py | |
aFileName = os.path.expanduser( RECENTFILELIST_FILENAME ) | aFileName = self.__getHomeDir() + os.sep + RECENTFILELIST_FILENAME | def __loadRecentFileList ( self ): """ in: nothing returns nothing """ self.__theRecentFileList = [] aFileName = os.path.expanduser( RECENTFILELIST_FILENAME ) | 8b9914ca2f0cf1aa36f4d27e23cd315a160c772a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/8b9914ca2f0cf1aa36f4d27e23cd315a160c772a/ModelEditor.py |
def __saveRecentFileList ( self ): """ in: nothing returns nothing """ # creates recentfiledir if does not exist aDirName = self.__getHomeDir() + os.sep + RECENTFILELIST_DIRNAME if not os.path.isdir( aDirName ): os.mkdir( aDirName ) | 8b9914ca2f0cf1aa36f4d27e23cd315a160c772a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/8b9914ca2f0cf1aa36f4d27e23cd315a160c772a/ModelEditor.py | ||
aTargetSystem.removeChild( aPropertyNode ) | aTargetNode.removeChild( aChild ) | def deleteEntityProperty( self, aFullID, aPropertyName ): | c8be38cb2040bbb4e337d05172ca3f75cdeeafe0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/c8be38cb2040bbb4e337d05172ca3f75cdeeafe0/eml.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.