Package EasyExtend :: Module cst2source :: Class NodeHandler_AutoFormat
[hide private]
[frames] | no frames]

Class NodeHandler_AutoFormat



 object --+    
          |    
NodeHandler --+
              |
             NodeHandler_AutoFormat

Nested Classes [hide private]

Inherited from NodeHandler: State

Instance Methods [hide private]
 
handle(self, node, *args, **kwargs)
Writes a node's equivalent source code to the output object.
 
handle_NEWLINE(self, node)
 
handle_INDENT(self, node)
 
handle_DEDENT(self, node)

Inherited from NodeHandler: __init__, handle_ENDMARKER, has_addinfo, write_and_align

Inherited from NodeHandler (private): _get_spaces, _indent

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

handle(self, node, *args, **kwargs)

 
Writes a node's equivalent source code to the output object.
Raises:
  • TypeError - If the node's type is unknown.