On Tue, 2009-02-03 at 07:08 -0800, Norris Boyd wrote:
> On Feb 3, 6:16 am, Charles Lowell <[email protected]> wrote:
> > On Feb 1, 5:17 pm, Charles Lowell <[email protected]> wrote:
> >
> > > Hi,
> >
> > > I can't seem to get the actual value of the comments out of a parse
> > > tree without doing the offset/length math. Is this by design? Wouldn't
> > > it be more useful to be able to have comment.getValue() or
> > > comment.getText() to return the actual text of the comment minus the
> > > delimiters?
> >
> > > I'd be happy to give implementing this a shot if that's the eventual
> > > plan.
> >
> > > cheers,
> > > Charles
> >
> > Any takers?
> 
> I forwarded your question to the creator of the AST interface. He's
> doing a big refactoring of the new AST code so it's a smaller delta
> from previous Rhino versions, so perhaps it's worth waiting for that
> refactoring to be complete.

Is there a snapshot of the refactoring available? I didn't find anything
in the CVS. And I would like to know if the interface is changed to 
utilize method signatures instead of down casting every Node to the most
generic interface. 

thanks,

Norbert

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to