#NEWLINE# def visit_FuncDecl( self , node ) : #NEWLINE# #INDENT# self . indent_level += 2 #NEWLINE# elements = '\n' . join ( ( ( self . _make_indent ( ) + self . visit ( element ) ) for element in node . elements ) ) #NEWLINE# self . indent_level -= 2 #NEWLINE# s = ( 'function %s(%s) {\n%s' % ( self . visit ( s . identifier ) , ', ' . join ( ( self . visit ( param ) for param in node . parameters ) ) , elements ) ) #NEWLINE# s += ( ( '\n' + self . _make_indent ( ) ) + '}' ) #NEWLINE# return s