Hi

On Friday 03 October 2008 10:25:43 पंक्ज एम. तोलानी wrote:
> I am re-using ./src/org/jruby/ast/visitor/rewriter/ReWriteVisitor.java
> for my ruby script parsing needs. I had query regarding the DefnNode
> received in visitDefnNode(). the DefnNode does not seem to have the
> right visibility value. It is always PRIVATE irrespective of whether my
> method is private, protected or public. Am I missing something?

I'm not sure I understand you correctly: you are writing source code and you'd 
expect the ReWriter to print out a private or protected section, is that 
correct? If so (and if I remember correctly), the ReWriter doesn't do that 
for you; the source code wouldn't look very nice if every method had its own 
private, etc. section.

I hope this helps, 

Regards

Mirko

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to