>   My only other thought is you could create a visitor which walks all the
> ASTs you want to potentially refactor and then build your own set of
> references so you can ask a question like getAstNode(ClassName, MethodName)
> or getAstNode(ClassName) and get back what you want.  My first example
> shows that this may not give back exactly what you want since you may
> have multiple versions of intialize for a particular class (as an example).

And RDT actually does this already. Take a look at SymbolIndex (I think that's 
what it's called.  He simply (hah:) needs to marry AST information into the 
index.

>
> -Tom


_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to