#NEWLINE# def visit( self , node ) : #NEWLINE# #INDENT# name = node . __class__ . __name__ #NEWLINE# method = ( 'visit_' + name ) #NEWLINE# visitor = getattr ( self , name , None ) #NEWLINE# if ( visitor is not None ) : #NEWLINE# #INDENT# if self . debug : #NEWLINE# #INDENT# logger . debug ( '%s called (%s)' , method , ast . dump ( node ) ) #NEWLINE# #UNINDENT# visitor ( node ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . update_scores ( self . tester . run_tests ( self . context , name ) )