« Return to Thread: How to define the tokens dynamically?

How to define the tokens dynamically?

by imp :: Rate this Message:

Reply to Author | View in Thread

Hi all,
the following is a snippet of TOKEN section of a .jj file;

TOKEN :.
{
< article: "a"|"an"|"the" >
}


Rather than hardcoded I want the tokens to be populated from a table/database/xml/csv .
.
Please inform whether i can specify this in the .jj file??
Please inform if you know any other way(by editing the generated java class or any thing else)
thanks;
imp

 « Return to Thread: How to define the tokens dynamically?