How do I broadcast debug events to multiple listeners?(ANTLR 3)
Use the org.antlr.runtime.DebugEventHub class. Imagine that you want to build parse trees as in How can I build parse trees not ASTs? but you also want to pass the events to ANTLRWorks for interactive debugging. You need to use a hub that broadcasts events ...