#NEWLINE# def build_args( params ) : #NEWLINE# #INDENT# args = [ ] #NEWLINE# kwargs = [ ] #NEWLINE# for param in params : #NEWLINE# #INDENT# node = from_phpast ( param . node ) #NEWLINE# if isinstance ( node , py . Assign ) : #NEWLINE# #INDENT# kwargs . append ( py . keyword ( node . targets [ 0 ] . id , node . value ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# args . append ( node ) #NEWLINE# #UNINDENT# #UNINDENT# return ( args , kwargs )