Package gavo :: Package rscdef :: Module dddef :: Class Make
[frames] | no frames]

Class Make

source code

                   object --+            
                            |            
 base.structure.StructureBase --+        
                                |        
                   object --+   |        
                            |   |        
           base.common.Parser --+        
                                |        
base.structure.ParseableStructure --+    
                                    |    
             base.structure.Structure --+
                                        |
                           object --+   |
                                    |   |
             scripting.ScriptingMixin --+
                                        |
                                       Make

A build recipe for tables belonging to a data descriptor.

All makes belonging to a DD will be processed in the order in which they appear in the file.

Nested Classes

Inherited from base.structure.StructureBase: __metaclass__

Instance Methods
 
__repr__(self)
repr(x)
source code
 
onParentComplete(self) source code
 
getExpander(self)
used by the scripts of expanding their source.
source code
 
create(self, connection, parseOptions, tableFactory, **kwargs)
returns a new empty instance of the table this is making.
source code
 
runParmakerFor(self, grammarParameters, destTable)
feeds grammarParameter to destTable.
source code

Inherited from base.structure.Structure: __provides__, callCompletedCallbacks, completeElement, finishElement, onElementComplete, validate

Inherited from base.structure.ParseableStructure: __init__, end_, feed, feedFrom, feedObject, getAttribute, iterEvents, start_, value_

Inherited from base.structure.StructureBase: __providedBy__, adopt, breakCircles, change, copy, getAttributes, getCopyableAttributes, getSourcePosition, iterChildren, setPosition

Inherited from base.common.Parser: feedEvent

Inherited from scripting.ScriptingMixin: getRunner

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

Class Methods

Inherited from base.structure.StructureBase: fromStructure

Class Variables
  name_ = 'make'
a sentinel for all kinds of undefined values.
  attrSeq = [<gavo.base.parsecontext.IdAttribute object>, <gavo....
  managedAttrs = {'id': <gavo.base.parsecontext.IdAttribute obje...

Inherited from base.structure.Structure: __implemented__

Inherited from base.structure.StructureBase: completedCallbacks

Properties

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

getExpander(self)

source code 

used by the scripts of expanding their source.

We always return the expander of the table being made.


Class Variable Details

attrSeq

Value:
[<gavo.base.parsecontext.IdAttribute object>,
 <gavo.base.parsecontext.ReferenceAttribute object>,
 <gavo.base.attrdef.UnicodeAttribute object>,
 <gavo.base.attrdef.EnumeratedUnicodeAttribute object>,
 <gavo.base.parsecontext.ReferenceAttribute object>,
 <gavo.base.complexattrs.StructListAttribute object>,
 <gavo.base.parsecontext.ReferenceAttribute object>]

managedAttrs

Value:
{'id': <gavo.base.parsecontext.IdAttribute object>,
 'parmaker': <gavo.base.parsecontext.ReferenceAttribute object>,
 'role': <gavo.base.attrdef.UnicodeAttribute object>,
 'rowSource': <gavo.base.attrdef.EnumeratedUnicodeAttribute object>,
 'rowmaker': <gavo.base.parsecontext.ReferenceAttribute object>,
 'script': <gavo.base.complexattrs.StructListAttribute object>,
 'scripts': <gavo.base.complexattrs.StructListAttribute object>,
 'table': <gavo.base.parsecontext.ReferenceAttribute object>}