Beginners question
pokeahontas opened this issue · comments
Hi,
I've stumbled upon JRubyParse because I need to do some static analysis on huge ruby on rails projects(~1000 ruby files). I need to extract all defined classes+ defined methods and I need to make a function call graph (not visually, as a list). So basically I need to recognize classes/modules, functions, and also function calls. I wanted to ask if you think it is possible/makes sense doing this with your parser?
Also is there any documentation on how to use it? How can I rewrite? I'm planning to use the java jar.
Edit: To also make a concrete question, when the parser visits/recognizes a FCallNode how can I extract function name and parameters(to afterwards save them as string)?
Thanks for reading and kind regards,
Alexander