support for multiple file anchors in Famix

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

support for multiple file anchors in Famix

Usman Bhatti
Name: Famix-SourceAnchor-usmanbhatti.44
Author: usmanbhatti
Time: 8 August 2014, 3:43:01.966938 pm
UUID: 2e5e4d96-f927-4a96-9b6e-e8f0e1507eae
Ancestors: Famix-SourceAnchor-VincentBlondeau.43

adding FAMIXMultiFileAnchor, a source anchor for entities defined in multiple files. It has a collection of FAMIXFileAnchor objects which point to the individual definition files. It makes sure not to duplicate FAMIXFileAnchor with similar names/paths to optimize memory. SourceText returns the string of all FileAnchor contents with a separator line  between them. 
To create, Use FAMIXSourcedEntity>>defineMultiSourceAnchorWithPath:. See tests.

Name: Famix-Tests-Core-usmanbhatti.46
Author: usmanbhatti
Time: 8 August 2014, 3:45:48.287238 pm
UUID: 18bdabf9-815a-49b4-b0bd-7716f1220436
Ancestors: Famix-Tests-Core-TudorGirba.45

adding tests for multiple file anchor.

======================

Moose build is as unstable at it was before this change.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev