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

Class PythonWriter

source code

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

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

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

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)