BNF for VersionParser.jj

TOKENS

<DEFAULT> TOKEN : {
<INTEGER: (["0"-"9"])+>
| <SEPARATOR: [".","_","-","@","/","\\"," ","\t","\n","\r","\f","\b","\"","\'"]>
| <IDENTIFIER: (~[".","_","-","@","/","\\"," ","\t","\n","\r","\f","\b","\"","\'","0"-"9"])+>
}

   

NON-TERMINALS

Version ::= Token ( ( <SEPARATOR> )* Token )* <EOF>
Token ::= <INTEGER>
| <IDENTIFIER>