parameters: (final_lines, verify)
return_statement: return ''.join(formatted_code) + '\n'
docstring: Compose the final output from the finalized lines.
docstring_summary: Compose the final output from the finalized lines.
docstring_tokens: Compose the final output from the finalized lines .
function: def _FormatFinalLines(final_lines, verify):
    """Compose the final output from the finalized lines."""
    formatted_code = []
    for line in final_lines:
      formatted_line = []
      for tok in line.tokens:
        if not tok.is_pseudo_paren:
          formatted_line.append(tok.whitespace_prefix)
          formatted_line.append(tok.value)
        else:
          if (not tok.next_token.whitespace_prefix.startswith('\n') and
              not tok.next_token.whitespace_prefix.startswith(' ')):
            if (tok.previous_token.value == ':' or
                tok.next_token.value not in ',}])'):
              formatted_line.append(' ')
  
      formatted_code.append(''.join(formatted_line))
      if verify:
        verifier.VerifyCode(formatted_code[-1])
  
    return ''.join(formatted_code) + '\n'
function_tokens: def _FormatFinalLines ( final_lines , verify ) : formatted_code = [ ] for line in final_lines : formatted_line = [ ] for tok in line . tokens : if not tok . is_pseudo_paren : formatted_line . append ( tok . whitespace_prefix ) formatted_line . append ( tok . value ) else : if ( not tok . next_token . whitespace_prefix . startswith ( '\n' ) and not tok . next_token . whitespace_prefix . startswith ( ' ' ) ) : if ( tok . previous_token . value == ':' or tok . next_token . value not in ',}])' ) : formatted_line . append ( ' ' ) formatted_code . append ( '' . join ( formatted_line ) ) if verify : verifier . VerifyCode ( formatted_code [ - 1 ] ) return '' . join ( formatted_code ) + '\n'