Simon and I added a SourceAnchor, however some work is still necessary.
We will probably have something to show at Sattose.
Cheers,
Alexandre
On 13 Apr 2009, at 11:50, Tudor Girba wrote:
Hi Alex,
I noticed
that FAMIXEntity has a comments property that points to
a collection of Strings. We should instead have a FAMIXComment
entity that also has a sourceAnchor.
In my previous mail, I forgot to mention that FAMIXEntity already
has a sourceAnchor variable, no need for the comment to have one
therefore.
That is what I meant.
Speaking about source code, I guess that
FAMIXSourceAnchor shoud be
made abstract. Subclasses will particularize source location. As
subclasses of FAMIXSourceAnchor, I see:
- PharoAnchor: the code has to be accessible from the Pharo meta
model (e.g., CompiledMethod>>getSource,
ClassDescription>>definitionST80)
- FileAnchor: a file stored on the hard disk. This class should
have a beginIndex and endIndex to designate portion only
Easy to envision a SVNAnchor, SqueakSourceAnchor, ...
Everybody is fine with this proposal?
Definitely.
Cheers,
Doru
--
www.tudorgirba.com
"Every thing should have the right to be different."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.