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.

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

Reply via email to