Memory Class apply on Function but also on variables. The common class for both type is FAMIXNamedEntity. Is it a good idea to define an instance variable 'memoryClass' in this class ?

2010/1/25 Cyrille Delaunay <cy.delaunay@gmail.com>
Ok, let's see :)

2010/1/25 Alexandre Bergel <alexandre@bergel.eu>

Yes Cyrille, it would be great.
Do you want to give a try? Let us know when done. I will review the code.
Do not forget unit tests :-)

Cheers,
Alexandre


On 25 Jan 2010, at 06:19, Cyrille Delaunay wrote:

Hello,

A thing it would be cool to retrieve from C code for a function, is the thing called 'Memory class'. It is the word prefixing a function declaration:
- global
- local
- static
- extern
- register

I have looked at a xml file generated with srcml and a function is declared like that:
        <function><type><name>static</name> <name>void</name></type> ...

So it seems to be quite simple to retrieve, what do you think ?
_______________________________________________
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