Method summary
- __init__(self)
- generate_code(self, node, out)
- get_tree(self)
Methods
- __init__(self)
- generate_code(self, node, out)
Generates the code for the given node in the parse tree along with an opened file-like object.
Parameters
node
A node in the ClassTree.
out : file-like object.
Must support a write method. Code is written to it.
- get_tree(self)
Returns the parser's class tree.