CYCLUS
Public Member Functions | Public Attributes | List of all members
hdf5_back_gen.PrettyFormatter Class Reference

Detailed Description

Formats a tree of nodes into a pretty string

Definition at line 121 of file hdf5_back_gen.py.

Inheritance diagram for hdf5_back_gen.PrettyFormatter:
hdf5_back_gen.Visitor

Public Member Functions

def __init__ (self, tree=None, indent=' ')
 
def visit_node (self, node)
 
- Public Member Functions inherited from hdf5_back_gen.Visitor
def __init__ (self, tree=None)
 
def visit (self, node=None)
 

Public Attributes

 indent
 
 level
 
- Public Attributes inherited from hdf5_back_gen.Visitor
 tree
 

Constructor & Destructor Documentation

def hdf5_back_gen.PrettyFormatter.__init__ (   self,
  tree = None,
  indent = ' ' 
)

Definition at line 124 of file hdf5_back_gen.py.

Member Function Documentation

def hdf5_back_gen.PrettyFormatter.visit_node (   self,
  node 
)

Definition at line 129 of file hdf5_back_gen.py.

Member Data Documentation

hdf5_back_gen.PrettyFormatter.indent

Definition at line 127 of file hdf5_back_gen.py.

hdf5_back_gen.PrettyFormatter.level

Definition at line 126 of file hdf5_back_gen.py.


The documentation for this class was generated from the following file: