|
From: Noah S. <sh...@ga...> - 2011-08-10 13:00:55
|
Hi, I haven't used generics too heavily in FPC yet, but it's nice to know they are being handled properly in PasDoc. (I am kind-of hoping they escape the only unit they are in now and become more common before I feel safe using them everywhere). Thank you, Noah Silva 2011/8/8 Michalis Kamburelis <mic...@gm...> > Hi, > > I recently converted my game engine to heavily use FPC generics, so of > course I needed PasDoc to properly support them too :) Done. Both FPC > and Delphi generics flavor is now fully handled by PasDoc as far as I > know. Both specialization of generics, and declaring generic classes, > work. > > Also, hierarchy of FPC FGL containers (TFPSList, TFPGList and friends) > is added to the default knowledge of PasDoc "external classes > hierarchy", so they'll show up nicely in "Class Hierarchy" diagrams > too. > > The whole thing was tested on (much extended now) tests/ok_generic.pas > (and my sources). > > There are of course little things to improve (the types on type > identifiers list "<T1,T2>", could be parsed better and added to the > internal types of the class; OTOH, they will have to be treated > specially anyway, as these types are not defined at the generic > declaration --- that's the whole point of generics, after all). But I > think that the result looks acceptable already :) > > Enjoy :), > Michalis > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Pasdoc-main mailing list > Pas...@li... > https://lists.sourceforge.net/lists/listinfo/pasdoc-main > |