class documentation

class slot: (source)

View In Hierarchy

Marker for markup insertion in a template.
Method __init__ Undocumented
Method __repr__ Undocumented
Instance Variable children The Tag objects included in this slot's template.
Instance Variable column​Number The column number at which this tag was encountered in the XML file from which it was parsed. If it was not parsed from an XML file, None.
Instance Variable default The default contents of this slot, if it is left unfilled. If this is None, an UnfilledSlot will be raised, rather than None actually being used.
Instance Variable filename The name of the XML file from which this tag was parsed. If it was not parsed from an XML file, None.
Instance Variable line​Number The line number on which this tag was encountered in the XML file from which it was parsed. If it was not parsed from an XML file, None.
Instance Variable name The name of this slot. The key which must be used in Tag.fillSlots to fill it.
def __init__(self, name, default=None, filename=None, lineNumber=None, columnNumber=None): (source)

Undocumented

def __repr__(self): (source)

Undocumented

Returns
strUndocumented
children: list = (source)
The Tag objects included in this slot's template.
columnNumber: int or None = (source)
The column number at which this tag was encountered in the XML file from which it was parsed. If it was not parsed from an XML file, None.
default: anything flattenable, or None = (source)
The default contents of this slot, if it is left unfilled. If this is None, an UnfilledSlot will be raised, rather than None actually being used.
filename: str or None = (source)
The name of the XML file from which this tag was parsed. If it was not parsed from an XML file, None.
lineNumber: int or None = (source)
The line number on which this tag was encountered in the XML file from which it was parsed. If it was not parsed from an XML file, None.
name: str = (source)
The name of this slot. The key which must be used in Tag.fillSlots to fill it.