but can you import the XML into Moose?

nicolas

On 15/10/12 15:31, Santiago Vidal wrote:
Hi,
I've finally solved my problem using an AST parser. Specifically I find that srcML (http://www.sdml.info/projects/srcml/) parses Java source code and then it creates a XML file. The XML file can also  be transformed into Java source code again. 
You can find my solution in http://ss3.gemstone.com/ss/SPIRIT.html into the category Spirit-JavaParser. 
JavaMethodParser initializeWith: aFamixMethod returns the parsed method (you need to link the model with the root folder that contains the source code)
Cheers

  Santiago