Trying to understand what I can do with this

Jan 23, 2010 at 1:58 AM

This seems very close to what I want.

What i'm looking for is a parser that will build an object hierarchy from a code file like

Namespace n1{class c1{} class c2{}}

will give me an object graph with a Namespace object and two class objects as children.

Your code gets me all the tokens, does it build an object graph for possible analysis (are there more than one classes in this file, are there methods in this file, etc)


Jan 23, 2010 at 2:06 AM

nevermind, I see the tree being built in the unit test