CYCLUS
Loading...
Searching...
No Matches
hdf5_back_gen.PrettyFormatter Class Reference

Detailed Description

Formats a tree of nodes into a pretty string

Definition at line 155 of file hdf5_back_gen.py.

Inheritance diagram for hdf5_back_gen.PrettyFormatter:
hdf5_back_gen.Visitor

Public Member Functions

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

Public Attributes

 indent
 
 level
 
- Public Attributes inherited from hdf5_back_gen.Visitor
 tree
 

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from hdf5_back_gen.Visitor.

Definition at line 158 of file hdf5_back_gen.py.

Member Function Documentation

◆ visit_node()

hdf5_back_gen.PrettyFormatter.visit_node ( self,
node )

Definition at line 163 of file hdf5_back_gen.py.

Member Data Documentation

◆ indent

hdf5_back_gen.PrettyFormatter.indent

Definition at line 161 of file hdf5_back_gen.py.

◆ level

hdf5_back_gen.PrettyFormatter.level

Definition at line 160 of file hdf5_back_gen.py.


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