usr/src/lib/logilab-astng/logilab-astng.3.sunman
changeset 74 fd34810c2c84
parent 73 73cc228b67a6
child 75 5ecdbc606fd8
equal deleted inserted replaced
73:73cc228b67a6 74:fd34810c2c84
     1 '\" te
       
     2 .\"
       
     3 .\" Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
       
     4 .\" Use is subject to license terms.
       
     5 .\"
       
     6 .\" ident	"@(#)logilab-astng.3.sunman	1.2	10/03/16 SMI"
       
     7 .\"
       
     8 .TH logilab-astng 3 "30 Apr 2009"
       
     9 .SH NAME
       
    10 logilab-astng \- Python Abstract Syntax Tree New Generation
       
    11 .SH DESCRIPTION
       
    12 The
       
    13 .I logilab-astng
       
    14 The aim of this module is to provide a common base representation of 
       
    15 python source code for projects such as pychecker, pyreverse, pylint.
       
    16 
       
    17 .LP
       
    18 It is governed by pylint's needs.  It extends class defined in the 
       
    19 compiler.ast [1] module with some additional methods and attributes. 
       
    20 Instance attributes are added by a builder object, which can either 
       
    21 generate extended ast by visiting an existant ast tree or by inspecting 
       
    22 living object. Methods are added by monkey patching ast classes.
       
    23 
       
    24 .LP
       
    25 Main modules are:
       
    26 .LP
       
    27 
       
    28 * nodes and scoped_nodes for more information about methods 
       
    29 and attributes added to different node classes
       
    30 
       
    31 .LP
       
    32 * the manager contains a high level object to get astng trees 
       
    33 from source files and living objects. It maintains a cache of 
       
    34 previously constructed tree for quick access
       
    35 
       
    36 .LP
       
    37 * builder contains the class responsible to build astng trees
       
    38 
       
    39 
       
    40 .LP
       
    41 
       
    42 .SH FILES
       
    43 .TP 2.2i
       
    44 .B /usr/lib/python2.6/vendor-packages/logilab/astng
       
    45 shared object library files
       
    46 
       
    47 .SH AUTHORS
       
    48 Sylvain Thenault ([email protected])
       
    49 
       
    50 .SH SUPPORT
       
    51 [email protected]
       
    52 
       
    53 .SH ATTRIBUTES
       
    54 See
       
    55 .BR attributes (5)
       
    56 for descriptions of the following attributes:
       
    57 .sp
       
    58 .TS
       
    59 box;
       
    60 cbp-1 | cbp-1
       
    61 l | l .
       
    62 ATTRIBUTE TYPE	ATTRIBUTE VALUE
       
    63 =
       
    64 Availability	library/python-2/logilab-astng
       
    65 =
       
    66 Interface Stability	Uncommitted
       
    67 .TE
       
    68 .SH SEE ALSO
       
    69 .IR logilab-common (3),
       
    70 .IR pylint (1),
       
    71 .SH NOTES
       
    72 
       
    73 Documentation for logilab-astng is available on-line at http://www.logilab.org/project/logilab-astng
       
    74 
       
    75 Source for logilab-astng is available on http://opensolaris.org.