[antlr-interest] «throws-spec» in Rules

Alexander Gängel alexander at gaengel.de
Fri Mar 14 09:22:19 PDT 2008


In the Antlr Book 4.3 Rules it says there can be an «throws-spec» and an 
«exceptions-spec»

but I don't find an example how to use these.

I would like to throw my own exception inside my Tree grammar if some 
actions fail.

Thanks for your help.

Alexander


More information about the antlr-interest mailing list