[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gccxml
Subject:    [GCC-XML]C++ refactorer tool ?
From:       Philippe FREMY <P.FREMY () OBERTHURCS ! com>
Date:       2003-01-06 14:17:46
Message-ID: 191CBBF91062D411855D00D0B76F1C30010F3440 () PROXIMA
[Download RAW message or body]


	Hi,

I have the idea floating around of a C++ refactorer tool. Would gcc-xml be
suitable for that ?

The constraint for a refactorer tool is that the must know all the
structures defined by the program (class, functions, methods, variables,
structures, arguments, ...) and more importantely where they are defined in
the source (file, line, column).

After that, the tool is more or less a walker. Once all the references to,
let's say a method have been found, renaming it is quite simple.

I also have in mind a kind of report tool that would try to estimate the
complexity of a program, by counting the number of classes, average number
of methods per classes and stuff like that. For this one, it seems that
gcc-xml is the perfect tool, isn't it ?

	regards,

	Philippe

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic