[antlr-interest] What are channels and what are they used for?

Luke A. Guest laguest at archangeli.co.uk
Tue Jun 5 06:58:33 PDT 2007


On Tue, 2007-06-05 at 13:29 +0200, Johannes Luber wrote:
> Luke A. Guest wrote:
> > Hi,
> > 
> > I think the subject says it all really, I have come across it, but don't
> > know what it's all about? Can anyone enlighten me?
> 
> The channels are supposed to make tokens invisible so one doesn't have
> to deal e.g. with whitespace in the parser. It is possible to access
> those hidden tokens, but I didn't figure out how to to do that exactly.

Is that all it's used for? I would've thought there'd be more to it than
that.

Thanks,
Luke.




More information about the antlr-interest mailing list