Package gavo :: Package base :: Module activetags :: Class Loop
[frames] | no frames]

Class Loop

source code

                      object --+                
                               |                
                       ActiveTag --+            
                                   |            
              object --+           |            
                       |           |            
 structure.StructureBase --+       |            
                           |       |            
              object --+   |       |            
                       |   |       |            
           common.Parser --+       |            
                           |       |            
structure.ParseableStructure --+   |            
                               |   |            
             structure.Structure --+            
                                   |            
                  object --+       |            
                           |       |            
         macros.MacroPackage --+   |            
                               |   |            
       macros.StandardMacroMixin --+            
                                   |            
                          ReplayBase --+        
                                       |        
                          object --+   |        
                                   |   |        
                          GhostMixin --+        
                                       |        
                       DelayedReplayBase --+    
                                           |    
        ReplayedEventsWithFreeAttributesBase --+
                                               |
                                              Loop

An active tag that replays a feed several times, each time with different values.

Nested Classes

Inherited from structure.StructureBase: __metaclass__

Instance Methods
 
maybeExpand(self, val) source code
 
completeElement(self, ctx) source code

Inherited from ReplayedEventsWithFreeAttributesBase: __init__, getAttribute

Inherited from DelayedReplayBase: end_

Inherited from ReplayBase: replay

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

Inherited from structure.ParseableStructure: feed, feedFrom, feedObject, iterEvents, start_, value_

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

Inherited from common.Parser: feedEvent

Inherited from macros.StandardMacroMixin: macro_RSTservicelink, macro_RSTtable, macro_decapitalize, macro_getConfig, macro_internallink, macro_magicEmpty, macro_metaSeq, macro_metaString, macro_rdId, macro_rdIdDotted, macro_schema, macro_test, macro_today, macro_upper, macro_urlquote

Inherited from macros.MacroPackage: execMacro, expand, getExpander, listMacros, macro_quote, macro_reSub, macro_sql_standardPubDID, macro_sqlquote

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

Class Methods

Inherited from structure.StructureBase: fromStructure

Class Variables
  name_ = 'LOOP'
hash(x)
  attrSeq = [<gavo.base.activetags.GeneratorAttribute object>, <...
  managedAttrs = {'EDIT': <gavo.base.complexattrs.StructListAttr...

Inherited from structure.Structure: __implemented__

Inherited from structure.StructureBase: completedCallbacks

Properties

Inherited from object: __class__

Method Details

completeElement(self, ctx)

source code 
Overrides: structure.Structure.completeElement

Class Variable Details

attrSeq

Value:
[<gavo.base.activetags.GeneratorAttribute object>,
 <gavo.base.attrdef.UnicodeAttribute object>,
 <gavo.base.complexattrs.StructListAttribute object>,
 <gavo.base.complexattrs.StructAttribute object>,
 <gavo.base.parsecontext.IdAttribute object>,
 <gavo.base.attrdef.UnicodeAttribute object>,
 <gavo.base.complexattrs.StructListAttribute object>,
 <gavo.base.attrdef.BooleanAttribute object>,
...

managedAttrs

Value:
{'EDIT': <gavo.base.complexattrs.StructListAttribute object>,
 'PRUNE': <gavo.base.complexattrs.StructListAttribute object>,
 'codeItems': <gavo.base.activetags.GeneratorAttribute object>,
 'csvItems': <gavo.base.attrdef.UnicodeAttribute object>,
 'edits': <gavo.base.complexattrs.StructListAttribute object>,
 'events': <gavo.base.complexattrs.StructAttribute object>,
 'id': <gavo.base.parsecontext.IdAttribute object>,
 'listItems': <gavo.base.attrdef.UnicodeAttribute object>,
...