[antlr-interest] A way to reuser Lexer, Parser and TreeWalker instances?
Matt Benson
gudnabrsam at yahoo.com
Thu Apr 17 07:08:26 PDT 2003
Actually, once you've changed the text of the lexer,
you should be able to reinvoke the parser rule with no
complications. Don't know about the TreeWalker.
-Matt
--- oneway_111 <oneway_111 at yahoo.com> wrote:
> Hi,
>
> Is there a way to reuser Lexer, Parser and
> TreeWalker instances
> between invocations?
>
> With Lexer it perhaps could be done with
> Lexer.setText() but it
> appears to be more tricky for Parser and TreeWalker.
>
> Any ideas? Thanks
>
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list