Package madgraph :: Package iolibs :: Module file_writers :: Class MakefileWriter
[hide private]
[frames] | no frames]

Class MakefileWriter

source code

 object --+                
          |                
_io._IOBase --+            
              |            
 _io._RawIOBase --+        
                  |        
         _io.FileIO --+    
                      |    
             FileWriter --+
                          |
                         MakefileWriter

Nested Classes [hide private]

Inherited from FileWriter: FilePreProcessingError, FileWriterError

Instance Methods [hide private]
 
write_comments(self, text)
Write set of comment lines, with correct indent and line splits, for the language in question
source code
 
writelines(self, lines)
Extends the regular file.writeline() function to write out nicely formatted code
source code

Inherited from FileWriter: __init__, preprocess_template, write, write_comment_line, write_line

Inherited from _io.FileIO: __getattribute__, __new__, __repr__, close, fileno, isatty, read, readable, readall, readinto, seek, seekable, tell, truncate, writable

Inherited from _io._IOBase: __enter__, __exit__, __iter__, flush, next, readline, readlines

Inherited from _io._IOBase (private): _checkClosed, _checkReadable, _checkSeekable, _checkWritable

Inherited from object: __delattr__, __format__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from FileWriter: preprocessor_command_re, preprocessor_endif_re, supported_preprocessor_commands

Properties [hide private]

Inherited from _io.FileIO: closed, closefd, mode

Inherited from object: __class__

Method Details [hide private]

write_comments(self, text)

source code 

Write set of comment lines, with correct indent and line splits, for the language in question

Overrides: FileWriter.write_comments
(inherited documentation)

writelines(self, lines)

source code 

Extends the regular file.writeline() function to write out nicely formatted code

Overrides: _io._IOBase.writelines