Home | Trees | Indices | Help |
|
---|
|
This class reads C++ source code and returns declarations tree. This class is the only class that have an intime knowledge about GCC-XML. It has only one responsibility: it calls GCC-XML with a source file specified by user and creates declarations tree. The implementation of this class is split to 2 classes: 1. L{scanner_t} - this class scans the "XML" file, generated by GCC-XML and creates `pygccxml`_ declarations and types classes. After the xml file has been processed declarations and type class instances keeps references to each other using GCC-XML generated id's. 2. L{linker_t} - this class contains logic for replacing GCC-XML generated ids with references to declarations or type class instances.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Method Details |
|
This function will return the file name of the file, created by GCC-XML for "header" file. If destination_file_path is not None, then this file path will be used and returned.
|
Creates XML file from text.
|
Reads C++ source file and returns declarations tree
|
Reads GCC-XML generated XML file.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 20 09:00:21 2008 | http://epydoc.sourceforge.net |