#NEWLINE# def visit_cast( self , cast , **kwargs ) : #NEWLINE# #INDENT# type_ = self . process ( cast . typeclause ) #NEWLINE# if ( type_ is None ) : #NEWLINE# #INDENT# return self . process ( self . clause ) #NEWLINE# #UNINDENT# return ( 'CAST(%s AS %s)' % ( self . process ( cast . clause ) , type_ ) )