#NEWLINE# @ tornado . gen . coroutine #NEWLINE# def execcode_while( self , nod ) : #NEWLINE# #INDENT# while True : #NEWLINE# #INDENT# testval = ( yield self . execcode_expr ( nod . test ) ) #NEWLINE# if ( not testval ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# for subnod in nod . body : #NEWLINE# #INDENT# res = ( yield self . execcode_statement ( subnod ) ) #NEWLINE# #UNINDENT# #UNINDENT# except ContinueException : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# except BreakException : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# #UNINDENT# for subnod in nod . orelse : #NEWLINE# #INDENT# res = ( yield self . execcode_statement ( subnod ) )