Package hedge :: Package cuda :: Module cgen :: Class Block
[frames] | no frames]

Class Block

source code

object --+    
         |    
 Generable --+
             |
            Block

Instance Methods
 
__init__(self, contents=[])
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
generate(self) source code
 
append(self, data) source code
 
extend(self, data) source code
 
extend_log_block(self, descr, data) source code

Inherited from Generable: __str__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties

Inherited from object: __class__

Method Details

__init__(self, contents=[])
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)