Thomas E Enebo wrote:
> In the above code snippet to find Dir class AST we would need two
> references. So I think this task is problematic. If you consider
> that builtin classes do not have an AST at all (they are implemented
> entirely in Java) then there may not even be an AST for a class.
Lukas, On 6/6/06, Lukas Felber <[EMAIL PROTECTED]> wrote:
Thomas E Enebo wrote:> We do not directly link back to AST from an object (if this is what> you are asking). That would not work well since multiple AST nodes could> reference the same object.>
Ok I think I expressed myself a bit bad. I'l
> 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
>
On Tue, 06 Jun 2006, Lukas Felber defenestrated me:
> Thomas E Enebo wrote:
> > On Mon, 29 May 2006, Lukas Felber defenestrated me:
> >
> >> I (Lukas Felber) am one of the three Swiss guys working on refactorings
> >> for the RDT eclipse plugin.
> >>
> >> I have a Question concerning the common
Thomas E Enebo wrote:
> On Mon, 29 May 2006, Lukas Felber defenestrated me:
>
>> I (Lukas Felber) am one of the three Swiss guys working on refactorings
>> for the RDT eclipse plugin.
>>
>> I have a Question concerning the common Classes of Ruby (like Object or
>> String). Is there a way to ge
On Mon, 29 May 2006, Lukas Felber defenestrated me:
>
> I (Lukas Felber) am one of the three Swiss guys working on refactorings
> for the RDT eclipse plugin.
>
> I have a Question concerning the common Classes of Ruby (like Object or
> String). Is there a way to get to the JRuby Ast of those cl