I'm trying to read a collection of classes using your grammar. I'm adding some rules and I wonder if you could help me reading identifiers.
The code I wrote obviously doesn't work since "identifier" is not a token:
(identifier '<') => identifier generic_argument_list
if( mCurrentClass != null )
mCurrentClass.Name = $identifier.Text;
$identifier.Text is not valid.
What should I do?