Promote parentScope to be container in FAMIXFunction Sorry if it was not clear.
Maybe you can have a look at Famix-Core-AlexandreBergel.215 to double check everything is fine
Alexandre
On Jun 6, 2013, at 3:43 PM, Tudor Girba tudor@tudorgirba.com wrote:
What is done? :)
Doru
On Thu, Jun 6, 2013 at 9:13 PM, Alexandre Bergel alexandre.bergel@me.com wrote: Done in Famix-Core-AlexandreBergel.215
Alexandre
On May 3, 2013, at 10:37 AM, Tudor Girba tudor@tudorgirba.com wrote:
Hi,
We should promote parentScope to be container in FAMIXFunction.
As for attaching the source anchor, take a look at FAMIXSourceAnchor and its subclasses.
You should also take care of setting the language for your entities. For this, take a look at FAMIXSourceLanguage and its subclasses.
And a question: is the parser available as open-source?
Cheers, Doru
On May 3, 2013, at 12:39 AM, Alexandre Bergel alexandre.bergel@me.com wrote:
Hi!
We are currently trying to analyze JavaScript code in Moose. We have a working parser to generate .mse files. The parser extract for each JavaScript function its position in the source code, its amount of lines of code, incoming and outgoing invocations. We also have the nesting between functions. How can we represent this in Famix? A famix function can have a parent scope, but a parent scope can either be a package or a namespace, and not a function. Any hint ?
Another question. How can we link the source code to the famix model?
Help appreciated
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every now and then stop and ask yourself if the war you're fighting is the right one."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow" _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev