Home | Trees | Indices | Help |
|
---|
|
object --+ | Spell --+ | SpellGroupBase --+ | SpellGroupSeriesBase
|
|||
|
|||
bool |
|
||
bool |
|
||
bool |
|
||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
changed Whether the spell changed the data. |
|||
Inherited from |
|
|
|
Cast the spell on the given branch. First called with branch equal to data's children, then the grandchildren, and so on. The default implementation simply returns True. Typically, you will override this function to perform an operation on a particular block type and/or to stop recursion at particular block types.
|
Called before all blocks are recursed. The default implementation simply returns True. You can access the data via data, and unlike in the datainspect method, the full file has been processed at this stage. Typically, you will override this function to perform a global operation on the file data.
|
Called after all blocks have been processed, if dataentry returned True. Typically, you will override this function to perform a final spell operation, such as writing back the file in a special way, or making a summary log.
|
|
changedWhether the spell changed the data. If True, the file will be written back, otherwise not.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 10 19:03:59 2011 | http://epydoc.sourceforge.net |