[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Interface parser
From: |
stefan |
Subject: |
Interface parser |
Date: |
Mon, 26 Jul 2004 16:56:23 +0200 |
User-agent: |
Internet Messaging Program (IMP) 3.2.2 |
Hello,
There are projects parsing Objective-C header files, such as autodoc, gorm or
perhaps others not known. I would like to ask, if there is one that can I use
to query list of instance variables from header files? It does not have to be
idiot-proof, it just have to accept decent source code.
I want to get list of variables + their types. Best thing would be to be able to
get additional information, perhaps present in comments after each variable.
Can be existing conde extracted from those projects and reused as stand-alone
parser class? Does anyone have exact pointers to where I should look?
Besides other reasons for this is, that i would like to focus on application
development, not on writing/checking all methods that can be generated. It
takes me lots of time to maintain all those methods, mainly when I am in stage
where the code is 'hot' and I do change/rename class structure quite often.
Therefore i have decided to at least try to write kind of source code generator
for: accessors, dealloc method, encoding and decoding. Reason for generator for
encoding methods is also fact, that GNUstep DO does not support keyed archiving
yet.
I hope to save a bit of time with this.
Thanks,
Stefan Urbanek
- Interface parser,
stefan <=