#NEWLINE# def generatePrintNewlineCode( statement , emit , context ) : #NEWLINE# #INDENT# destination = statement . getDestination ( ) #NEWLINE# if ( destination is not None ) : #NEWLINE# #INDENT# dest_name = context . allocateTempName ( 'print_dest' , unique = True ) #NEWLINE# generateExpressionCode ( expression = destination , to_name = dest_name , emit = emit , context = context ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# dest_name = None #NEWLINE# #UNINDENT# old_source_ref = context . setCurrentSourceCodeReference ( statement . getSourceReference ( ) ) #NEWLINE# if ( dest_name is not None ) : #NEWLINE# #INDENT# print_code = ( 'PRINT_NEW_LINE_TO( %s ) == false' % ( dest_name , ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print_code = 'PRINT_NEW_LINE() == false' #NEWLINE# #UNINDENT# getErrorExitBoolCode ( condition = print_code , emit = emit , context = context ) #NEWLINE# getReleaseCode ( release_name = dest_name , emit = emit , context = context ) #NEWLINE# context . setCurrentSourceCodeReference ( old_source_ref )