Saturday, 27 December 2014

How to extract Variables and Method using source code C



D


I need to extract variables e methods in code C. I want export to xml


Code C.


e.g.



include <stdio.h>
char a,b;
int main(void){}
int method1(){}


XML or similar.


my output:



<"Variable">
<"Char", "a">
<"Char", "b">
<"/Variable">

<"method">
<"main">
<"method1">
<"/method">


Please, help-me =)


No comments:

Post a Comment