Package gavo :: Package base :: Module parsecontext :: Class IdAttribute
[frames] | no frames]

Class IdAttribute

source code

          object --+            
                   |            
attrdef.AttributeDef --+        
                       |        
 attrdef.AtomicAttribute --+    
                           |    
    attrdef.UnicodeAttribute --+
                               |
                              IdAttribute

is an attribute that registers its parent in the context's id map in addition to setting its id attribute.

Instance Methods
 
feed(self, ctx, parent, literal) source code
 
getCopy(self, parent, newParent, ctx) source code
 
makeUserDoc(self) source code

Inherited from attrdef.UnicodeAttribute: __init__, parse, unparse

Inherited from attrdef.AtomicAttribute: feedObject

Inherited from attrdef.AttributeDef: doCallbacks, iterParentMethods

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

Class Variables

Inherited from attrdef.UnicodeAttribute: typeDesc_

Properties

Inherited from object: __class__

Method Details

feed(self, ctx, parent, literal)

source code 
Overrides: attrdef.AttributeDef.feed

getCopy(self, parent, newParent, ctx)

source code 
Overrides: attrdef.AttributeDef.getCopy

makeUserDoc(self)

source code 
Overrides: attrdef.AttributeDef.makeUserDoc