[antlr-interest] Are token aliases possible?

Sam Barnett-Cormack s.barnett-cormack at lancaster.ac.uk
Fri Oct 28 04:19:42 PDT 2011


I think the immediate answer is, "why?"

On 28/10/2011 09:02, Christian wrote:
> Hi community,
>
> if there is a real token, say
>      CLASS : 'class';
> can a define an alias, say
>      CLASS_DECL = CLASS
> in some way?
>
> Regards,
> Christian
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address


More information about the antlr-interest mailing list