| Home | Trees | Indices | Help |
|---|
|
|
Generate an ASCII graph of the nodes.
This should be used with ConstructorWalker and works rather like cloning, except that instead of generating a new set of nodes we generate a nested set of functions. This set of functions has the same structure as the tree of nodes (we break cycles via loop). The leaf functions take prefixes and return an ASCII picture of what the leaf values should look like (including the prefixes). Functions higher up the tree are similar, except instead of returning a picture directly they extend the prefix and then call the functions that are their children.
Once we have an entire tree of functions, we can call the root with an empty prefix and the functions will "cascade" down, building the prefixes necessary and passing them to the root functions that generate the final ASCII data.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
|
|
|
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Jun 9 21:50:59 2012 | http://epydoc.sourceforge.net |