« Return to Thread: Access to token stream while parsing,

Re: Access to token stream while parsing,

by Tom Copeland :: Rate this Message:

Reply to Author | View in Thread


On Apr 27, 2009, at 12:05 AM, Michel Trudeau wrote:

> My apologies if that is a really basic question but:
>
> How can I save the list of tokens while parsing the input?

Another approach is to use the new TRACK_TOKENS option; there is some  
documentation on using that options here:

https://javacc.dev.java.net/doc/JJTree.html

Yours,

Tom
http://generatingparserswithjavacc.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Access to token stream while parsing,