Re: [SrcML] static analyzis
Status: Beta
Brought to you by:
crashchaos
From: Frank R. <fra...@in...> - 2005-05-29 21:52:56
|
On Sun, May 29, 2005 at 11:47:12PM +0200, Leif Bladt wrote: > >So if I understand that correctly the AnalyzerPlatform still only > >has a execute() method without parameters, but implicitly calls > >the plugin with execute(getDocuments()) ? > exactly. Do you see any problems with this? not at all. just wanted to make sure. > >Sounds good. Although you could do the same for the View too. The > >Vector of SrcML documents has to be created 'somewhere'. In your > >case the AnalyzerPlatform takes care of it and in the case of the > >ViewPlatform the callee would have to use the same Vector for every > >chosen ViewPlugin. But from a design point of view your solution > >looks better to me as it's emphasizing the platform concept more > >clearly. > ok, but this could take 'til wednesday. I was not suggesting you change anything. We should rather discuss if it's worth to restructure the ViewPlatform the way the AnalyzerPlatform works to get a more unified interface for handling the SrcML documents in those platforms. -- Raiser, Frank Student @ University of Ulm (www.uni-ulm.de) Software is like sex: It's better when it's free. (Linus Torvalds) |