[Uml-devel] codegenerators

Luis De la Parra Blum lparrab at gmx.net
Thu Apr 3 16:12:37 UTC 2003


On Friday 04 April 2003 01:21, Gustavo Madrigal wrote:
> I have been checking ctags (http://ctags.sourceforge.net), this app
> generates an index (a file with a tag per line) of objects (functions,
> classes, etc) found in source files. What I like about it is that it
> supports 33 languages, and it can be used to minimize the amount of work
> when parsing source files. It can tell you in which line a function is
> defined, in which file and then all you have to do is write your a function
> parser (parse the function definition until it is over, without worrying
> about any function bodies. The same applies to class declarations, etc.

ctags is an excellent tool for source navigation (right click in kdevelop on 
and select "go to declaration" )

>
> Plus, when you are generating code from umbrello, each tag could be used as
> a link between the UMLObject and the corresponding code, so changes to
> class names of method names in diagrams can be propagated to code.
>
> Comments?

well.. like I said, ctags is a great tool, but I dont understand how you want 
to use it here...  are you talking about code generation, or code importing, 
or both?, and how does this relate to merging?
maybe you could explain this a bit more...

luis




More information about the umbrello-devel mailing list