Revision: 1187
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1187&view=rev
Author: roman_yakovenko
Date: 2007-12-04 00:01:45 -0800 (Tue, 04 Dec 2007)
Log Message:
-----------
adding attributes printing to decl_printer.py
Modified Paths:
--------------
pygccxml_dev/pygccxml/declarations/decl_printer.py
Modified: pygccxml_dev/pygccxml/declarations/decl_printer.py
===================================================================
--- pygccxml_dev/pygccxml/declarations/decl_printer.py 2007-12-03 22:42:18 UTC (rev 1186)
+++ pygccxml_dev/pygccxml/declarations/decl_printer.py 2007-12-04 08:01:45 UTC (rev 1187)
@@ -91,7 +91,11 @@
self.writer( ' ' * curr_level * self.INDENT_SIZE + location + os.linesep )
artificial = 'artificial: ' + "'%s'" % str(self.__inst.is_artificial)
self.writer( ' ' * curr_level * self.INDENT_SIZE + artificial.ljust( self.JUSTIFY ) + os.linesep )
+ if self.__inst.attributes:
+ attributes = 'attributes: %s'%(self.__inst.attributes)
+ self.writer( ' ' * curr_level * self.INDENT_SIZE + attributes + os.linesep )
+
def __get_method_signature(self, decl=None):
""" Returns function signature: [retval, [arg1, ..., argN]]. """
if None is decl:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|