From: Hans-Peter D. <DrD...@ao...> - 2009-01-12 02:41:57
|
SourceForge.net schrieb: > In Delphi 2009, Generics where introduced using a syntax like > > type TMyList = TObjectList<MyClass> > > This creates an TObjectList descendant using Items of MyClass. > > Also you may inherit like > > type TMyList = class(TObjectList<MyClass>) {...} end; > > Unfortunately, PasDoc ist not able to parse these files because of > the "<" and ">". Therefore, the whole file is not included in the > documentation. All that is needed is to treat "<" and ">" as part of > the class-name. You're welcome to provide the according grammar, so that the parser can be updated accordingly. Then we should agree about the usage of the new items, so that the generators can be updated. > Hopefully, this will be fixed soon. This depends... D2009 has more extensions to the grammar (local types...), for which a grammar is required. PasDoc2 already has provisions to handle such extensions, but any implementation deserves a grammar in the first place, followed by a decision about the representation of the added elements. DoDi |