[antlr-interest] DebugParser constructors
Terence Parr
parrt at cs.usfca.edu
Thu Jun 28 16:47:26 PDT 2007
On Jun 26, 2007, at 8:06 AM, Thomas Brandon wrote:
> Would it be possible for debug parsers to delegate the public
> DebugParser(TokenStream input, DebugEventListener dbg) constructor. So
> you can provide a tracing listener, or a listener that doesn't block
> on socket. Saves having to keep switching debug on and off when doing
> some debugging in AW. Adding through members would break when
> debugging wasn't used.
I pass in the parse tree builder and other stuff without sockets all
the time. I am not sure what you mean here by delegating constructor.
Ter
More information about the antlr-interest
mailing list