#NEWLINE# def visit_FileAST( self , n ) : #NEWLINE# #INDENT# s = '' #NEWLINE# for ext in n . ext : #NEWLINE# #INDENT# if isinstance ( ext , c_ast . FuncDef ) : #NEWLINE# #INDENT# s += self . visit ( ext ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( ext , c_ast . Pragma ) : #NEWLINE# #INDENT# s += ( self . visit ( ext ) + '\n' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# s += ( self . visit ( ext ) + ';\n' ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return s