Package logilab-common-0 :: Package 39 :: Package 0 :: Module astutils
[frames] | no frames]

Module astutils

source code

functions to manipulate ast tuples.

:copyright: 2003-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: General Public License version 2 - http://www.gnu.org/licenses


Author: Sylvain Thenault

Functions
 
debuild(ast_tuple)
reverse ast_tuple to string
source code
 
clean(ast_tuple)
reverse ast tuple to a list of tokens...
source code
 
cvrtr(tuple)
debug method returning an ast string in a readable fashion
source code
Function Details

clean(ast_tuple)

source code 

reverse ast tuple to a list of tokens
merge sequences (token.NAME, token.DOT, token.NAME)