#NEWLINE# def generateAsyncNextCode( to_name , expression , emit , context ) : #NEWLINE# #INDENT# ( value_name , ) = generateChildExpressionsCode ( expression = expression , emit = emit , context = context ) #NEWLINE# emit ( ( '%s = ASYNC_ITERATOR_NEXT( coroutine, %s );' % ( to_name , value_name ) ) ) #NEWLINE# getReleaseCode ( release_name = value_name , emit = emit , context = context ) #NEWLINE# getErrorExitCode ( check_name = context , quick_exception = 'StopAsyncIteration' , emit = emit , context = context ) #NEWLINE# context . addCleanupTempName ( to_name )