Is there a python or ruby library to create a code outline for the given code? The library should support multiple languages.
I am looking for something like outline view in Eclipse. I don't need the UI, and i can write my own. But I am looking for a library which parses the given language and creates an outline datastructure.