How to define the tokens dynamically?
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