#NEWLINE# def visit_ForIn( self , node ) : #NEWLINE# #INDENT# if isinstance ( node . item , ast . VarDecl ) : #NEWLINE# #INDENT# template = 'for (var %s in %s) ' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# template = 'for (%s in %s) ' #NEWLINE# #UNINDENT# s = ( template % ( self . visit ( template . item ) , self . visit ( node . iterable ) ) ) #NEWLINE# s += self . visit ( node . statement ) #NEWLINE# return s