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 classes. I know > how I can create an Ast out of a file I have. Do I need to know where > the Rubyfile for a Class (e.g. String) lies to get to the Ast of the > Class or is there an other way?
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. In ThreadContext we do have a reference to the current position of evaluation in the thread it represents. I am not sure if this would be useful for your purposes or not. -Tom -- + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+ | Thomas E Enebo, Protagonist | "Luck favors the prepared | | | mind." -Louis Pasteur | ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
